summaryrefslogtreecommitdiff
path: root/gui/qml/BackgroundImage.qml
diff options
context:
space:
mode:
Diffstat (limited to 'gui/qml/BackgroundImage.qml')
-rw-r--r--gui/qml/BackgroundImage.qml15
1 files changed, 15 insertions, 0 deletions
diff --git a/gui/qml/BackgroundImage.qml b/gui/qml/BackgroundImage.qml
new file mode 100644
index 0000000..86b8cba
--- /dev/null
+++ b/gui/qml/BackgroundImage.qml
@@ -0,0 +1,15 @@
+import QtQuick 2.9
+import QtQuick.Controls 2.4
+
+Rectangle {
+
+ anchors.fill: parent;
+ anchors.topMargin: 40;
+
+ Image {
+ source: "qrc:/assets/img/bird.jpg";
+ fillMode: Image.PreserveAspectCrop;
+ anchors.fill: parent;
+ opacity: 0.8;
+ }
+}