diff options
author | 2016-12-14 11:58:20 +0100 | |
---|---|---|
committer | 2016-12-14 11:58:20 +0100 | |
commit | c5f5ce84f3991b02bdd9472d63b56fdbaf1a6c65 (patch) | |
tree | 5ed63c078d19b55aa1bcc5b21775689baf929dc6 /HomeScreen/qml/ShortcutIcon.qml | |
parent | 4f911d73e2a9a18c3d273b5deb3f1fc952ee68d2 (diff) |
Home screen translation changes
Signed-off-by: Philippe Lelong <lelong.ph@meltemus.com>
Diffstat (limited to 'HomeScreen/qml/ShortcutIcon.qml')
-rw-r--r-- | HomeScreen/qml/ShortcutIcon.qml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/HomeScreen/qml/ShortcutIcon.qml b/HomeScreen/qml/ShortcutIcon.qml index 299f6a8..34ade01 100644 --- a/HomeScreen/qml/ShortcutIcon.qml +++ b/HomeScreen/qml/ShortcutIcon.qml @@ -16,6 +16,7 @@ */ import QtQuick 2.2 +import QtQuick.Controls 1.0 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 } + 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 |