aboutsummaryrefslogtreecommitdiffstats
path: root/DemoApplication/controls/CNTabButton.qml
diff options
context:
space:
mode:
Diffstat (limited to 'DemoApplication/controls/CNTabButton.qml')
-rw-r--r--DemoApplication/controls/CNTabButton.qml14
1 files changed, 14 insertions, 0 deletions
diff --git a/DemoApplication/controls/CNTabButton.qml b/DemoApplication/controls/CNTabButton.qml
new file mode 100644
index 0000000..7557832
--- /dev/null
+++ b/DemoApplication/controls/CNTabButton.qml
@@ -0,0 +1,14 @@
+import QtQuick 2.9
+import QtQuick.Controls 2.2
+import CursorNavigation 1.0
+
+TabButton {
+ CursorNavigation.acceptsCursor: true
+ Rectangle {
+ anchors.fill: parent
+ color: "transparent"
+ border.width: 2
+ border.color: "red"
+ visible: parent.CursorNavigation.hasCursor
+ }
+}