width: parent.width
NavigationButton {
- iconHeight: Style.heightNavigationButtonIcon
- iconWidth: Style.widthNavigationButtonIcon
- descriptionHeight: Style.heightNavigationButtonDescription
- descriptionWidth: Style.widthNavigationButtonDescription
- color: Style.colourNavigationBarFont
- background: Style.colourNavigationBarBackground
hoverColor: "#993333"
iconCharacter: "\uf0c9"
description: ""
}
NavigationButton {
- iconHeight: Style.heightNavigationButtonIcon
- iconWidth: Style.widthNavigationButtonIcon
- descriptionHeight: Style.heightNavigationButtonDescription
- descriptionWidth: Style.widthNavigationButtonDescription
- color: Style.colourNavigationBarFont
- background: Style.colourNavigationBarBackground
hoverColor: "#dc8a00"
iconCharacter: "\uf015"
description: "Dashboard"
}
NavigationButton {
- iconHeight: Style.heightNavigationButtonIcon
- iconWidth: Style.widthNavigationButtonIcon
- descriptionHeight: Style.heightNavigationButtonDescription
- descriptionWidth: Style.widthNavigationButtonDescription
- color: Style.colourNavigationBarFont
- background: Style.colourNavigationBarBackground
hoverColor: "#dccd00"
iconCharacter: "\uf234"
description:"New Client"
}
NavigationButton {
- iconHeight: Style.heightNavigationButtonIcon
- iconWidth: Style.widthNavigationButtonIcon
- descriptionHeight: Style.heightNavigationButtonDescription
- descriptionWidth: Style.widthNavigationButtonDescription
- color: Style.colourNavigationBarFont
- background: Style.colourNavigationBarBackground
hoverColor: "#8aef63"
iconCharacter: "\uf002"
description: "Find Client"
id: top
property alias iconCharacter: textIcon.text
property alias description: textDescription.text
- property color color: "#ff0000"
- property color background: "#00ff00"
+ property color color: Style.colourNavigationBarFont
+ property color background: Style.colourNavigationBarBackground
property color hoverColor: "#0000ff"
- property real iconWidth: 0
- property real descriptionWidth: 0
- property real iconHeight: 0
- property real descriptionHeight: 0
+ property real iconWidth: Style.widthNavigationButtonIcon
+ property real descriptionWidth: Style.widthNavigationButtonDescription
+ property real iconHeight: Style.heightNavigationButtonIcon
+ property real descriptionHeight: Style.heightNavigationButtonDescription
height: Math.max(iconHeight, descriptionHeight)
width: parent.width