aboutsummaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qml
diff options
context:
space:
mode:
authorGravatar jan Iversen <jani@apache.org>2019-02-11 18:55:18 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-01-19 11:50:19 -0800
commitbd06ec371c24786e6e628cd7e538355a1cda254f (patch)
tree87f632a18b581a490f2c95da4c321243081148a2 /mobile-widgets/qml
parent07c4d94f8a56dcc2e303a6297a14798c6abf3019 (diff)
downloadsubsurface-bd06ec371c24786e6e628cd7e538355a1cda254f.tar.gz
mobile-widgets/qml: add TemplateLine
Signed-off-by: Jan Iversen <jani@apache.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets/qml')
-rw-r--r--mobile-widgets/qml/TemplateLine.qml10
-rw-r--r--mobile-widgets/qml/mobile-resources.qrc1
2 files changed, 11 insertions, 0 deletions
diff --git a/mobile-widgets/qml/TemplateLine.qml b/mobile-widgets/qml/TemplateLine.qml
new file mode 100644
index 000000000..b60b07491
--- /dev/null
+++ b/mobile-widgets/qml/TemplateLine.qml
@@ -0,0 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0
+import QtQuick 2.11
+import QtQuick.Controls 2.4
+import QtQuick.Layouts 1.11
+
+Rectangle {
+ color: "black"
+ height: 1
+ width: parent.width
+}
diff --git a/mobile-widgets/qml/mobile-resources.qrc b/mobile-widgets/qml/mobile-resources.qrc
index 5c408654d..0eba5ea0c 100644
--- a/mobile-widgets/qml/mobile-resources.qrc
+++ b/mobile-widgets/qml/mobile-resources.qrc
@@ -4,6 +4,7 @@
<file>TemplateCheckBox.qml</file>
<file>TemplateComboBox.qml</file>
<file>TemplateLabel.qml</file>
+ <file>TemplateLine.qml</file>
<file>TemplateRadioButton.qml</file>
<file>TemplateSection.qml</file>
<file>TemplateSpinBox.qml</file>