aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--components/TextBlock.qml7
-rw-r--r--qml.qrc1
2 files changed, 8 insertions, 0 deletions
diff --git a/components/TextBlock.qml b/components/TextBlock.qml
new file mode 100644
index 00000000..7c36088a
--- /dev/null
+++ b/components/TextBlock.qml
@@ -0,0 +1,7 @@
+import QtQuick 2.0
+
+TextEdit {
+ wrapMode: Text.Wrap
+ readOnly: true
+ selectByMouse: true
+}
diff --git a/qml.qrc b/qml.qrc
index 5c0bb707..6c511d34 100644
--- a/qml.qrc
+++ b/qml.qrc
@@ -140,5 +140,6 @@
<file>components/QRCodeScanner.qml</file>
<file>components/Notifier.qml</file>
<file>components/MobileHeader.qml</file>
+ <file>components/TextBlock.qml</file>
</qresource>
</RCC>