6 property alias menuLabel: menuButton.text
7 property alias backLabel: backButton.text
8 property alias prevLabel: prevButton.text
9 property alias nextLabel: nextButton.text
10 property alias markAllLabel: markAllButton.text
11 property alias zoomLabel: zoomButton.text
12 property alias taskSwitcherLabel: taskSwitcherButton.text
14 property alias nextVisible: nextButton.visible
15 property alias prevVisible: prevButton.visible
16 property alias markAllVisible: markAllButton.visible
17 property alias zoomVisible: zoomButton.visible
18 property alias quitVisible: quitButton.visible
19 property alias addVisible: addButton.visible
20 property alias updateVisible: updateFeedButton.visible
22 property bool feedUpdating: false
30 signal taskSwitcherClicked
33 //signal rotateClicked
35 //BorderImage { source: "images/titlebar.sci"; width: parent.width; height: parent.height + 14; y: -7 }
37 anchors.fill: parent; color: "#343434";
53 id: taskSwitcherButton
54 /*anchors.left: parent.left;*/ anchors.leftMargin: 5; y: 3; width: 116; height: 60
55 onClicked: toolbar.taskSwitcherClicked()
56 imageSource: "images/wmTaskLauncherIcon.png"
62 /*anchors.left: taskSwitcherButton.right;*/ anchors.leftMargin: 5; y: 3; width: 60; height: 60
63 onClicked: toolbar.menuClicked()
64 imageSource: "images/wmEditIcon.png"
69 visible: true; /*anchors.left: menuButton.right;*/
70 anchors.rightMargin: 5; y: 3; width: 60; height: 60
71 onClicked: toolbar.addClicked()
72 imageSource: "images/plus.png"
78 visible: false; /*anchors.left: menuButton.right;*/
79 anchors.rightMargin: 5; y: 3; width: 60; height: 60
80 onClicked: toolbar.updateClicked()
81 //imageSource: (!feedUpdating) ? "images/rotate.png" : "images/loading.png"
82 NumberAnimation on iconRotation {
83 from: 0; to: 360; running: (visible == true) && (feedUpdating); loops: Animation.Infinite; duration: 900
86 states : [State {name: "loading"; when: (feedUpdating);
87 PropertyChanges {target: updateFeedButton; imageSource: "images/loading2.png" }
88 }, State { name: "update"; when: (!feedUpdating);
89 PropertyChanges {target: updateFeedButton; iconRotation: 0}
90 PropertyChanges {target: updateFeedButton; imageSource: "images/rotate.png"}
98 /*anchors.left: updateFeedButton.right;*/ anchors.rightMargin: 5; y: 3; width: 60; height: 60
99 onClicked: toolbar.markAllClicked()
100 imageSource: "images/checkmark.png"
106 /*anchors.left: menuButton.right;*/ anchors.rightMargin: 5; y: 3; width: 120; height: 60
107 onClicked: toolbar.prevClicked()
108 imageSource: "images/InputMethodShiftButtonNormal.png"
115 /*anchors.right: backButton.left; */anchors.rightMargin: 5; y: 3; width: 80; height: 60
116 onClicked: toolbar.zoomClicked()
117 imageSource: "images/Zoom-In-icon.png"
123 /*anchors.right: zoomButton.left;*/ anchors.rightMargin: 5; y: 3; width: 120; height: 60
124 onClicked: toolbar.nextClicked()
125 imageSource: "images/InputMethodShiftButtonNormal.png"
131 anchors.rightMargin: 5; y: 3; width: 116; height: 60
132 anchors.right: parent.right
133 onClicked: toolbar.backClicked()
134 imageSource: "images/wmBackIcon.png"
135 visible: !quitButton.visible
141 anchors.rightMargin: 5; y: 3; width: 116; height: 60
142 anchors.right: parent.right
143 onClicked: toolbar.backClicked()
144 imageSource: "images/wmCloseIcon.png"