0
|
1 |
<ui version="4.0" >
|
|
2 |
<class>TetrixWindow</class>
|
|
3 |
<widget class="QWidget" name="TetrixWindow" >
|
|
4 |
<property name="geometry" >
|
|
5 |
<rect>
|
|
6 |
<x>0</x>
|
|
7 |
<y>0</y>
|
|
8 |
<width>537</width>
|
|
9 |
<height>475</height>
|
|
10 |
</rect>
|
|
11 |
</property>
|
|
12 |
<property name="windowTitle" >
|
|
13 |
<string>Tetrix</string>
|
|
14 |
</property>
|
|
15 |
<layout class="QVBoxLayout" >
|
|
16 |
<property name="margin" >
|
|
17 |
<number>9</number>
|
|
18 |
</property>
|
|
19 |
<property name="spacing" >
|
|
20 |
<number>6</number>
|
|
21 |
</property>
|
|
22 |
<item>
|
|
23 |
<layout class="QGridLayout" >
|
|
24 |
<property name="margin" >
|
|
25 |
<number>0</number>
|
|
26 |
</property>
|
|
27 |
<property name="spacing" >
|
|
28 |
<number>6</number>
|
|
29 |
</property>
|
|
30 |
<item row="4" column="0" >
|
|
31 |
<widget class="QPushButton" name="startButton" >
|
|
32 |
<property name="focusPolicy" >
|
|
33 |
<enum>Qt::NoFocus</enum>
|
|
34 |
</property>
|
|
35 |
<property name="text" >
|
|
36 |
<string>&Start</string>
|
|
37 |
</property>
|
|
38 |
</widget>
|
|
39 |
</item>
|
|
40 |
<item row="3" column="2" >
|
|
41 |
<widget class="QLCDNumber" name="linesLcd" >
|
|
42 |
<property name="segmentStyle" >
|
|
43 |
<enum>QLCDNumber::Filled</enum>
|
|
44 |
</property>
|
|
45 |
</widget>
|
|
46 |
</item>
|
|
47 |
<item row="2" column="2" >
|
|
48 |
<widget class="QLabel" name="linesRemovedLabel" >
|
|
49 |
<property name="text" >
|
|
50 |
<string>LINES REMOVED</string>
|
|
51 |
</property>
|
|
52 |
<property name="alignment" >
|
|
53 |
<set>Qt::AlignBottom|Qt::AlignHCenter</set>
|
|
54 |
</property>
|
|
55 |
</widget>
|
|
56 |
</item>
|
|
57 |
<item row="5" column="2" >
|
|
58 |
<widget class="QPushButton" name="pauseButton" >
|
|
59 |
<property name="focusPolicy" >
|
|
60 |
<enum>Qt::NoFocus</enum>
|
|
61 |
</property>
|
|
62 |
<property name="text" >
|
|
63 |
<string>&Pause</string>
|
|
64 |
</property>
|
|
65 |
</widget>
|
|
66 |
</item>
|
|
67 |
<item row="1" column="2" >
|
|
68 |
<widget class="QLCDNumber" name="scoreLcd" >
|
|
69 |
<property name="segmentStyle" >
|
|
70 |
<enum>QLCDNumber::Filled</enum>
|
|
71 |
</property>
|
|
72 |
</widget>
|
|
73 |
</item>
|
|
74 |
<item rowspan="6" row="0" column="1" >
|
|
75 |
<widget class="TetrixBoard" name="board" >
|
|
76 |
<property name="focusPolicy" >
|
|
77 |
<enum>Qt::StrongFocus</enum>
|
|
78 |
</property>
|
|
79 |
<property name="frameShape" >
|
|
80 |
<enum>QFrame::Panel</enum>
|
|
81 |
</property>
|
|
82 |
<property name="frameShadow" >
|
|
83 |
<enum>QFrame::Sunken</enum>
|
|
84 |
</property>
|
|
85 |
</widget>
|
|
86 |
</item>
|
|
87 |
<item row="2" column="0" >
|
|
88 |
<widget class="QLabel" name="levelLabel" >
|
|
89 |
<property name="text" >
|
|
90 |
<string>LEVEL</string>
|
|
91 |
</property>
|
|
92 |
<property name="alignment" >
|
|
93 |
<set>Qt::AlignBottom|Qt::AlignHCenter</set>
|
|
94 |
</property>
|
|
95 |
</widget>
|
|
96 |
</item>
|
|
97 |
<item row="0" column="0" >
|
|
98 |
<widget class="QLabel" name="nextLabel" >
|
|
99 |
<property name="text" >
|
|
100 |
<string>NEXT</string>
|
|
101 |
</property>
|
|
102 |
<property name="alignment" >
|
|
103 |
<set>Qt::AlignBottom|Qt::AlignHCenter</set>
|
|
104 |
</property>
|
|
105 |
</widget>
|
|
106 |
</item>
|
|
107 |
<item row="3" column="0" >
|
|
108 |
<widget class="QLCDNumber" name="levelLcd" >
|
|
109 |
<property name="segmentStyle" >
|
|
110 |
<enum>QLCDNumber::Filled</enum>
|
|
111 |
</property>
|
|
112 |
</widget>
|
|
113 |
</item>
|
|
114 |
<item row="0" column="2" >
|
|
115 |
<widget class="QLabel" name="scoreLabel" >
|
|
116 |
<property name="text" >
|
|
117 |
<string>SCORE</string>
|
|
118 |
</property>
|
|
119 |
<property name="alignment" >
|
|
120 |
<set>Qt::AlignBottom|Qt::AlignHCenter</set>
|
|
121 |
</property>
|
|
122 |
</widget>
|
|
123 |
</item>
|
|
124 |
<item row="1" column="0" >
|
|
125 |
<widget class="QLabel" name="nextPieceLabel" >
|
|
126 |
<property name="frameShape" >
|
|
127 |
<enum>QFrame::Box</enum>
|
|
128 |
</property>
|
|
129 |
<property name="frameShadow" >
|
|
130 |
<enum>QFrame::Raised</enum>
|
|
131 |
</property>
|
|
132 |
<property name="text" >
|
|
133 |
<string/>
|
|
134 |
</property>
|
|
135 |
<property name="alignment" >
|
|
136 |
<set>Qt::AlignCenter</set>
|
|
137 |
</property>
|
|
138 |
</widget>
|
|
139 |
</item>
|
|
140 |
<item row="4" column="2" >
|
|
141 |
<widget class="QPushButton" name="quitButton" >
|
|
142 |
<property name="focusPolicy" >
|
|
143 |
<enum>Qt::NoFocus</enum>
|
|
144 |
</property>
|
|
145 |
<property name="text" >
|
|
146 |
<string>&Quit</string>
|
|
147 |
</property>
|
|
148 |
</widget>
|
|
149 |
</item>
|
|
150 |
</layout>
|
|
151 |
</item>
|
|
152 |
</layout>
|
|
153 |
</widget>
|
|
154 |
<customwidgets>
|
|
155 |
<customwidget>
|
|
156 |
<class>TetrixBoard</class>
|
|
157 |
<extends>QFrame</extends>
|
|
158 |
<header>tetrixboard.h</header>
|
|
159 |
<container>1</container>
|
|
160 |
</customwidget>
|
|
161 |
</customwidgets>
|
|
162 |
<resources/>
|
|
163 |
<connections/>
|
|
164 |
</ui>
|