From 55c66514c6e03bc731c7f5ae4d6f6a1e1d1ab601 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Tue, 15 Dec 2015 19:53:18 +0100 Subject: Separate widgets into primary and augmenting items --- src/widget/Highlighter.qml | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 src/widget/Highlighter.qml (limited to 'src/widget/Highlighter.qml') diff --git a/src/widget/Highlighter.qml b/src/widget/Highlighter.qml deleted file mode 100644 index 53f308c..0000000 --- a/src/widget/Highlighter.qml +++ /dev/null @@ -1,24 +0,0 @@ -import QtQuick 2.0 - -Item { - function select() { bar.opacity = 1 } - function deselect() { bar.opacity = 0 } - function focus() { bar.color = settings.highlighter.focusColor } - function unfocus() { bar.color = settings.highlighter.defaultColor } - - Rectangle { - id: bar - - anchors.fill: parent - - opacity: 0 - color: settings.highlighter.defaultColor - - Behavior on opacity { - NumberAnimation { - duration: 300 - easing.type: Easing.OutCubic - } - } - } -} -- cgit v1.2.3