Update to UI
[pierogi] / forms / pirroombaform.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3  <class>PIRRoombaForm</class>
4  <widget class="QWidget" name="PIRRoombaForm">
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="margin">
18     <number>8</number>
19    </property>
20    <item row="0" column="0">
21     <widget class="QPushButton" name="spotButton">
22      <property name="sizePolicy">
23       <sizepolicy hsizetype="Minimum" vsizetype="Expanding">
24        <horstretch>0</horstretch>
25        <verstretch>0</verstretch>
26       </sizepolicy>
27      </property>
28      <property name="text">
29       <string>Spot</string>
30      </property>
31     </widget>
32    </item>
33    <item row="0" column="1">
34     <widget class="QPushButton" name="forwardButton">
35      <property name="sizePolicy">
36       <sizepolicy hsizetype="Minimum" vsizetype="Expanding">
37        <horstretch>0</horstretch>
38        <verstretch>0</verstretch>
39       </sizepolicy>
40      </property>
41      <property name="text">
42       <string>Forward</string>
43      </property>
44     </widget>
45    </item>
46    <item row="0" column="2">
47     <widget class="QPushButton" name="cleanButton">
48      <property name="sizePolicy">
49       <sizepolicy hsizetype="Minimum" vsizetype="Expanding">
50        <horstretch>0</horstretch>
51        <verstretch>0</verstretch>
52       </sizepolicy>
53      </property>
54      <property name="text">
55       <string>Clean</string>
56      </property>
57     </widget>
58    </item>
59    <item row="1" column="0">
60     <widget class="QPushButton" name="ccwButton">
61      <property name="sizePolicy">
62       <sizepolicy hsizetype="Minimum" vsizetype="Expanding">
63        <horstretch>0</horstretch>
64        <verstretch>0</verstretch>
65       </sizepolicy>
66      </property>
67      <property name="text">
68       <string>Counterclockwise</string>
69      </property>
70     </widget>
71    </item>
72    <item row="1" column="1">
73     <widget class="QPushButton" name="pauseButton">
74      <property name="sizePolicy">
75       <sizepolicy hsizetype="Minimum" vsizetype="Expanding">
76        <horstretch>0</horstretch>
77        <verstretch>0</verstretch>
78       </sizepolicy>
79      </property>
80      <property name="text">
81       <string>Pause</string>
82      </property>
83      <property name="icon">
84       <iconset resource="../PierogiResources.qrc">
85        <normaloff>:/icons/playback_pause_icon&amp;48.png</normaloff>:/icons/playback_pause_icon&amp;48.png</iconset>
86      </property>
87      <property name="iconSize">
88       <size>
89        <width>48</width>
90        <height>48</height>
91       </size>
92      </property>
93     </widget>
94    </item>
95    <item row="1" column="2">
96     <widget class="QPushButton" name="cwButton">
97      <property name="sizePolicy">
98       <sizepolicy hsizetype="Minimum" vsizetype="Expanding">
99        <horstretch>0</horstretch>
100        <verstretch>0</verstretch>
101       </sizepolicy>
102      </property>
103      <property name="text">
104       <string>Clockwise</string>
105      </property>
106     </widget>
107    </item>
108    <item row="2" column="0">
109     <widget class="QPushButton" name="maxButton">
110      <property name="sizePolicy">
111       <sizepolicy hsizetype="Minimum" vsizetype="Expanding">
112        <horstretch>0</horstretch>
113        <verstretch>0</verstretch>
114       </sizepolicy>
115      </property>
116      <property name="text">
117       <string>Max</string>
118      </property>
119     </widget>
120    </item>
121    <item row="2" column="1">
122     <widget class="QPushButton" name="powerButton">
123      <property name="sizePolicy">
124       <sizepolicy hsizetype="Minimum" vsizetype="Expanding">
125        <horstretch>0</horstretch>
126        <verstretch>0</verstretch>
127       </sizepolicy>
128      </property>
129      <property name="text">
130       <string>Power</string>
131      </property>
132      <property name="icon">
133       <iconset resource="../PierogiResources.qrc">
134        <normaloff>:/icons/on-off_icon&amp;48.png</normaloff>:/icons/on-off_icon&amp;48.png</iconset>
135      </property>
136      <property name="iconSize">
137       <size>
138        <width>48</width>
139        <height>48</height>
140       </size>
141      </property>
142     </widget>
143    </item>
144   </layout>
145  </widget>
146  <resources>
147   <include location="../PierogiResources.qrc"/>
148  </resources>
149  <connections>
150   <connection>
151    <sender>PIRRoombaForm</sender>
152    <signal>spotEnabled(bool)</signal>
153    <receiver>spotButton</receiver>
154    <slot>setEnabled(bool)</slot>
155    <hints>
156     <hint type="sourcelabel">
157      <x>399</x>
158      <y>239</y>
159     </hint>
160     <hint type="destinationlabel">
161      <x>136</x>
162      <y>85</y>
163     </hint>
164    </hints>
165   </connection>
166   <connection>
167    <sender>PIRRoombaForm</sender>
168    <signal>forwardEnabled(bool)</signal>
169    <receiver>forwardButton</receiver>
170    <slot>setEnabled(bool)</slot>
171    <hints>
172     <hint type="sourcelabel">
173      <x>399</x>
174      <y>239</y>
175     </hint>
176     <hint type="destinationlabel">
177      <x>399</x>
178      <y>85</y>
179     </hint>
180    </hints>
181   </connection>
182   <connection>
183    <sender>PIRRoombaForm</sender>
184    <signal>cleanEnabled(bool)</signal>
185    <receiver>cleanButton</receiver>
186    <slot>setEnabled(bool)</slot>
187    <hints>
188     <hint type="sourcelabel">
189      <x>399</x>
190      <y>239</y>
191     </hint>
192     <hint type="destinationlabel">
193      <x>663</x>
194      <y>85</y>
195     </hint>
196    </hints>
197   </connection>
198   <connection>
199    <sender>PIRRoombaForm</sender>
200    <signal>ccwEnabled(bool)</signal>
201    <receiver>ccwButton</receiver>
202    <slot>setEnabled(bool)</slot>
203    <hints>
204     <hint type="sourcelabel">
205      <x>399</x>
206      <y>239</y>
207     </hint>
208     <hint type="destinationlabel">
209      <x>136</x>
210      <y>241</y>
211     </hint>
212    </hints>
213   </connection>
214   <connection>
215    <sender>PIRRoombaForm</sender>
216    <signal>pauseEnabled(bool)</signal>
217    <receiver>pauseButton</receiver>
218    <slot>setEnabled(bool)</slot>
219    <hints>
220     <hint type="sourcelabel">
221      <x>399</x>
222      <y>239</y>
223     </hint>
224     <hint type="destinationlabel">
225      <x>399</x>
226      <y>241</y>
227     </hint>
228    </hints>
229   </connection>
230   <connection>
231    <sender>PIRRoombaForm</sender>
232    <signal>cwEnabled(bool)</signal>
233    <receiver>cwButton</receiver>
234    <slot>setEnabled(bool)</slot>
235    <hints>
236     <hint type="sourcelabel">
237      <x>399</x>
238      <y>239</y>
239     </hint>
240     <hint type="destinationlabel">
241      <x>663</x>
242      <y>241</y>
243     </hint>
244    </hints>
245   </connection>
246   <connection>
247    <sender>PIRRoombaForm</sender>
248    <signal>maxEnabled(bool)</signal>
249    <receiver>maxButton</receiver>
250    <slot>setEnabled(bool)</slot>
251    <hints>
252     <hint type="sourcelabel">
253      <x>399</x>
254      <y>239</y>
255     </hint>
256     <hint type="destinationlabel">
257      <x>136</x>
258      <y>398</y>
259     </hint>
260    </hints>
261   </connection>
262   <connection>
263    <sender>PIRRoombaForm</sender>
264    <signal>powerEnabled(bool)</signal>
265    <receiver>powerButton</receiver>
266    <slot>setEnabled(bool)</slot>
267    <hints>
268     <hint type="sourcelabel">
269      <x>399</x>
270      <y>239</y>
271     </hint>
272     <hint type="destinationlabel">
273      <x>399</x>
274      <y>398</y>
275     </hint>
276    </hints>
277   </connection>
278  </connections>
279  <slots>
280   <signal>spotEnabled(bool)</signal>
281   <signal>forwardEnabled(bool)</signal>
282   <signal>cleanEnabled(bool)</signal>
283   <signal>ccwEnabled(bool)</signal>
284   <signal>pauseEnabled(bool)</signal>
285   <signal>cwEnabled(bool)</signal>
286   <signal>maxEnabled(bool)</signal>
287   <signal>powerEnabled(bool)</signal>
288  </slots>
289 </ui>