aboutsummaryrefslogtreecommitdiffstats
path: root/DemoApplication/Page1Form.qml
diff options
context:
space:
mode:
Diffstat (limited to 'DemoApplication/Page1Form.qml')
-rw-r--r--DemoApplication/Page1Form.qml84
1 files changed, 0 insertions, 84 deletions
diff --git a/DemoApplication/Page1Form.qml b/DemoApplication/Page1Form.qml
deleted file mode 100644
index fb7f09e..0000000
--- a/DemoApplication/Page1Form.qml
+++ /dev/null
@@ -1,84 +0,0 @@
-import QtQuick 2.9
-import QtQuick.Controls 2.2
-import QtQuick.Layouts 1.3
-import CursorNavigation 1.0
-
-Page {
- width: 600
- height: 400
-
- title: qsTr("Page 1")
-
- FocusScope {
- CursorNavigation.acceptsCursor: true
-
- anchors.fill: parent
-
- //this seems to be the way to force focus on a newly opened dialog?
- Component.onCompleted: forceActiveFocus()
-
- Label {
- text: qsTr("You are on Page 1.")
- anchors.centerIn: parent
- }
-
- CNButton {
- id: button
- x: 52
- y: 50
- text: qsTr("Button")
- }
-
- CNButton {
- id: button1
- x: 110
- y: 138
- text: qsTr("Button")
- }
-
- CNButton {
- id: button2
- x: 202
- y: 241
- text: qsTr("Button with default focus")
- focus: true
- }
-
- CNButton {
- id: button3
- x: 383
- y: 241
- text: qsTr("Button")
- }
-
- CNButton {
- id: button4
- x: 383
- y: 322
- text: qsTr("Button")
- }
-
- CNButton {
- id: button5
- x: 383
- y: 138
- text: qsTr("Button")
- }
-
- CNButton {
- id: button6
- x: 383
- y: 50
- text: qsTr("Button")
- }
-
- CNButton {
- id: button7
- x: 62
- y: 241
- text: qsTr("Button")
- }
-
- }
-
-}