summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qml
diff options
context:
space:
mode:
authorGravatar jan Iversen <jani@apache.org>2019-02-11 18:56:02 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-02-03 17:29:51 -0800
commitfb7920ef581f4efb452ab8242166dc211dbb62a8 (patch)
tree6c636ffd704ff6560c2121bfe0346c75ec5418f6 /mobile-widgets/qml
parent3fc2da567bbc0e13c96f8fcbfd2f75fb51147d21 (diff)
downloadsubsurface-fb7920ef581f4efb452ab8242166dc211dbb62a8.tar.gz
mobile-widgets/qml: add TemplatePage
Signed-off-by: Jan Iversen <jani@apache.org>
Diffstat (limited to 'mobile-widgets/qml')
-rw-r--r--mobile-widgets/qml/TemplatePage.qml12
-rw-r--r--mobile-widgets/qml/mobile-resources.qrc1
2 files changed, 13 insertions, 0 deletions
diff --git a/mobile-widgets/qml/TemplatePage.qml b/mobile-widgets/qml/TemplatePage.qml
new file mode 100644
index 000000000..7e940ccef
--- /dev/null
+++ b/mobile-widgets/qml/TemplatePage.qml
@@ -0,0 +1,12 @@
+// SPDX-License-Identifier: GPL-2.0
+import QtQuick 2.12
+import QtQuick.Controls 2.12
+import org.kde.kirigami 2.4 as Kirigami
+
+Kirigami.ScrollablePage {
+ width: parent.width
+ height: parent.height
+ visible: false
+ background: Rectangle { color: subsurfaceTheme.backgroundColor }
+}
+
diff --git a/mobile-widgets/qml/mobile-resources.qrc b/mobile-widgets/qml/mobile-resources.qrc
index 34f9d29e2..8c9c6f1f5 100644
--- a/mobile-widgets/qml/mobile-resources.qrc
+++ b/mobile-widgets/qml/mobile-resources.qrc
@@ -6,6 +6,7 @@
<file>TemplateLabel.qml</file>
<file>TemplateLine.qml</file>
<file>TemplateRadioButton.qml</file>
+ <file>TemplatePage.qml</file>
<file>TemplateSection.qml</file>
<file>TemplateSpinBox.qml</file>
<file>TemplateTextField.qml</file>