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

Revision 1127, 7.6 kB (checked in by arnonym, 4 years ago)

Try to introduce layouts for some mixers. Please test wether this works for you. Otherwise feel free to roll back...

Line 
1 <!DOCTYPE UI><UI version="3.3" stdsetdef="1">
2 <class>MackieGenericControlUI</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>MackieGenericControlUI</cstring>
23     </property>
24     <property name="geometry">
25         <rect>
26             <x>0</x>
27             <y>0</y>
28             <width>166</width>
29             <height>238</height>
30         </rect>
31     </property>
32     <property name="caption">
33         <string>Mackie Generic Control</string>
34     </property>
35     <vbox>
36         <property name="name">
37             <cstring>unnamed</cstring>
38         </property>
39         <widget class="QLabel">
40             <property name="name">
41                 <cstring>textLabel1</cstring>
42             </property>
43             <property name="text">
44                 <string>NOTE: Mixer config is not documented for Mackie devices.</string>
45             </property>
46             <property name="alignment">
47                 <set>WordBreak|AlignVCenter</set>
48             </property>
49         </widget>
50         <widget class="QGroupBox">
51             <property name="name">
52                 <cstring>groupBox1</cstring>
53             </property>
54             <property name="title">
55                 <string>Hardware Mixer</string>
56             </property>
57             <grid>
58                 <property name="name">
59                     <cstring>unnamed</cstring>
60                 </property>
61                 <widget class="QLabel" row="0" column="1">
62                     <property name="name">
63                         <cstring>textLabel2</cstring>
64                     </property>
65                     <property name="text">
66                         <string>FB1</string>
67                     </property>
68                 </widget>
69                 <widget class="QSlider" row="1" column="1">
70                     <property name="name">
71                         <cstring>sldFB1</cstring>
72                     </property>
73                     <property name="minValue">
74                         <number>0</number>
75                     </property>
76                     <property name="maxValue">
77                         <number>32767</number>
78                     </property>
79                     <property name="lineStep">
80                         <number>10000</number>
81                     </property>
82                     <property name="pageStep">
83                         <number>1000</number>
84                     </property>
85                     <property name="orientation">
86                         <enum>Vertical</enum>
87                     </property>
88                     <property name="tickmarks">
89                         <enum>Both</enum>
90                     </property>
91                     <property name="tickInterval">
92                         <number>10000</number>
93                     </property>
94                 </widget>
95                 <spacer row="1" column="0">
96                     <property name="name">
97                         <cstring>spacer13</cstring>
98                     </property>
99                     <property name="orientation">
100                         <enum>Horizontal</enum>
101                     </property>
102                     <property name="sizeType">
103                         <enum>Expanding</enum>
104                     </property>
105                     <property name="sizeHint">
106                         <size>
107                             <width>40</width>
108                             <height>20</height>
109                         </size>
110                     </property>
111                 </spacer>
112                 <widget class="QLabel" row="0" column="3">
113                     <property name="name">
114                         <cstring>textLabel2_2</cstring>
115                     </property>
116                     <property name="text">
117                         <string>FB2</string>
118                     </property>
119                 </widget>
120                 <widget class="QSlider" row="1" column="3">
121                     <property name="name">
122                         <cstring>sldFB2</cstring>
123                     </property>
124                     <property name="minimumSize">
125                         <size>
126                             <width>0</width>
127                             <height>80</height>
128                         </size>
129                     </property>
130                     <property name="minValue">
131                         <number>0</number>
132                     </property>
133                     <property name="maxValue">
134                         <number>32767</number>
135                     </property>
136                     <property name="lineStep">
137                         <number>10000</number>
138                     </property>
139                     <property name="pageStep">
140                         <number>1000</number>
141                     </property>
142                     <property name="orientation">
143                         <enum>Vertical</enum>
144                     </property>
145                     <property name="tickmarks">
146                         <enum>Both</enum>
147                     </property>
148                     <property name="tickInterval">
149                         <number>10000</number>
150                     </property>
151                 </widget>
152                 <spacer row="1" column="2">
153                     <property name="name">
154                         <cstring>spacer14</cstring>
155                     </property>
156                     <property name="orientation">
157                         <enum>Horizontal</enum>
158                     </property>
159                     <property name="sizeType">
160                         <enum>Expanding</enum>
161                     </property>
162                     <property name="sizeHint">
163                         <size>
164                             <width>40</width>
165                             <height>20</height>
166                         </size>
167                     </property>
168                 </spacer>
169                 <spacer row="1" column="4">
170                     <property name="name">
171                         <cstring>spacer15</cstring>
172                     </property>
173                     <property name="orientation">
174                         <enum>Horizontal</enum>
175                     </property>
176                     <property name="sizeType">
177                         <enum>Expanding</enum>
178                     </property>
179                     <property name="sizeHint">
180                         <size>
181                             <width>40</width>
182                             <height>20</height>
183                         </size>
184                     </property>
185                 </spacer>
186             </grid>
187         </widget>
188     </vbox>
189 </widget>
190 <connections>
191     <connection>
192         <sender>sldFB1</sender>
193         <signal>valueChanged(int)</signal>
194         <receiver>MackieGenericControlUI</receiver>
195         <slot>setFB1(int)</slot>
196     </connection>
197     <connection>
198         <sender>sldFB2</sender>
199         <signal>valueChanged(int)</signal>
200         <receiver>MackieGenericControlUI</receiver>
201         <slot>setFB2(int)</slot>
202     </connection>
203 </connections>
204 <slots>
205     <slot>setFB2(int)</slot>
206     <slot>setFB1(int)</slot>
207     <slot>init()</slot>
208 </slots>
209 <layoutdefaults spacing="6" margin="11"/>
210 </UI>
Note: See TracBrowser for help on using the browser.