qmlfrontend/Page1Form.ui.qml
changeset 14164 745c73e0e644
parent 12854 28cb18c5e712
child 14175 8354b390f1a2
--- a/qmlfrontend/Page1Form.ui.qml	Tue Nov 06 16:40:54 2018 +0300
+++ b/qmlfrontend/Page1Form.ui.qml	Tue Nov 06 17:00:35 2018 +0100
@@ -2,23 +2,53 @@
 import QtQuick.Controls 2.0
 import QtQuick.Layouts 1.3
 
+import Hedgewars.Engine 1.0
+
 Item {
-    property alias textField1: textField1
     property alias button1: button1
+    property alias previewImage: previewImage
+    property alias gameButton: gameButton
+    width: 1024
+    height: 800
+    property alias tickButton: tickButton
+    property alias item1: item1
 
     RowLayout {
         anchors.horizontalCenter: parent.horizontalCenter
         anchors.topMargin: 20
         anchors.top: parent.top
 
-        TextField {
-            id: textField1
-            placeholderText: qsTr("Text Field")
+        Button {
+            id: button1
+            text: qsTr("Preview")
+        }
+
+        Button {
+            id: gameButton
+            text: qsTr("Game")
         }
 
         Button {
-            id: button1
-            text: qsTr("Press Me")
+            id: tickButton
+            text: qsTr("Tick")
         }
     }
+
+    Image {
+        id: previewImage
+        x: 8
+        y: 20
+        width: 256
+        height: 128
+        source: "qrc:/res/iconTime.png"
+        cache: false
+    }
+
+    GameView {
+        id: item1
+        x: 8
+        y: 154
+        width: 1008
+        height: 638
+    }
 }