qmlFrontend/qml/qmlFrontend/GameConfig.qml
branchqmlfrontend
changeset 10434 1614b13ad35e
parent 10432 b0abef0ee78c
child 10436 084e046f6bd5
--- a/qmlFrontend/qml/qmlFrontend/GameConfig.qml	Sun Sep 28 21:33:14 2014 +0400
+++ b/qmlFrontend/qml/qmlFrontend/GameConfig.qml	Tue Sep 30 00:54:04 2014 +0400
@@ -5,9 +5,9 @@
     HWButton {
         id: btnPreview
         x: 50
-        y: 66
-        width: 150
-        height: 150
+        y: 16
+        width: 256
+        height: 128
 
         onClicked: HWEngine.getPreview()
 
@@ -15,14 +15,27 @@
             target: HWEngine
             onPreviewImageChanged: previewImage.source = "image://preview/" + HWEngine.currentSeed()
         }
+
+        Image {
+            id: previewImage
+            x: 0
+            y: 0
+            width: 256
+            height: 128
+            cache: false
+        }
     }
 
-    Image {
-        id: previewImage
-        x: 210
-        y: 70
-        width: 256
-        height: 128
-        cache: false
+    ListView {
+        x: 330
+        y: 16
+        width: 100; height: 100
+
+        model: themesModel
+        delegate: Rectangle {
+            height: 25
+            width: 100
+            Text { text: modelData }
+        }
     }
 }