New GUI, many changes
[pierogi] / forms / pirmenuform.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3  <class>PIRMenuForm</class>
4  <widget class="QWidget" name="PIRMenuForm">
5   <property name="geometry">
6    <rect>
7     <x>0</x>
8     <y>0</y>
9     <width>800</width>
10     <height>480</height>
11    </rect>
12   </property>
13   <property name="windowTitle">
14    <string>Form</string>
15   </property>
16   <layout class="QGridLayout" name="gridLayout">
17    <property name="leftMargin">
18     <number>8</number>
19    </property>
20    <property name="topMargin">
21     <number>0</number>
22    </property>
23    <property name="rightMargin">
24     <number>8</number>
25    </property>
26    <property name="bottomMargin">
27     <number>8</number>
28    </property>
29    <item row="0" column="0">
30     <widget class="QPushButton" name="guideButton">
31      <property name="sizePolicy">
32       <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
33        <horstretch>0</horstretch>
34        <verstretch>0</verstretch>
35       </sizepolicy>
36      </property>
37      <property name="text">
38       <string>Guide</string>
39      </property>
40     </widget>
41    </item>
42    <item row="0" column="1">
43     <widget class="QPushButton" name="upButton">
44      <property name="sizePolicy">
45       <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
46        <horstretch>0</horstretch>
47        <verstretch>0</verstretch>
48       </sizepolicy>
49      </property>
50      <property name="text">
51       <string>Up</string>
52      </property>
53      <property name="icon">
54       <iconset resource="../PierogiResources.qrc">
55        <normaloff>:/icons/arrow_top_icon&amp;48.png</normaloff>:/icons/arrow_top_icon&amp;48.png</iconset>
56      </property>
57      <property name="iconSize">
58       <size>
59        <width>48</width>
60        <height>48</height>
61       </size>
62      </property>
63     </widget>
64    </item>
65    <item row="0" column="2">
66     <widget class="QPushButton" name="menuButton">
67      <property name="sizePolicy">
68       <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
69        <horstretch>0</horstretch>
70        <verstretch>0</verstretch>
71       </sizepolicy>
72      </property>
73      <property name="text">
74       <string>Menu</string>
75      </property>
76     </widget>
77    </item>
78    <item row="1" column="0">
79     <widget class="QPushButton" name="leftButton">
80      <property name="sizePolicy">
81       <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
82        <horstretch>0</horstretch>
83        <verstretch>0</verstretch>
84       </sizepolicy>
85      </property>
86      <property name="text">
87       <string>Left</string>
88      </property>
89      <property name="icon">
90       <iconset resource="../PierogiResources.qrc">
91        <normaloff>:/icons/arrow_left_icon&amp;48.png</normaloff>:/icons/arrow_left_icon&amp;48.png</iconset>
92      </property>
93      <property name="iconSize">
94       <size>
95        <width>48</width>
96        <height>48</height>
97       </size>
98      </property>
99     </widget>
100    </item>
101    <item row="1" column="1">
102     <widget class="QPushButton" name="selectButton">
103      <property name="sizePolicy">
104       <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
105        <horstretch>0</horstretch>
106        <verstretch>0</verstretch>
107       </sizepolicy>
108      </property>
109      <property name="text">
110       <string>Select</string>
111      </property>
112     </widget>
113    </item>
114    <item row="1" column="2">
115     <widget class="QPushButton" name="rightButton">
116      <property name="sizePolicy">
117       <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
118        <horstretch>0</horstretch>
119        <verstretch>0</verstretch>
120       </sizepolicy>
121      </property>
122      <property name="text">
123       <string>Right</string>
124      </property>
125      <property name="icon">
126       <iconset resource="../PierogiResources.qrc">
127        <normaloff>:/icons/arrow_right_icon&amp;48.png</normaloff>:/icons/arrow_right_icon&amp;48.png</iconset>
128      </property>
129      <property name="iconSize">
130       <size>
131        <width>48</width>
132        <height>48</height>
133       </size>
134      </property>
135     </widget>
136    </item>
137    <item row="2" column="0">
138     <widget class="QPushButton" name="discMenuButton">
139      <property name="sizePolicy">
140       <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
141        <horstretch>0</horstretch>
142        <verstretch>0</verstretch>
143       </sizepolicy>
144      </property>
145      <property name="text">
146       <string>Disc Menu</string>
147      </property>
148     </widget>
149    </item>
150    <item row="2" column="1">
151     <widget class="QPushButton" name="downButton">
152      <property name="sizePolicy">
153       <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
154        <horstretch>0</horstretch>
155        <verstretch>0</verstretch>
156       </sizepolicy>
157      </property>
158      <property name="text">
159       <string>Down</string>
160      </property>
161      <property name="icon">
162       <iconset resource="../PierogiResources.qrc">
163        <normaloff>:/icons/arrow_bottom_icon&amp;48.png</normaloff>:/icons/arrow_bottom_icon&amp;48.png</iconset>
164      </property>
165      <property name="iconSize">
166       <size>
167        <width>48</width>
168        <height>48</height>
169       </size>
170      </property>
171     </widget>
172    </item>
173    <item row="2" column="2">
174     <widget class="QPushButton" name="exitButton">
175      <property name="sizePolicy">
176       <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
177        <horstretch>0</horstretch>
178        <verstretch>0</verstretch>
179       </sizepolicy>
180      </property>
181      <property name="text">
182       <string>Exit</string>
183      </property>
184     </widget>
185    </item>
186   </layout>
187  </widget>
188  <resources>
189   <include location="../PierogiResources.qrc"/>
190  </resources>
191  <connections>
192   <connection>
193    <sender>PIRMenuForm</sender>
194    <signal>guideEnabled(bool)</signal>
195    <receiver>guideButton</receiver>
196    <slot>setEnabled(bool)</slot>
197    <hints>
198     <hint type="sourcelabel">
199      <x>399</x>
200      <y>239</y>
201     </hint>
202     <hint type="destinationlabel">
203      <x>135</x>
204      <y>83</y>
205     </hint>
206    </hints>
207   </connection>
208   <connection>
209    <sender>PIRMenuForm</sender>
210    <signal>upEnabled(bool)</signal>
211    <receiver>upButton</receiver>
212    <slot>setEnabled(bool)</slot>
213    <hints>
214     <hint type="sourcelabel">
215      <x>399</x>
216      <y>239</y>
217     </hint>
218     <hint type="destinationlabel">
219      <x>399</x>
220      <y>83</y>
221     </hint>
222    </hints>
223   </connection>
224   <connection>
225    <sender>PIRMenuForm</sender>
226    <signal>menuEnabled(bool)</signal>
227    <receiver>menuButton</receiver>
228    <slot>setEnabled(bool)</slot>
229    <hints>
230     <hint type="sourcelabel">
231      <x>399</x>
232      <y>239</y>
233     </hint>
234     <hint type="destinationlabel">
235      <x>664</x>
236      <y>83</y>
237     </hint>
238    </hints>
239   </connection>
240   <connection>
241    <sender>PIRMenuForm</sender>
242    <signal>leftEnabled(bool)</signal>
243    <receiver>leftButton</receiver>
244    <slot>setEnabled(bool)</slot>
245    <hints>
246     <hint type="sourcelabel">
247      <x>399</x>
248      <y>239</y>
249     </hint>
250     <hint type="destinationlabel">
251      <x>135</x>
252      <y>241</y>
253     </hint>
254    </hints>
255   </connection>
256   <connection>
257    <sender>PIRMenuForm</sender>
258    <signal>selectEnabled(bool)</signal>
259    <receiver>selectButton</receiver>
260    <slot>setEnabled(bool)</slot>
261    <hints>
262     <hint type="sourcelabel">
263      <x>399</x>
264      <y>239</y>
265     </hint>
266     <hint type="destinationlabel">
267      <x>399</x>
268      <y>241</y>
269     </hint>
270    </hints>
271   </connection>
272   <connection>
273    <sender>PIRMenuForm</sender>
274    <signal>rightEnabled(bool)</signal>
275    <receiver>rightButton</receiver>
276    <slot>setEnabled(bool)</slot>
277    <hints>
278     <hint type="sourcelabel">
279      <x>399</x>
280      <y>239</y>
281     </hint>
282     <hint type="destinationlabel">
283      <x>664</x>
284      <y>241</y>
285     </hint>
286    </hints>
287   </connection>
288   <connection>
289    <sender>PIRMenuForm</sender>
290    <signal>discMenuEnabled(bool)</signal>
291    <receiver>discMenuButton</receiver>
292    <slot>setEnabled(bool)</slot>
293    <hints>
294     <hint type="sourcelabel">
295      <x>399</x>
296      <y>239</y>
297     </hint>
298     <hint type="destinationlabel">
299      <x>135</x>
300      <y>399</y>
301     </hint>
302    </hints>
303   </connection>
304   <connection>
305    <sender>PIRMenuForm</sender>
306    <signal>downEnabled(bool)</signal>
307    <receiver>downButton</receiver>
308    <slot>setEnabled(bool)</slot>
309    <hints>
310     <hint type="sourcelabel">
311      <x>399</x>
312      <y>239</y>
313     </hint>
314     <hint type="destinationlabel">
315      <x>399</x>
316      <y>399</y>
317     </hint>
318    </hints>
319   </connection>
320   <connection>
321    <sender>PIRMenuForm</sender>
322    <signal>exitEnabled(bool)</signal>
323    <receiver>exitButton</receiver>
324    <slot>setEnabled(bool)</slot>
325    <hints>
326     <hint type="sourcelabel">
327      <x>399</x>
328      <y>239</y>
329     </hint>
330     <hint type="destinationlabel">
331      <x>664</x>
332      <y>399</y>
333     </hint>
334    </hints>
335   </connection>
336  </connections>
337  <slots>
338   <signal>guideEnabled(bool)</signal>
339   <signal>upEnabled(bool)</signal>
340   <signal>menuEnabled(bool)</signal>
341   <signal>leftEnabled(bool)</signal>
342   <signal>selectEnabled(bool)</signal>
343   <signal>rightEnabled(bool)</signal>
344   <signal>discMenuEnabled(bool)</signal>
345   <signal>downEnabled(bool)</signal>
346   <signal>exitEnabled(bool)</signal>
347  </slots>
348 </ui>