Use bigger icons
[vexed] / mainwindow.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3  <class>MainWindow</class>
4  <widget class="QMainWindow" name="MainWindow">
5   <property name="geometry">
6    <rect>
7     <x>0</x>
8     <y>0</y>
9     <width>778</width>
10     <height>480</height>
11    </rect>
12   </property>
13   <property name="windowTitle">
14    <string notr="true">Vexed</string>
15   </property>
16   <widget class="QWidget" name="centralWidget">
17    <widget class="QWidget" name="verticalLayoutWidget">
18     <property name="geometry">
19      <rect>
20       <x>9</x>
21       <y>9</y>
22       <width>761</width>
23       <height>401</height>
24      </rect>
25     </property>
26     <layout class="QVBoxLayout" name="mainLayout">
27      <item>
28       <layout class="QHBoxLayout" name="allInRow">
29        <item>
30         <layout class="QVBoxLayout" name="verticalLayout">
31          <item>
32           <layout class="QHBoxLayout" name="horizontalLayout">
33            <item>
34             <widget class="QLabel" name="moves">
35              <property name="sizePolicy">
36               <sizepolicy hsizetype="Minimum" vsizetype="Preferred">
37                <horstretch>0</horstretch>
38                <verstretch>0</verstretch>
39               </sizepolicy>
40              </property>
41              <property name="text">
42               <string>moves</string>
43              </property>
44             </widget>
45            </item>
46            <item>
47             <spacer name="horizontalSpacer_2">
48              <property name="orientation">
49               <enum>Qt::Horizontal</enum>
50              </property>
51              <property name="sizeHint" stdset="0">
52               <size>
53                <width>40</width>
54                <height>20</height>
55               </size>
56              </property>
57             </spacer>
58            </item>
59            <item>
60             <widget class="QLabel" name="levelTitle">
61              <property name="sizePolicy">
62               <sizepolicy hsizetype="Maximum" vsizetype="Preferred">
63                <horstretch>0</horstretch>
64                <verstretch>0</verstretch>
65               </sizepolicy>
66              </property>
67              <property name="text">
68               <string>title</string>
69              </property>
70             </widget>
71            </item>
72           </layout>
73          </item>
74          <item>
75           <widget class="FieldView" name="playwidget" native="true">
76            <property name="sizePolicy">
77             <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
78              <horstretch>0</horstretch>
79              <verstretch>0</verstretch>
80             </sizepolicy>
81            </property>
82            <property name="minimumSize">
83             <size>
84              <width>340</width>
85              <height>272</height>
86             </size>
87            </property>
88            <property name="maximumSize">
89             <size>
90              <width>340</width>
91              <height>272</height>
92             </size>
93            </property>
94            <property name="palette">
95             <palette>
96              <active>
97               <colorrole role="Base">
98                <brush brushstyle="SolidPattern">
99                 <color alpha="255">
100                  <red>255</red>
101                  <green>255</green>
102                  <blue>255</blue>
103                 </color>
104                </brush>
105               </colorrole>
106               <colorrole role="Window">
107                <brush brushstyle="SolidPattern">
108                 <color alpha="255">
109                  <red>255</red>
110                  <green>254</green>
111                  <blue>253</blue>
112                 </color>
113                </brush>
114               </colorrole>
115              </active>
116              <inactive>
117               <colorrole role="Base">
118                <brush brushstyle="SolidPattern">
119                 <color alpha="255">
120                  <red>255</red>
121                  <green>255</green>
122                  <blue>255</blue>
123                 </color>
124                </brush>
125               </colorrole>
126               <colorrole role="Window">
127                <brush brushstyle="SolidPattern">
128                 <color alpha="255">
129                  <red>255</red>
130                  <green>254</green>
131                  <blue>253</blue>
132                 </color>
133                </brush>
134               </colorrole>
135              </inactive>
136              <disabled>
137               <colorrole role="Base">
138                <brush brushstyle="SolidPattern">
139                 <color alpha="255">
140                  <red>255</red>
141                  <green>254</green>
142                  <blue>253</blue>
143                 </color>
144                </brush>
145               </colorrole>
146               <colorrole role="Window">
147                <brush brushstyle="SolidPattern">
148                 <color alpha="255">
149                  <red>255</red>
150                  <green>254</green>
151                  <blue>253</blue>
152                 </color>
153                </brush>
154               </colorrole>
155              </disabled>
156             </palette>
157            </property>
158            <property name="autoFillBackground">
159             <bool>true</bool>
160            </property>
161           </widget>
162          </item>
163         </layout>
164        </item>
165        <item>
166         <spacer name="horizontalSpacer">
167          <property name="orientation">
168           <enum>Qt::Horizontal</enum>
169          </property>
170          <property name="sizeHint" stdset="0">
171           <size>
172            <width>40</width>
173            <height>20</height>
174           </size>
175          </property>
176         </spacer>
177        </item>
178        <item>
179         <layout class="QVBoxLayout" name="verticalButtons">
180          <item>
181           <spacer name="verticalSpacer_3">
182            <property name="orientation">
183             <enum>Qt::Vertical</enum>
184            </property>
185            <property name="sizeHint" stdset="0">
186             <size>
187              <width>20</width>
188              <height>40</height>
189             </size>
190            </property>
191           </spacer>
192          </item>
193          <item>
194           <layout class="QHBoxLayout" name="buttonsLandscape">
195            <item>
196             <widget class="QPushButton" name="prevLevel">
197              <property name="text">
198               <string/>
199              </property>
200              <property name="icon">
201               <iconset resource="media.qrc">
202                <normaloff>:/1leftarrow.png</normaloff>:/1leftarrow.png</iconset>
203              </property>
204             </widget>
205            </item>
206            <item>
207             <widget class="QPushButton" name="reload">
208              <property name="text">
209               <string/>
210              </property>
211              <property name="icon">
212               <iconset resource="media.qrc">
213                <normaloff>:/reload.png</normaloff>:/reload.png</iconset>
214              </property>
215             </widget>
216            </item>
217            <item>
218             <widget class="QPushButton" name="nextLevel">
219              <property name="text">
220               <string/>
221              </property>
222              <property name="icon">
223               <iconset resource="media.qrc">
224                <normaloff>:/1rightarrow.png</normaloff>:/1rightarrow.png</iconset>
225              </property>
226             </widget>
227            </item>
228           </layout>
229          </item>
230          <item>
231           <layout class="QHBoxLayout" name="undoLandscape">
232            <item>
233             <widget class="QPushButton" name="undo">
234              <property name="enabled">
235               <bool>true</bool>
236              </property>
237              <property name="text">
238               <string>undo</string>
239              </property>
240             </widget>
241            </item>
242           </layout>
243          </item>
244          <item>
245           <spacer name="verticalSpacer_2">
246            <property name="orientation">
247             <enum>Qt::Vertical</enum>
248            </property>
249            <property name="sizeHint" stdset="0">
250             <size>
251              <width>20</width>
252              <height>40</height>
253             </size>
254            </property>
255           </spacer>
256          </item>
257         </layout>
258        </item>
259       </layout>
260      </item>
261      <item>
262       <spacer name="verticalSpacer">
263        <property name="orientation">
264         <enum>Qt::Vertical</enum>
265        </property>
266        <property name="sizeHint" stdset="0">
267         <size>
268          <width>20</width>
269          <height>40</height>
270         </size>
271        </property>
272       </spacer>
273      </item>
274      <item>
275       <layout class="QHBoxLayout" name="buttonsPortraitx">
276        <item>
277         <layout class="QHBoxLayout" name="buttonsPortrait"/>
278        </item>
279        <item>
280         <spacer name="horizontalSpacer_3">
281          <property name="orientation">
282           <enum>Qt::Horizontal</enum>
283          </property>
284          <property name="sizeHint" stdset="0">
285           <size>
286            <width>40</width>
287            <height>20</height>
288           </size>
289          </property>
290         </spacer>
291        </item>
292       </layout>
293      </item>
294     </layout>
295    </widget>
296   </widget>
297   <widget class="QMenuBar" name="menuBar">
298    <property name="geometry">
299     <rect>
300      <x>0</x>
301      <y>0</y>
302      <width>778</width>
303      <height>25</height>
304     </rect>
305    </property>
306    <widget class="QMenu" name="menuLevel_Pack">
307     <property name="title">
308      <string>Level Pack</string>
309     </property>
310     <addaction name="actionLevel"/>
311    </widget>
312    <widget class="QMenu" name="menuHow_to_Play">
313     <property name="title">
314      <string>How to Play</string>
315     </property>
316     <addaction name="actionhowtoplay"/>
317    </widget>
318    <addaction name="menuLevel_Pack"/>
319    <addaction name="menuHow_to_Play"/>
320   </widget>
321   <action name="actionLevel">
322    <property name="text">
323     <string>Level Pack</string>
324    </property>
325   </action>
326   <action name="actionhowtoplay">
327    <property name="text">
328     <string>How to play</string>
329    </property>
330   </action>
331  </widget>
332  <layoutdefault spacing="6" margin="11"/>
333  <customwidgets>
334   <customwidget>
335    <class>FieldView</class>
336    <extends>QWidget</extends>
337    <header>fieldview.h</header>
338    <container>1</container>
339    <slots>
340     <signal>solved(int)</signal>
341     <signal>updateMoves(int)</signal>
342     <slot>undo()</slot>
343    </slots>
344   </customwidget>
345  </customwidgets>
346  <resources>
347   <include location="media.qrc"/>
348  </resources>
349  <connections>
350   <connection>
351    <sender>actionLevel</sender>
352    <signal>triggered()</signal>
353    <receiver>MainWindow</receiver>
354    <slot>openPreferences()</slot>
355    <hints>
356     <hint type="sourcelabel">
357      <x>-1</x>
358      <y>-1</y>
359     </hint>
360     <hint type="destinationlabel">
361      <x>531</x>
362      <y>356</y>
363     </hint>
364    </hints>
365   </connection>
366   <connection>
367    <sender>actionhowtoplay</sender>
368    <signal>triggered()</signal>
369    <receiver>MainWindow</receiver>
370    <slot>howToPlay()</slot>
371    <hints>
372     <hint type="sourcelabel">
373      <x>-1</x>
374      <y>-1</y>
375     </hint>
376     <hint type="destinationlabel">
377      <x>637</x>
378      <y>232</y>
379     </hint>
380    </hints>
381   </connection>
382   <connection>
383    <sender>playwidget</sender>
384    <signal>updateMoves(int)</signal>
385    <receiver>MainWindow</receiver>
386    <slot>movesChanged(int)</slot>
387    <hints>
388     <hint type="sourcelabel">
389      <x>177</x>
390      <y>332</y>
391     </hint>
392     <hint type="destinationlabel">
393      <x>388</x>
394      <y>239</y>
395     </hint>
396    </hints>
397   </connection>
398   <connection>
399    <sender>playwidget</sender>
400    <signal>solved(int)</signal>
401    <receiver>MainWindow</receiver>
402    <slot>loadNextLevel()</slot>
403    <hints>
404     <hint type="sourcelabel">
405      <x>177</x>
406      <y>332</y>
407     </hint>
408     <hint type="destinationlabel">
409      <x>388</x>
410      <y>239</y>
411     </hint>
412    </hints>
413   </connection>
414   <connection>
415    <sender>prevLevel</sender>
416    <signal>clicked()</signal>
417    <receiver>MainWindow</receiver>
418    <slot>loadPrevLevel()</slot>
419    <hints>
420     <hint type="sourcelabel">
421      <x>684</x>
422      <y>172</y>
423     </hint>
424     <hint type="destinationlabel">
425      <x>553</x>
426      <y>121</y>
427     </hint>
428    </hints>
429   </connection>
430   <connection>
431    <sender>nextLevel</sender>
432    <signal>clicked()</signal>
433    <receiver>MainWindow</receiver>
434    <slot>loadNextLevel()</slot>
435    <hints>
436     <hint type="sourcelabel">
437      <x>747</x>
438      <y>173</y>
439     </hint>
440     <hint type="destinationlabel">
441      <x>515</x>
442      <y>181</y>
443     </hint>
444    </hints>
445   </connection>
446   <connection>
447    <sender>reload</sender>
448    <signal>clicked()</signal>
449    <receiver>MainWindow</receiver>
450    <slot>loadLevel()</slot>
451    <hints>
452     <hint type="sourcelabel">
453      <x>722</x>
454      <y>170</y>
455     </hint>
456     <hint type="destinationlabel">
457      <x>584</x>
458      <y>153</y>
459     </hint>
460    </hints>
461   </connection>
462   <connection>
463    <sender>undo</sender>
464    <signal>clicked()</signal>
465    <receiver>playwidget</receiver>
466    <slot>undo()</slot>
467    <hints>
468     <hint type="sourcelabel">
469      <x>704</x>
470      <y>208</y>
471     </hint>
472     <hint type="destinationlabel">
473      <x>321</x>
474      <y>192</y>
475     </hint>
476    </hints>
477   </connection>
478  </connections>
479  <slots>
480   <slot>loadNextLevel()</slot>
481   <slot>loadPrevLevel()</slot>
482   <slot>loadLevel()</slot>
483   <slot>loadPack()</slot>
484   <slot>movesChanged(int)</slot>
485   <slot>openPreferences()</slot>
486   <slot>howToPlay()</slot>
487   <slot>reorient()</slot>
488  </slots>
489 </ui>