12854
|
1 |
import QtQuick 2.7
|
|
2 |
import QtQuick.Controls 2.0
|
|
3 |
import QtQuick.Layouts 1.3
|
|
4 |
|
14164
|
5 |
import Hedgewars.Engine 1.0
|
|
6 |
|
12854
|
7 |
Item {
|
|
8 |
property alias button1: button1
|
14164
|
9 |
property alias previewImage: previewImage
|
|
10 |
property alias gameButton: gameButton
|
|
11 |
width: 1024
|
|
12 |
height: 800
|
|
13 |
property alias tickButton: tickButton
|
|
14 |
property alias item1: item1
|
12854
|
15 |
|
|
16 |
RowLayout {
|
|
17 |
anchors.horizontalCenter: parent.horizontalCenter
|
|
18 |
anchors.topMargin: 20
|
|
19 |
anchors.top: parent.top
|
|
20 |
|
14164
|
21 |
Button {
|
|
22 |
id: button1
|
|
23 |
text: qsTr("Preview")
|
|
24 |
}
|
|
25 |
|
|
26 |
Button {
|
|
27 |
id: gameButton
|
|
28 |
text: qsTr("Game")
|
12854
|
29 |
}
|
|
30 |
|
|
31 |
Button {
|
14164
|
32 |
id: tickButton
|
|
33 |
text: qsTr("Tick")
|
12854
|
34 |
}
|
|
35 |
}
|
14164
|
36 |
|
|
37 |
Image {
|
|
38 |
id: previewImage
|
|
39 |
x: 8
|
|
40 |
y: 20
|
|
41 |
width: 256
|
|
42 |
height: 128
|
|
43 |
source: "qrc:/res/iconTime.png"
|
|
44 |
cache: false
|
|
45 |
}
|
|
46 |
|
|
47 |
GameView {
|
|
48 |
id: item1
|
|
49 |
x: 8
|
|
50 |
y: 154
|
|
51 |
width: 1008
|
|
52 |
height: 638
|
|
53 |
}
|
12854
|
54 |
}
|