diff -r 1614b13ad35e -r 084e046f6bd5 qmlFrontend/qml/qmlFrontend/GameConfig.qml --- a/qmlFrontend/qml/qmlFrontend/GameConfig.qml Tue Sep 30 00:54:04 2014 +0400 +++ b/qmlFrontend/qml/qmlFrontend/GameConfig.qml Wed Oct 01 01:20:05 2014 +0400 @@ -26,16 +26,48 @@ } } - ListView { - x: 330 + Rectangle { + x: 320 y: 16 - width: 100; height: 100 + width: 100 + height: 256 + color: "#15193a" + radius: 8 + border.width: 4 + border.color: "#eaea00" + Image { + id: themeImage + x: 0 + y: 0 + width: 64 + height: 64 + fillMode: Image.Pad + } - model: themesModel - delegate: Rectangle { - height: 25 + ListView { + id: themesList + x: 0 + y: 64 width: 100 - Text { text: modelData } + height: 192 + highlight: Rectangle { color: "#eaea00"; radius: 4 } + focus: true + + model: themesModel + delegate: Rectangle { + height: 25 + width: 100 + color: "transparent" + Text {id: themeName; text: modelData } + MouseArea { + z: 1 + anchors.fill: parent + onClicked: { + themeImage.source = "image://theme/" + themeName.text + themesList.currentIndex = index + } + } + } } } }