Code Review
/
staging
/
HomeScreen.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Add logout button in home screen
[staging/HomeScreen.git]
/
HomeScreen
/
qml
/
ShortcutIcon.qml
diff --git
a/HomeScreen/qml/ShortcutIcon.qml
b/HomeScreen/qml/ShortcutIcon.qml
index
299f6a8
..
34ade01
100644
(file)
--- a/
HomeScreen/qml/ShortcutIcon.qml
+++ b/
HomeScreen/qml/ShortcutIcon.qml
@@
-16,6
+16,7
@@
*/
import QtQuick 2.2
*/
import QtQuick 2.2
+import QtQuick.Controls 1.0
MouseArea {
id: root
MouseArea {
id: root
@@
-33,6
+34,16
@@
MouseArea {
source: './images/Shortcut/HMI_Shortcut_%1_Active-01.png'.arg(root.name)
opacity: 1.0 - icon.opacity
}
source: './images/Shortcut/HMI_Shortcut_%1_Active-01.png'.arg(root.name)
opacity: 1.0 - icon.opacity
}
+ Label {
+ id: labelName
+ anchors.horizontalCenter: parent.horizontalCenter
+ horizontalAlignment: Text.AlignHCenter
+ y: 155
+ font.pixelSize: 20
+ font.family: "Roboto"
+ color: "white"
+ text: '%1'.arg(model.label)
+ }
states: [
State {
when: root.active
states: [
State {
when: root.active