diff options
author | Antti Hölttä <AHoelttae@luxoft.com> | 2018-12-18 11:38:37 +0100 |
---|---|---|
committer | Antti Hölttä <AHoelttae@luxoft.com> | 2019-03-18 16:34:23 +0100 |
commit | d40b79cb1d3304f113df3091662760f585ee389e (patch) | |
tree | 70fb2d77ad5bd8026f487cb39322e8c587ca24ee /DemoApplication/controls/CNToolButton.qml | |
parent | fe5883489b5fffc2a833daa4d6a18cef1ac10696 (diff) |
Add more features for the demo app
Add a common cursor indicator item that all navigable items may
use for visualizing the cursor.
Add a cursor navigable delegate.
Make lists more generic by adding a CNItemDelegate.
Add CNFlipButton that has flipping animations when used with
CursorNavigation. Update Page4 with the new button type.
Diffstat (limited to 'DemoApplication/controls/CNToolButton.qml')
-rw-r--r-- | DemoApplication/controls/CNToolButton.qml | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/DemoApplication/controls/CNToolButton.qml b/DemoApplication/controls/CNToolButton.qml index 65f2338..2da3a31 100644 --- a/DemoApplication/controls/CNToolButton.qml +++ b/DemoApplication/controls/CNToolButton.qml @@ -4,11 +4,5 @@ import CursorNavigation 1.0 ToolButton { CursorNavigation.acceptsCursor: true - Rectangle { - anchors.fill: parent - color: "transparent" - border.width: 2 - border.color: "red" - visible: parent.CursorNavigation.hasCursor - } + CNCursorIndicator { cursorItem : parent } } |