d27c99b0b73f03cb64271e1a640f44793bcb8d4a
[pierogi] / forms / pirmainform.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3  <class>PIRMainForm</class>
4  <widget class="QWidget" name="PIRMainForm">
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="mainChannelUpButton">
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>Channel Up</string>
39      </property>
40      <property name="icon">
41       <iconset resource="../PierogiResources.qrc">
42        <normaloff>:/icons/br_up_icon&amp;48.png</normaloff>:/icons/br_up_icon&amp;48.png</iconset>
43      </property>
44      <property name="iconSize">
45       <size>
46        <width>48</width>
47        <height>48</height>
48       </size>
49      </property>
50     </widget>
51    </item>
52    <item row="0" column="1" rowspan="2">
53     <layout class="QVBoxLayout" name="verticalLayout_2">
54      <property name="spacing">
55       <number>-1</number>
56      </property>
57      <property name="leftMargin">
58       <number>0</number>
59      </property>
60      <item>
61       <widget class="QPushButton" name="powerButton">
62        <property name="sizePolicy">
63         <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
64          <horstretch>0</horstretch>
65          <verstretch>0</verstretch>
66         </sizepolicy>
67        </property>
68        <property name="layoutDirection">
69         <enum>Qt::LeftToRight</enum>
70        </property>
71        <property name="text">
72         <string>Power</string>
73        </property>
74        <property name="icon">
75         <iconset resource="../PierogiResources.qrc">
76          <normaloff>:/icons/on-off_icon&amp;48.png</normaloff>:/icons/on-off_icon&amp;48.png</iconset>
77        </property>
78        <property name="iconSize">
79         <size>
80          <width>48</width>
81          <height>48</height>
82         </size>
83        </property>
84       </widget>
85      </item>
86      <item>
87       <spacer name="verticalSpacer">
88        <property name="orientation">
89         <enum>Qt::Vertical</enum>
90        </property>
91        <property name="sizeType">
92         <enum>QSizePolicy::Minimum</enum>
93        </property>
94        <property name="sizeHint" stdset="0">
95         <size>
96          <width>20</width>
97          <height>20</height>
98         </size>
99        </property>
100       </spacer>
101      </item>
102      <item>
103       <widget class="QLabel" name="makeLabel">
104        <property name="sizePolicy">
105         <sizepolicy hsizetype="Preferred" vsizetype="Minimum">
106          <horstretch>0</horstretch>
107          <verstretch>0</verstretch>
108         </sizepolicy>
109        </property>
110        <property name="text">
111         <string>Keyset Make</string>
112        </property>
113        <property name="alignment">
114         <set>Qt::AlignCenter</set>
115        </property>
116       </widget>
117      </item>
118      <item>
119       <widget class="QLabel" name="nameLabel">
120        <property name="sizePolicy">
121         <sizepolicy hsizetype="Preferred" vsizetype="Minimum">
122          <horstretch>0</horstretch>
123          <verstretch>0</verstretch>
124         </sizepolicy>
125        </property>
126        <property name="text">
127         <string>Keyset Name</string>
128        </property>
129        <property name="alignment">
130         <set>Qt::AlignCenter</set>
131        </property>
132       </widget>
133      </item>
134      <item>
135       <spacer name="verticalSpacer_2">
136        <property name="orientation">
137         <enum>Qt::Vertical</enum>
138        </property>
139        <property name="sizeType">
140         <enum>QSizePolicy::Minimum</enum>
141        </property>
142        <property name="sizeHint" stdset="0">
143         <size>
144          <width>20</width>
145          <height>20</height>
146         </size>
147        </property>
148       </spacer>
149      </item>
150      <item>
151       <widget class="QPushButton" name="muteButton">
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>Mute</string>
160        </property>
161        <property name="icon">
162         <iconset resource="../PierogiResources.qrc">
163          <normaloff>:/icons/sound_mute_icon&amp;48.png</normaloff>:/icons/sound_mute_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     </layout>
174    </item>
175    <item row="0" column="2">
176     <widget class="QPushButton" name="mainVolumeUp">
177      <property name="sizePolicy">
178       <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
179        <horstretch>0</horstretch>
180        <verstretch>0</verstretch>
181       </sizepolicy>
182      </property>
183      <property name="layoutDirection">
184       <enum>Qt::LeftToRight</enum>
185      </property>
186      <property name="text">
187       <string>Volume Up</string>
188      </property>
189      <property name="icon">
190       <iconset resource="../PierogiResources.qrc">
191        <normaloff>:/icons/sound_high_icon&amp;48.png</normaloff>:/icons/sound_high_icon&amp;48.png</iconset>
192      </property>
193      <property name="iconSize">
194       <size>
195        <width>48</width>
196        <height>48</height>
197       </size>
198      </property>
199     </widget>
200    </item>
201    <item row="1" column="0">
202     <widget class="QPushButton" name="mainChannelDownButton">
203      <property name="sizePolicy">
204       <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
205        <horstretch>0</horstretch>
206        <verstretch>0</verstretch>
207       </sizepolicy>
208      </property>
209      <property name="text">
210       <string>Channel Down</string>
211      </property>
212      <property name="icon">
213       <iconset resource="../PierogiResources.qrc">
214        <normaloff>:/icons/br_down_icon&amp;48.png</normaloff>:/icons/br_down_icon&amp;48.png</iconset>
215      </property>
216      <property name="iconSize">
217       <size>
218        <width>48</width>
219        <height>48</height>
220       </size>
221      </property>
222     </widget>
223    </item>
224    <item row="1" column="2">
225     <widget class="QPushButton" name="mainVolumeDownButton">
226      <property name="sizePolicy">
227       <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
228        <horstretch>0</horstretch>
229        <verstretch>0</verstretch>
230       </sizepolicy>
231      </property>
232      <property name="text">
233       <string>Volume Down</string>
234      </property>
235      <property name="icon">
236       <iconset resource="../PierogiResources.qrc">
237        <normaloff>:/icons/sound_low_icon&amp;48.png</normaloff>:/icons/sound_low_icon&amp;48.png</iconset>
238      </property>
239      <property name="iconSize">
240       <size>
241        <width>48</width>
242        <height>48</height>
243       </size>
244      </property>
245     </widget>
246    </item>
247   </layout>
248  </widget>
249  <resources>
250   <include location="../PierogiResources.qrc"/>
251  </resources>
252  <connections>
253   <connection>
254    <sender>PIRMainForm</sender>
255    <signal>channelUpEnabled(bool)</signal>
256    <receiver>mainChannelUpButton</receiver>
257    <slot>setEnabled(bool)</slot>
258    <hints>
259     <hint type="sourcelabel">
260      <x>399</x>
261      <y>239</y>
262     </hint>
263     <hint type="destinationlabel">
264      <x>135</x>
265      <y>123</y>
266     </hint>
267    </hints>
268   </connection>
269   <connection>
270    <sender>PIRMainForm</sender>
271    <signal>channelDownEnabled(bool)</signal>
272    <receiver>mainChannelDownButton</receiver>
273    <slot>setEnabled(bool)</slot>
274    <hints>
275     <hint type="sourcelabel">
276      <x>399</x>
277      <y>239</y>
278     </hint>
279     <hint type="destinationlabel">
280      <x>135</x>
281      <y>360</y>
282     </hint>
283    </hints>
284   </connection>
285   <connection>
286    <sender>PIRMainForm</sender>
287    <signal>muteEnabled(bool)</signal>
288    <receiver>muteButton</receiver>
289    <slot>setEnabled(bool)</slot>
290    <hints>
291     <hint type="sourcelabel">
292      <x>399</x>
293      <y>239</y>
294     </hint>
295     <hint type="destinationlabel">
296      <x>399</x>
297      <y>383</y>
298     </hint>
299    </hints>
300   </connection>
301   <connection>
302    <sender>PIRMainForm</sender>
303    <signal>powerEnabled(bool)</signal>
304    <receiver>powerButton</receiver>
305    <slot>setEnabled(bool)</slot>
306    <hints>
307     <hint type="sourcelabel">
308      <x>399</x>
309      <y>239</y>
310     </hint>
311     <hint type="destinationlabel">
312      <x>399</x>
313      <y>96</y>
314     </hint>
315    </hints>
316   </connection>
317   <connection>
318    <sender>PIRMainForm</sender>
319    <signal>volumeUpEnabled(bool)</signal>
320    <receiver>mainVolumeUp</receiver>
321    <slot>setEnabled(bool)</slot>
322    <hints>
323     <hint type="sourcelabel">
324      <x>399</x>
325      <y>239</y>
326     </hint>
327     <hint type="destinationlabel">
328      <x>664</x>
329      <y>123</y>
330     </hint>
331    </hints>
332   </connection>
333   <connection>
334    <sender>PIRMainForm</sender>
335    <signal>volumeDownEnabled(bool)</signal>
336    <receiver>mainVolumeDownButton</receiver>
337    <slot>setEnabled(bool)</slot>
338    <hints>
339     <hint type="sourcelabel">
340      <x>399</x>
341      <y>239</y>
342     </hint>
343     <hint type="destinationlabel">
344      <x>664</x>
345      <y>360</y>
346     </hint>
347    </hints>
348   </connection>
349   <connection>
350    <sender>PIRMainForm</sender>
351    <signal>keysetMakeChanged(QString)</signal>
352    <receiver>makeLabel</receiver>
353    <slot>setText(QString)</slot>
354    <hints>
355     <hint type="sourcelabel">
356      <x>399</x>
357      <y>239</y>
358     </hint>
359     <hint type="destinationlabel">
360      <x>399</x>
361      <y>224</y>
362     </hint>
363    </hints>
364   </connection>
365   <connection>
366    <sender>PIRMainForm</sender>
367    <signal>keysetNameChanged(QString)</signal>
368    <receiver>nameLabel</receiver>
369    <slot>setText(QString)</slot>
370    <hints>
371     <hint type="sourcelabel">
372      <x>399</x>
373      <y>239</y>
374     </hint>
375     <hint type="destinationlabel">
376      <x>399</x>
377      <y>250</y>
378     </hint>
379    </hints>
380   </connection>
381  </connections>
382  <slots>
383   <signal>channelUpEnabled(bool)</signal>
384   <signal>channelDownEnabled(bool)</signal>
385   <signal>powerEnabled(bool)</signal>
386   <signal>muteEnabled(bool)</signal>
387   <signal>volumeUpEnabled(bool)</signal>
388   <signal>volumeDownEnabled(bool)</signal>
389   <signal>keysetMakeChanged(QString)</signal>
390   <signal>keysetNameChanged(QString)</signal>
391  </slots>
392 </ui>