Buttons on the top bar
This commit is contained in:
@@ -18,7 +18,7 @@ import QtQuick.Controls.Material
|
||||
RowLayout
|
||||
{
|
||||
id: topBar
|
||||
|
||||
spacing: 0
|
||||
height: 35
|
||||
width: parent.width
|
||||
|
||||
@@ -33,20 +33,15 @@ import QtQuick.Controls.Material
|
||||
Button
|
||||
{
|
||||
id: dashBoard
|
||||
// implicitWidth: 65
|
||||
// implicitHeight: 25
|
||||
// background: Rectangle
|
||||
// {
|
||||
// border.color: "#f6f6f6"
|
||||
// border.width: 1
|
||||
// radius: 4
|
||||
// }
|
||||
implicitWidth: 85
|
||||
hoverEnabled: true
|
||||
highlighted: true
|
||||
flat: true
|
||||
background: Rectangle
|
||||
{
|
||||
color: Material.primary
|
||||
radius: 8
|
||||
color: dashBoard.down? Material.accent: Material.primary
|
||||
border.color: dashBoard.hovered? "lightgrey": "transparent"
|
||||
radius: 0
|
||||
}
|
||||
|
||||
Text
|
||||
@@ -55,23 +50,19 @@ import QtQuick.Controls.Material
|
||||
anchors.centerIn: parent
|
||||
}
|
||||
}
|
||||
|
||||
Button
|
||||
{
|
||||
id: kunden
|
||||
// implicitWidth: 65
|
||||
// implicitHeight: 25
|
||||
// background: Rectangle
|
||||
// {
|
||||
// border.color: "#f6f6f6"
|
||||
// border.width: 1
|
||||
// radius: 4
|
||||
// }
|
||||
implicitWidth: 85
|
||||
hoverEnabled: true
|
||||
highlighted: true
|
||||
flat: true
|
||||
background: Rectangle
|
||||
{
|
||||
color: Material.primary
|
||||
radius: 8
|
||||
color: kunden.down? Material.accent: Material.primary
|
||||
border.color: kunden.hovered? "lightgrey": "transparent"
|
||||
radius: 0
|
||||
}
|
||||
|
||||
Text
|
||||
@@ -83,20 +74,15 @@ import QtQuick.Controls.Material
|
||||
Button
|
||||
{
|
||||
id: objekt
|
||||
// implicitWidth: 65
|
||||
// implicitHeight: 25
|
||||
// background: Rectangle
|
||||
// {
|
||||
// border.color: "#f6f6f6"
|
||||
// border.width: 1
|
||||
// radius: 4
|
||||
// }
|
||||
implicitWidth: 85
|
||||
hoverEnabled: true
|
||||
highlighted: true
|
||||
flat: true
|
||||
background: Rectangle
|
||||
{
|
||||
color: Material.primary
|
||||
radius: 8
|
||||
color: objekt.down? Material.accent: Material.primary
|
||||
border.color: objekt.hovered? "lightgrey": "transparent"
|
||||
radius: 0
|
||||
}
|
||||
|
||||
Text
|
||||
@@ -108,20 +94,15 @@ import QtQuick.Controls.Material
|
||||
Button
|
||||
{
|
||||
id: mitarbeiter
|
||||
// implicitWidth: 65
|
||||
// implicitHeight: 25
|
||||
// background: Rectangle
|
||||
// {
|
||||
// border.color: "#f6f6f6"
|
||||
// border.width: 1
|
||||
// radius: 4
|
||||
// }
|
||||
implicitWidth: 85
|
||||
hoverEnabled: true
|
||||
highlighted: true
|
||||
flat: true
|
||||
background: Rectangle
|
||||
{
|
||||
color: Material.primary
|
||||
radius: 8
|
||||
color: mitarbeiter.down? Material.accent: Material.primary
|
||||
border.color: mitarbeiter.hovered? "lightgrey": "transparent"
|
||||
radius: 0
|
||||
}
|
||||
|
||||
Text
|
||||
@@ -130,24 +111,17 @@ import QtQuick.Controls.Material
|
||||
anchors.centerIn: parent
|
||||
}
|
||||
}
|
||||
|
||||
Button
|
||||
{
|
||||
id: abrechnung
|
||||
// implicitWidth: 79
|
||||
// implicitHeight: 25
|
||||
// //color: button.down ? "#d6d6d6" : "#f6f6f6"
|
||||
// background: Rectangle
|
||||
// {
|
||||
// border.color: "#f6f6f6"
|
||||
// border.width: 1
|
||||
// radius: 4
|
||||
// }
|
||||
implicitWidth: 85
|
||||
hoverEnabled: true
|
||||
background: Rectangle
|
||||
{
|
||||
color: Material.primary
|
||||
radius: 8
|
||||
color: abrechnung.down? Material.accent: Material.primary
|
||||
border.color: abrechnung.hovered? "lightgrey": "transparent"
|
||||
radius: 0
|
||||
}
|
||||
|
||||
Text
|
||||
|
||||
Reference in New Issue
Block a user