X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=HomeScreenNG%2Fqml%2FShortcutIcon.qml;fp=HomeScreenNG%2Fqml%2FShortcutIcon.qml;h=0000000000000000000000000000000000000000;hb=4088de47844451c7b331a612d41a0ec5fc7db53a;hp=84550d9e120869ca3cdbd78b44b70dc20be67324;hpb=3b66010c1f381f397e827209727742daf642e7fd;p=staging%2FHomeScreen.git diff --git a/HomeScreenNG/qml/ShortcutIcon.qml b/HomeScreenNG/qml/ShortcutIcon.qml deleted file mode 100644 index 84550d9..0000000 --- a/HomeScreenNG/qml/ShortcutIcon.qml +++ /dev/null @@ -1,37 +0,0 @@ -import QtQuick 2.6 - -MouseArea { - id: root - width: 195 - height: 216.8 - property string name: 'Home' - property bool active: false - Image { - id: icon - anchors.fill: parent - source: './images/Shortcut/HMI_Shortcut_%1-01.png'.arg(root.name) - } - Image { - anchors.fill: parent - source: './images/Shortcut/HMI_Shortcut_%1_Active-01.png'.arg(root.name) - opacity: 1.0 - icon.opacity - } - states: [ - State { - when: root.active - PropertyChanges { - target: icon - opacity: 0.0 - } - } - ] - - transitions: [ - Transition { - NumberAnimation { - properties: 'opacity' - easing.type: Easing.OutExpo - } - } - ] -}