New GUI, many changes
[pierogi] / forms / pirkeypadform.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3  <class>PIRKeypadForm</class>
4  <widget class="QWidget" name="PIRKeypadForm">
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="oneButton">
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>1</string>
39      </property>
40     </widget>
41    </item>
42    <item row="0" column="1">
43     <widget class="QPushButton" name="twoButton">
44      <property name="sizePolicy">
45       <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
46        <horstretch>0</horstretch>
47        <verstretch>0</verstretch>
48       </sizepolicy>
49      </property>
50      <property name="text">
51       <string>2</string>
52      </property>
53     </widget>
54    </item>
55    <item row="0" column="2">
56     <widget class="QPushButton" name="threeButton">
57      <property name="sizePolicy">
58       <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
59        <horstretch>0</horstretch>
60        <verstretch>0</verstretch>
61       </sizepolicy>
62      </property>
63      <property name="text">
64       <string>3</string>
65      </property>
66     </widget>
67    </item>
68    <item row="0" column="3">
69     <widget class="QPushButton" name="dashButton">
70      <property name="sizePolicy">
71       <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
72        <horstretch>0</horstretch>
73        <verstretch>0</verstretch>
74       </sizepolicy>
75      </property>
76      <property name="text">
77       <string>Dash</string>
78      </property>
79      <property name="icon">
80       <iconset resource="../PierogiResources.qrc">
81        <normaloff>:/icons/dash.png</normaloff>:/icons/dash.png</iconset>
82      </property>
83      <property name="iconSize">
84       <size>
85        <width>48</width>
86        <height>48</height>
87       </size>
88      </property>
89     </widget>
90    </item>
91    <item row="1" column="0">
92     <widget class="QPushButton" name="fourButton">
93      <property name="sizePolicy">
94       <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
95        <horstretch>0</horstretch>
96        <verstretch>0</verstretch>
97       </sizepolicy>
98      </property>
99      <property name="text">
100       <string>4</string>
101      </property>
102     </widget>
103    </item>
104    <item row="1" column="1">
105     <widget class="QPushButton" name="fiveButton">
106      <property name="sizePolicy">
107       <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
108        <horstretch>0</horstretch>
109        <verstretch>0</verstretch>
110       </sizepolicy>
111      </property>
112      <property name="text">
113       <string>5</string>
114      </property>
115     </widget>
116    </item>
117    <item row="1" column="2">
118     <widget class="QPushButton" name="sixButton">
119      <property name="sizePolicy">
120       <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
121        <horstretch>0</horstretch>
122        <verstretch>0</verstretch>
123       </sizepolicy>
124      </property>
125      <property name="text">
126       <string>6</string>
127      </property>
128     </widget>
129    </item>
130    <item row="1" column="3">
131     <widget class="QPushButton" name="plusOneHundredButton">
132      <property name="sizePolicy">
133       <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
134        <horstretch>0</horstretch>
135        <verstretch>0</verstretch>
136       </sizepolicy>
137      </property>
138      <property name="text">
139       <string>+100</string>
140      </property>
141     </widget>
142    </item>
143    <item row="2" column="0">
144     <widget class="QPushButton" name="sevenButton">
145      <property name="sizePolicy">
146       <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
147        <horstretch>0</horstretch>
148        <verstretch>0</verstretch>
149       </sizepolicy>
150      </property>
151      <property name="text">
152       <string>7</string>
153      </property>
154     </widget>
155    </item>
156    <item row="2" column="1">
157     <widget class="QPushButton" name="eightButton">
158      <property name="sizePolicy">
159       <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
160        <horstretch>0</horstretch>
161        <verstretch>0</verstretch>
162       </sizepolicy>
163      </property>
164      <property name="text">
165       <string>8</string>
166      </property>
167     </widget>
168    </item>
169    <item row="2" column="2">
170     <widget class="QPushButton" name="nineButton">
171      <property name="sizePolicy">
172       <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
173        <horstretch>0</horstretch>
174        <verstretch>0</verstretch>
175       </sizepolicy>
176      </property>
177      <property name="text">
178       <string>9</string>
179      </property>
180     </widget>
181    </item>
182    <item row="2" column="3">
183     <widget class="QPushButton" name="doubleDigitButton">
184      <property name="sizePolicy">
185       <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
186        <horstretch>0</horstretch>
187        <verstretch>0</verstretch>
188       </sizepolicy>
189      </property>
190      <property name="text">
191       <string>-/-- Double Digit</string>
192      </property>
193     </widget>
194    </item>
195    <item row="3" column="0">
196     <widget class="QPushButton" name="clearButton">
197      <property name="sizePolicy">
198       <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
199        <horstretch>0</horstretch>
200        <verstretch>0</verstretch>
201       </sizepolicy>
202      </property>
203      <property name="text">
204       <string>Clear</string>
205      </property>
206      <property name="iconSize">
207       <size>
208        <width>48</width>
209        <height>48</height>
210       </size>
211      </property>
212     </widget>
213    </item>
214    <item row="3" column="1">
215     <widget class="QPushButton" name="zeroButton">
216      <property name="sizePolicy">
217       <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
218        <horstretch>0</horstretch>
219        <verstretch>0</verstretch>
220       </sizepolicy>
221      </property>
222      <property name="text">
223       <string>0</string>
224      </property>
225     </widget>
226    </item>
227    <item row="3" column="2">
228     <widget class="QPushButton" name="enterButton">
229      <property name="sizePolicy">
230       <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
231        <horstretch>0</horstretch>
232        <verstretch>0</verstretch>
233       </sizepolicy>
234      </property>
235      <property name="text">
236       <string>Enter</string>
237      </property>
238     </widget>
239    </item>
240    <item row="3" column="3">
241     <widget class="QPushButton" name="prevChannelButton">
242      <property name="sizePolicy">
243       <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
244        <horstretch>0</horstretch>
245        <verstretch>0</verstretch>
246       </sizepolicy>
247      </property>
248      <property name="text">
249       <string>Prev Channel</string>
250      </property>
251     </widget>
252    </item>
253   </layout>
254  </widget>
255  <resources>
256   <include location="../PierogiResources.qrc"/>
257  </resources>
258  <connections>
259   <connection>
260    <sender>PIRKeypadForm</sender>
261    <signal>oneEnabled(bool)</signal>
262    <receiver>oneButton</receiver>
263    <slot>setEnabled(bool)</slot>
264    <hints>
265     <hint type="sourcelabel">
266      <x>399</x>
267      <y>239</y>
268     </hint>
269     <hint type="destinationlabel">
270      <x>102</x>
271      <y>64</y>
272     </hint>
273    </hints>
274   </connection>
275   <connection>
276    <sender>PIRKeypadForm</sender>
277    <signal>twoEnabled(bool)</signal>
278    <receiver>twoButton</receiver>
279    <slot>setEnabled(bool)</slot>
280    <hints>
281     <hint type="sourcelabel">
282      <x>399</x>
283      <y>239</y>
284     </hint>
285     <hint type="destinationlabel">
286      <x>300</x>
287      <y>64</y>
288     </hint>
289    </hints>
290   </connection>
291   <connection>
292    <sender>PIRKeypadForm</sender>
293    <signal>threeEnabled(bool)</signal>
294    <receiver>threeButton</receiver>
295    <slot>setEnabled(bool)</slot>
296    <hints>
297     <hint type="sourcelabel">
298      <x>399</x>
299      <y>239</y>
300     </hint>
301     <hint type="destinationlabel">
302      <x>499</x>
303      <y>64</y>
304     </hint>
305    </hints>
306   </connection>
307   <connection>
308    <sender>PIRKeypadForm</sender>
309    <signal>fourEnabled(bool)</signal>
310    <receiver>fourButton</receiver>
311    <slot>setEnabled(bool)</slot>
312    <hints>
313     <hint type="sourcelabel">
314      <x>399</x>
315      <y>239</y>
316     </hint>
317     <hint type="destinationlabel">
318      <x>102</x>
319      <y>182</y>
320     </hint>
321    </hints>
322   </connection>
323   <connection>
324    <sender>PIRKeypadForm</sender>
325    <signal>fiveEnabled(bool)</signal>
326    <receiver>fiveButton</receiver>
327    <slot>setEnabled(bool)</slot>
328    <hints>
329     <hint type="sourcelabel">
330      <x>399</x>
331      <y>239</y>
332     </hint>
333     <hint type="destinationlabel">
334      <x>300</x>
335      <y>182</y>
336     </hint>
337    </hints>
338   </connection>
339   <connection>
340    <sender>PIRKeypadForm</sender>
341    <signal>sixEnabled(bool)</signal>
342    <receiver>sixButton</receiver>
343    <slot>setEnabled(bool)</slot>
344    <hints>
345     <hint type="sourcelabel">
346      <x>399</x>
347      <y>239</y>
348     </hint>
349     <hint type="destinationlabel">
350      <x>499</x>
351      <y>182</y>
352     </hint>
353    </hints>
354   </connection>
355   <connection>
356    <sender>PIRKeypadForm</sender>
357    <signal>sevenEnabled(bool)</signal>
358    <receiver>sevenButton</receiver>
359    <slot>setEnabled(bool)</slot>
360    <hints>
361     <hint type="sourcelabel">
362      <x>399</x>
363      <y>239</y>
364     </hint>
365     <hint type="destinationlabel">
366      <x>102</x>
367      <y>301</y>
368     </hint>
369    </hints>
370   </connection>
371   <connection>
372    <sender>PIRKeypadForm</sender>
373    <signal>eightEnabled(bool)</signal>
374    <receiver>eightButton</receiver>
375    <slot>setEnabled(bool)</slot>
376    <hints>
377     <hint type="sourcelabel">
378      <x>399</x>
379      <y>239</y>
380     </hint>
381     <hint type="destinationlabel">
382      <x>300</x>
383      <y>301</y>
384     </hint>
385    </hints>
386   </connection>
387   <connection>
388    <sender>PIRKeypadForm</sender>
389    <signal>nineEnabled(bool)</signal>
390    <receiver>nineButton</receiver>
391    <slot>setEnabled(bool)</slot>
392    <hints>
393     <hint type="sourcelabel">
394      <x>399</x>
395      <y>239</y>
396     </hint>
397     <hint type="destinationlabel">
398      <x>499</x>
399      <y>301</y>
400     </hint>
401    </hints>
402   </connection>
403   <connection>
404    <sender>PIRKeypadForm</sender>
405    <signal>zeroEnabled(bool)</signal>
406    <receiver>zeroButton</receiver>
407    <slot>setEnabled(bool)</slot>
408    <hints>
409     <hint type="sourcelabel">
410      <x>399</x>
411      <y>239</y>
412     </hint>
413     <hint type="destinationlabel">
414      <x>300</x>
415      <y>419</y>
416     </hint>
417    </hints>
418   </connection>
419   <connection>
420    <sender>PIRKeypadForm</sender>
421    <signal>clearEnabled(bool)</signal>
422    <receiver>clearButton</receiver>
423    <slot>setEnabled(bool)</slot>
424    <hints>
425     <hint type="sourcelabel">
426      <x>399</x>
427      <y>239</y>
428     </hint>
429     <hint type="destinationlabel">
430      <x>102</x>
431      <y>419</y>
432     </hint>
433    </hints>
434   </connection>
435   <connection>
436    <sender>PIRKeypadForm</sender>
437    <signal>enterEnabled(bool)</signal>
438    <receiver>enterButton</receiver>
439    <slot>setEnabled(bool)</slot>
440    <hints>
441     <hint type="sourcelabel">
442      <x>399</x>
443      <y>239</y>
444     </hint>
445     <hint type="destinationlabel">
446      <x>499</x>
447      <y>419</y>
448     </hint>
449    </hints>
450   </connection>
451   <connection>
452    <sender>PIRKeypadForm</sender>
453    <signal>dashEnabled(bool)</signal>
454    <receiver>dashButton</receiver>
455    <slot>setEnabled(bool)</slot>
456    <hints>
457     <hint type="sourcelabel">
458      <x>399</x>
459      <y>239</y>
460     </hint>
461     <hint type="destinationlabel">
462      <x>697</x>
463      <y>64</y>
464     </hint>
465    </hints>
466   </connection>
467   <connection>
468    <sender>PIRKeypadForm</sender>
469    <signal>plusOneHundredEnabled(bool)</signal>
470    <receiver>plusOneHundredButton</receiver>
471    <slot>setEnabled(bool)</slot>
472    <hints>
473     <hint type="sourcelabel">
474      <x>399</x>
475      <y>239</y>
476     </hint>
477     <hint type="destinationlabel">
478      <x>697</x>
479      <y>182</y>
480     </hint>
481    </hints>
482   </connection>
483   <connection>
484    <sender>PIRKeypadForm</sender>
485    <signal>doubleDigitEnabled(bool)</signal>
486    <receiver>doubleDigitButton</receiver>
487    <slot>setEnabled(bool)</slot>
488    <hints>
489     <hint type="sourcelabel">
490      <x>399</x>
491      <y>239</y>
492     </hint>
493     <hint type="destinationlabel">
494      <x>697</x>
495      <y>301</y>
496     </hint>
497    </hints>
498   </connection>
499   <connection>
500    <sender>PIRKeypadForm</sender>
501    <signal>prevChannelEnabled(bool)</signal>
502    <receiver>prevChannelButton</receiver>
503    <slot>setEnabled(bool)</slot>
504    <hints>
505     <hint type="sourcelabel">
506      <x>399</x>
507      <y>239</y>
508     </hint>
509     <hint type="destinationlabel">
510      <x>697</x>
511      <y>419</y>
512     </hint>
513    </hints>
514   </connection>
515  </connections>
516  <slots>
517   <signal>oneEnabled(bool)</signal>
518   <signal>twoEnabled(bool)</signal>
519   <signal>threeEnabled(bool)</signal>
520   <signal>fourEnabled(bool)</signal>
521   <signal>fiveEnabled(bool)</signal>
522   <signal>sixEnabled(bool)</signal>
523   <signal>sevenEnabled(bool)</signal>
524   <signal>eightEnabled(bool)</signal>
525   <signal>nineEnabled(bool)</signal>
526   <signal>zeroEnabled(bool)</signal>
527   <signal>clearEnabled(bool)</signal>
528   <signal>enterEnabled(bool)</signal>
529   <signal>dashEnabled(bool)</signal>
530   <signal>plusOneHundredEnabled(bool)</signal>
531   <signal>doubleDigitEnabled(bool)</signal>
532   <signal>prevChannelEnabled(bool)</signal>
533  </slots>
534 </ui>