From d8431223d34476a17835a05d9508e92447f22479 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Sat, 15 Aug 2015 16:06:00 +0200 Subject: Restructure QML and JS sources `list` holds the components of the central list UI element. `command` holds the UI and implementation parts of the command mode. `widget` holds more or less general purpose elements that may also be of use in other circumstances. --- qml/Highlighter.qml | 33 --------------------------------- 1 file changed, 33 deletions(-) delete mode 100644 qml/Highlighter.qml (limited to 'qml/Highlighter.qml') diff --git a/qml/Highlighter.qml b/qml/Highlighter.qml deleted file mode 100644 index e42aeb1..0000000 --- a/qml/Highlighter.qml +++ /dev/null @@ -1,33 +0,0 @@ -import QtQuick 2.0 -import Qt.labs.settings 1.0 - -Item { - Settings { - id: settings - category: "highlighter" - - property string defaultColor : "#909636" - property string focusColor : "#352F6A" - } - - function select() { bar.opacity = 1 } - function deselect() { bar.opacity = 0 } - function focus() { bar.color = settings.focusColor } - function unfocus() { bar.color = settings.defaultColor } - - Rectangle { - id: bar - - anchors.fill: parent - - opacity: 0 - color: settings.defaultColor - - Behavior on opacity { - NumberAnimation { - duration: 300 - easing.type: Easing.OutCubic - } - } - } -} -- cgit v1.2.3