Item {
id: toolbar
property bool updatePending: false
+ property bool displayIcons: true
+ property bool displayNavigation: false
+ property int componentHeight: toolbar.height
signal reloadButtonClicked
signal downButtonClicked
height: parent.height
anchors.left: parent.left
color: "#00000000"
+ visible: toolbar.displayIcons
Image {
id: reloadButton
height: parent.height
anchors.right: parent.horizontalCenter; anchors.horizontalCenterOffset: -60;
color: "#00000000"
+ visible: (toolbar.displayIcons && toolbar.displayNavigation)
Image {
id: downButton
height: parent.height
anchors.left: parent.horizontalCenter; anchors.horizontalCenterOffset: 60;
color: "#00000000"
+ visible: (toolbar.displayIcons && toolbar.displayNavigation)
Image {
id: upButton
}
}
+
+
Rectangle {
id: newsButtonArea
width: 60
height: parent.height
anchors.right: parent.right
color: "#00000000"
+ visible: toolbar.displayIcons
Image {
id: newsButton
PropertyChanges { target: newsButtonArea; color: "#9a9a9a"}
}
}
+
}