root/branches/libffado-2.0/support/mixer/mixer_phase88.ui

Revision 1541, 19.4 kB (checked in by sampo_v2, 15 years ago)

MyFirstCommit?(tm). Order the comboFrontBack so that it matches what the device does. Might not be the cleanest place to put it, but this way you don't need translation logic in both switchFrontState() initValues()

Line 
1 <!DOCTYPE UI><UI version="3.3" stdsetdef="1">
2 <class>Phase88ControlUI</class>
3 <comment>Copyright (C) 2005-2008 by Pieter Palmers
4        
5         This file is part of FFADO
6         FFADO = Free Firewire (pro-)audio drivers for linux
7        
8         FFADO is based upon FreeBoB.
9        
10         This program is free software: you can redistribute it and/or modify
11         it under the terms of the GNU General Public License as published by
12         the Free Software Foundation, either version 2 of the License, or
13         (at your option) version 3 of the License.
14        
15         This program is distributed in the hope that it will be useful,
16         but WITHOUT ANY WARRANTY; without even the implied warranty of
17         MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18         GNU General Public License for more details.
19 </comment>
20 <widget class="QWidget">
21     <property name="name">
22         <cstring>Phase88ControlUI</cstring>
23     </property>
24     <property name="geometry">
25         <rect>
26             <x>0</x>
27             <y>0</y>
28             <width>420</width>
29             <height>439</height>
30         </rect>
31     </property>
32     <property name="caption">
33         <string>Terratec Phase 88 Control</string>
34     </property>
35     <grid>
36         <property name="name">
37             <cstring>unnamed</cstring>
38         </property>
39         <widget class="QLabel" row="0" column="0">
40             <property name="name">
41                 <cstring>textLabel1</cstring>
42             </property>
43             <property name="text">
44                 <string>Mixer bus output:</string>
45             </property>
46         </widget>
47         <widget class="QLabel" row="3" column="0">
48             <property name="name">
49                 <cstring>textLabel1_2_2</cstring>
50             </property>
51             <property name="text">
52                 <string>In 7/8 Input Select</string>
53             </property>
54         </widget>
55         <widget class="QComboBox" row="3" column="1">
56             <item>
57                 <property name="text">
58                     <string>Back</string>
59                 </property>
60             </item>
61             <item>
62                 <property name="text">
63                     <string>Front</string>
64                 </property>
65             </item>
66             <property name="name">
67                 <cstring>comboFrontBack</cstring>
68             </property>
69         </widget>
70         <widget class="QLabel" row="2" column="0">
71             <property name="name">
72                 <cstring>textLabel1_2</cstring>
73             </property>
74             <property name="text">
75                 <string>Waveplay Channel Source</string>
76             </property>
77         </widget>
78         <widget class="QLabel" row="5" column="0">
79             <property name="name">
80                 <cstring>textLabel1_2_3</cstring>
81             </property>
82             <property name="text">
83                 <string>External Sync Source</string>
84             </property>
85         </widget>
86         <widget class="QComboBox" row="5" column="1">
87             <item>
88                 <property name="text">
89                     <string>S/PDIF</string>
90                 </property>
91             </item>
92             <item>
93                 <property name="text">
94                     <string>WordClock</string>
95                 </property>
96             </item>
97             <property name="name">
98                 <cstring>comboExtSync</cstring>
99             </property>
100         </widget>
101         <widget class="QLabel" row="4" column="0">
102             <property name="name">
103                 <cstring>textLabel1_2_3_2</cstring>
104             </property>
105             <property name="text">
106                 <string>Sync Source</string>
107             </property>
108         </widget>
109         <widget class="QComboBox" row="2" column="1">
110             <item>
111                 <property name="text">
112                     <string>S/PDIF</string>
113                 </property>
114             </item>
115             <item>
116                 <property name="text">
117                     <string>CH 1/2</string>
118                 </property>
119             </item>
120             <item>
121                 <property name="text">
122                     <string>CH 3/4</string>
123                 </property>
124             </item>
125             <item>
126                 <property name="text">
127                     <string>CH5/6</string>
128                 </property>
129             </item>
130             <item>
131                 <property name="text">
132                     <string>CH7/8</string>
133                 </property>
134             </item>
135             <property name="name">
136                 <cstring>comboInAssign</cstring>
137             </property>
138         </widget>
139         <widget class="QComboBox" row="4" column="1">
140             <item>
141                 <property name="text">
142                     <string>Internal</string>
143                 </property>
144             </item>
145             <item>
146                 <property name="text">
147                     <string>External</string>
148                 </property>
149             </item>
150             <property name="name">
151                 <cstring>comboSyncSource</cstring>
152             </property>
153         </widget>
154         <widget class="QGroupBox" row="1" column="0" rowspan="1" colspan="2">
155             <property name="name">
156                 <cstring>groupBox1</cstring>
157             </property>
158             <property name="title">
159                 <string>Hardware Mixer</string>
160             </property>
161             <grid>
162                 <property name="name">
163                     <cstring>unnamed</cstring>
164                 </property>
165                 <widget class="QLabel" row="0" column="0">
166                     <property name="name">
167                         <cstring>textLabel2</cstring>
168                     </property>
169                     <property name="text">
170                         <string>1/2</string>
171                     </property>
172                 </widget>
173                 <widget class="QLabel" row="0" column="1">
174                     <property name="name">
175                         <cstring>textLabel2_2</cstring>
176                     </property>
177                     <property name="text">
178                         <string>3/4</string>
179                     </property>
180                 </widget>
181                 <widget class="QLabel" row="0" column="2">
182                     <property name="name">
183                         <cstring>textLabel2_3</cstring>
184                     </property>
185                     <property name="text">
186                         <string>5/6</string>
187                     </property>
188                 </widget>
189                 <widget class="QLabel" row="0" column="3">
190                     <property name="name">
191                         <cstring>textLabel2_4</cstring>
192                     </property>
193                     <property name="text">
194                         <string>7/8</string>
195                     </property>
196                 </widget>
197                 <widget class="QLabel" row="0" column="4">
198                     <property name="name">
199                         <cstring>textLabel2_4_2</cstring>
200                     </property>
201                     <property name="text">
202                         <string>S/PDIF</string>
203                     </property>
204                 </widget>
205                 <widget class="QLabel" row="0" column="6">
206                     <property name="name">
207                         <cstring>textLabel2_4_2_2_2</cstring>
208                     </property>
209                     <property name="text">
210                         <string>Master</string>
211                     </property>
212                 </widget>
213                 <widget class="QSlider" row="1" column="0">
214                     <property name="name">
215                         <cstring>sldInput12</cstring>
216                     </property>
217                     <property name="minValue">
218                         <number>0</number>
219                     </property>
220                     <property name="maxValue">
221                         <number>32767</number>
222                     </property>
223                     <property name="lineStep">
224                         <number>10000</number>
225                     </property>
226                     <property name="pageStep">
227                         <number>1000</number>
228                     </property>
229                     <property name="orientation">
230                         <enum>Vertical</enum>
231                     </property>
232                     <property name="tickmarks">
233                         <enum>Both</enum>
234                     </property>
235                     <property name="tickInterval">
236                         <number>10000</number>
237                     </property>
238                 </widget>
239                 <widget class="QSlider" row="1" column="1">
240                     <property name="name">
241                         <cstring>sldInput34</cstring>
242                     </property>
243                     <property name="minValue">
244                         <number>0</number>
245                     </property>
246                     <property name="maxValue">
247                         <number>32767</number>
248                     </property>
249                     <property name="lineStep">
250                         <number>10000</number>
251                     </property>
252                     <property name="pageStep">
253                         <number>1000</number>
254                     </property>
255                     <property name="orientation">
256                         <enum>Vertical</enum>
257                     </property>
258                     <property name="tickmarks">
259                         <enum>Both</enum>
260                     </property>
261                     <property name="tickInterval">
262                         <number>10000</number>
263                     </property>
264                 </widget>
265                 <widget class="QSlider" row="1" column="2">
266                     <property name="name">
267                         <cstring>sldInput56</cstring>
268                     </property>
269                     <property name="minValue">
270                         <number>0</number>
271                     </property>
272                     <property name="maxValue">
273                         <number>32767</number>
274                     </property>
275                     <property name="lineStep">
276                         <number>10000</number>
277                     </property>
278                     <property name="pageStep">
279                         <number>1000</number>
280                     </property>
281                     <property name="orientation">
282                         <enum>Vertical</enum>
283                     </property>
284                     <property name="tickmarks">
285                         <enum>Both</enum>
286                     </property>
287                     <property name="tickInterval">
288                         <number>10000</number>
289                     </property>
290                 </widget>
291                 <widget class="QSlider" row="1" column="3">
292                     <property name="name">
293                         <cstring>sldInput78</cstring>
294                     </property>
295                     <property name="minValue">
296                         <number>0</number>
297                     </property>
298                     <property name="maxValue">
299                         <number>32767</number>
300                     </property>
301                     <property name="lineStep">
302                         <number>10000</number>
303                     </property>
304                     <property name="pageStep">
305                         <number>1000</number>
306                     </property>
307                     <property name="orientation">
308                         <enum>Vertical</enum>
309                     </property>
310                     <property name="tickmarks">
311                         <enum>Both</enum>
312                     </property>
313                     <property name="tickInterval">
314                         <number>10000</number>
315                     </property>
316                 </widget>
317                 <widget class="QSlider" row="1" column="4">
318                     <property name="name">
319                         <cstring>sldInputSPDIF</cstring>
320                     </property>
321                     <property name="minValue">
322                         <number>0</number>
323                     </property>
324                     <property name="maxValue">
325                         <number>32767</number>
326                     </property>
327                     <property name="lineStep">
328                         <number>10000</number>
329                     </property>
330                     <property name="pageStep">
331                         <number>1000</number>
332                     </property>
333                     <property name="orientation">
334                         <enum>Vertical</enum>
335                     </property>
336                     <property name="tickmarks">
337                         <enum>Both</enum>
338                     </property>
339                     <property name="tickInterval">
340                         <number>10000</number>
341                     </property>
342                 </widget>
343                 <widget class="QSlider" row="1" column="5">
344                     <property name="name">
345                         <cstring>sldInputWavePlay</cstring>
346                     </property>
347                     <property name="minValue">
348                         <number>0</number>
349                     </property>
350                     <property name="maxValue">
351                         <number>32767</number>
352                     </property>
353                     <property name="lineStep">
354                         <number>10000</number>
355                     </property>
356                     <property name="pageStep">
357                         <number>1000</number>
358                     </property>
359                     <property name="orientation">
360                         <enum>Vertical</enum>
361                     </property>
362                     <property name="tickmarks">
363                         <enum>Both</enum>
364                     </property>
365                     <property name="tickInterval">
366                         <number>10000</number>
367                     </property>
368                 </widget>
369                 <widget class="QSlider" row="1" column="6">
370                     <property name="name">
371                         <cstring>sldInputMaster</cstring>
372                     </property>
373                     <property name="minValue">
374                         <number>0</number>
375                     </property>
376                     <property name="maxValue">
377                         <number>32767</number>
378                     </property>
379                     <property name="lineStep">
380                         <number>10000</number>
381                     </property>
382                     <property name="pageStep">
383                         <number>1000</number>
384                     </property>
385                     <property name="orientation">
386                         <enum>Vertical</enum>
387                     </property>
388                     <property name="tickmarks">
389                         <enum>Both</enum>
390                     </property>
391                     <property name="tickInterval">
392                         <number>10000</number>
393                     </property>
394                 </widget>
395                 <widget class="QLabel" row="0" column="5">
396                     <property name="name">
397                         <cstring>textLabel2_4_2_2</cstring>
398                     </property>
399                     <property name="text">
400                         <string>WavePlay</string>
401                     </property>
402                 </widget>
403             </grid>
404         </widget>
405         <widget class="QComboBox" row="0" column="1">
406             <item>
407                 <property name="text">
408                     <string>S/PDIF Out</string>
409                 </property>
410             </item>
411             <item>
412                 <property name="text">
413                     <string>Line Out 1/2</string>
414                 </property>
415             </item>
416             <item>
417                 <property name="text">
418                     <string>Line Out 3/4</string>
419                 </property>
420             </item>
421             <item>
422                 <property name="text">
423                     <string>Line Out 5/6</string>
424                 </property>
425             </item>
426             <item>
427                 <property name="text">
428                     <string>Line Out 7/8</string>
429                 </property>
430             </item>
431             <item>
432                 <property name="text">
433                     <string>None</string>
434                 </property>
435             </item>
436             <property name="name">
437                 <cstring>comboOutAssign</cstring>
438             </property>
439         </widget>
440     </grid>
441 </widget>
442 <connections>
443     <connection>
444         <sender>comboOutAssign</sender>
445         <signal>activated(int)</signal>
446         <receiver>Phase88ControlUI</receiver>
447         <slot>switchOutAssign(int)</slot>
448     </connection>
449     <connection>
450         <sender>comboFrontBack</sender>
451         <signal>activated(int)</signal>
452         <receiver>Phase88ControlUI</receiver>
453         <slot>switchFrontState(int)</slot>
454     </connection>
455     <connection>
456         <sender>comboInAssign</sender>
457         <signal>activated(int)</signal>
458         <receiver>Phase88ControlUI</receiver>
459         <slot>switchWaveInAssign(int)</slot>
460     </connection>
461     <connection>
462         <sender>comboSyncSource</sender>
463         <signal>activated(int)</signal>
464         <receiver>Phase88ControlUI</receiver>
465         <slot>switchSyncSource(int)</slot>
466     </connection>
467     <connection>
468         <sender>comboExtSync</sender>
469         <signal>activated(int)</signal>
470         <receiver>Phase88ControlUI</receiver>
471         <slot>switchExtSyncSource(int)</slot>
472     </connection>
473     <connection>
474         <sender>sldInput12</sender>
475         <signal>valueChanged(int)</signal>
476         <receiver>Phase88ControlUI</receiver>
477         <slot>setVolume12(int)</slot>
478     </connection>
479     <connection>
480         <sender>sldInput34</sender>
481         <signal>valueChanged(int)</signal>
482         <receiver>Phase88ControlUI</receiver>
483         <slot>setVolume34(int)</slot>
484     </connection>
485     <connection>
486         <sender>sldInput56</sender>
487         <signal>valueChanged(int)</signal>
488         <receiver>Phase88ControlUI</receiver>
489         <slot>setVolume56(int)</slot>
490     </connection>
491     <connection>
492         <sender>sldInput78</sender>
493         <signal>valueChanged(int)</signal>
494         <receiver>Phase88ControlUI</receiver>
495         <slot>setVolume78(int)</slot>
496     </connection>
497     <connection>
498         <sender>sldInputMaster</sender>
499         <signal>valueChanged(int)</signal>
500         <receiver>Phase88ControlUI</receiver>
501         <slot>setVolumeMaster(int)</slot>
502     </connection>
503     <connection>
504         <sender>sldInputSPDIF</sender>
505         <signal>valueChanged(int)</signal>
506         <receiver>Phase88ControlUI</receiver>
507         <slot>setVolumeSPDIF(int)</slot>
508     </connection>
509     <connection>
510         <sender>sldInputWavePlay</sender>
511         <signal>valueChanged(int)</signal>
512         <receiver>Phase88ControlUI</receiver>
513         <slot>setVolumeWavePlay(int)</slot>
514     </connection>
515 </connections>
516 <slots>
517     <slot>switchFrontState( int )</slot>
518     <slot>switchOutAssign( int )</slot>
519     <slot>switchWaveInAssign( int )</slot>
520     <slot>switchSyncSource( int )</slot>
521     <slot>switchExtSyncSource( int )</slot>
522     <slot>setVolume12( int )</slot>
523     <slot>setVolume34( int )</slot>
524     <slot>setVolume56( int )</slot>
525     <slot>setVolume78( int )</slot>
526     <slot>setVolumeSPDIF( int )</slot>
527     <slot>setVolumeWavePlay( int )</slot>
528     <slot>setVolumeMaster( int )</slot>
529     <slot>setVolume( QString, int )</slot>
530     <slot>init()</slot>
531     <slot>initValues()</slot>
532     <slot>setSelector(QString, int)</slot>
533 </slots>
534 <layoutdefaults spacing="6" margin="11"/>
535 </UI>
Note: See TracBrowser for help on using the browser.