1 |
<!DOCTYPE UI><UI version="3.1" stdsetdef="1"> |
<ui version="4.0" > |
2 |
<class>qsamplerChannelForm</class> |
<author>rncbc aka Rui Nuno Capela</author> |
3 |
<comment>qsampler - A LinuxSampler Qt GUI Interface. |
<comment>qsampler - A LinuxSampler Qt GUI Interface. |
4 |
|
|
5 |
Copyright (C) 2004-2005, rncbc aka Rui Nuno Capela. All rights reserved. |
Copyright (C) 2005-2016, rncbc aka Rui Nuno Capela. All rights reserved. |
6 |
|
Copyright (C) 2007, Christian Schoenebeck |
7 |
|
|
8 |
This program is free software; you can redistribute it and/or |
This program is free software; you can redistribute it and/or |
9 |
modify it under the terms of the GNU General Public License |
modify it under the terms of the GNU General Public License |
15 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
16 |
GNU General Public License for more details. |
GNU General Public License for more details. |
17 |
|
|
18 |
You should have received a copy of the GNU General Public License |
You should have received a copy of the GNU General Public License along |
19 |
along with this program; if not, write to the Free Software |
with this program; if not, write to the Free Software Foundation, Inc., |
20 |
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. |
21 |
|
|
22 |
</comment> |
</comment> |
23 |
<author>rncbc aka Rui Nuno Capela</author> |
<class>qsamplerChannelForm</class> |
24 |
<widget class="QDialog"> |
<widget class="QDialog" name="qsamplerChannelForm" > |
25 |
<property name="name"> |
<property name="geometry" > |
26 |
<cstring>qsamplerChannelForm</cstring> |
<rect> |
27 |
</property> |
<x>0</x> |
28 |
<property name="geometry"> |
<y>0</y> |
29 |
<rect> |
<width>460</width> |
30 |
<x>0</x> |
<height>320</height> |
31 |
<y>0</y> |
</rect> |
32 |
<width>455</width> |
</property> |
33 |
<height>303</height> |
<property name="focusPolicy" > |
34 |
</rect> |
<enum>Qt::StrongFocus</enum> |
35 |
</property> |
</property> |
36 |
<property name="sizePolicy"> |
<property name="windowTitle" > |
37 |
|
<string>Qsampler: Channel</string> |
38 |
|
</property> |
39 |
|
<property name="windowIcon" > |
40 |
|
<iconset resource="qsampler.qrc" >:/images/qsamplerChannel.png</iconset> |
41 |
|
</property> |
42 |
|
<layout class="QVBoxLayout" > |
43 |
|
<property name="margin" > |
44 |
|
<number>8</number> |
45 |
|
</property> |
46 |
|
<property name="spacing" > |
47 |
|
<number>4</number> |
48 |
|
</property> |
49 |
|
<item> |
50 |
|
<layout class="QGridLayout" > |
51 |
|
<item row="1" column="2" > |
52 |
|
<widget class="QToolButton" name="InstrumentFileToolButton" > |
53 |
|
<property name="sizePolicy" > |
54 |
<sizepolicy> |
<sizepolicy> |
55 |
|
<hsizetype>0</hsizetype> |
56 |
|
<vsizetype>0</vsizetype> |
57 |
|
<horstretch>0</horstretch> |
58 |
|
<verstretch>0</verstretch> |
59 |
|
</sizepolicy> |
60 |
|
</property> |
61 |
|
<property name="minimumSize" > |
62 |
|
<size> |
63 |
|
<width>24</width> |
64 |
|
<height>24</height> |
65 |
|
</size> |
66 |
|
</property> |
67 |
|
<property name="maximumSize" > |
68 |
|
<size> |
69 |
|
<width>26</width> |
70 |
|
<height>26</height> |
71 |
|
</size> |
72 |
|
</property> |
73 |
|
<property name="focusPolicy" > |
74 |
|
<enum>Qt::TabFocus</enum> |
75 |
|
</property> |
76 |
|
<property name="toolTip" > |
77 |
|
<string>Browse for instrument filename</string> |
78 |
|
</property> |
79 |
|
<property name="text" > |
80 |
|
<string/> |
81 |
|
</property> |
82 |
|
<property name="icon" > |
83 |
|
<iconset resource="qsampler.qrc" >:/images/fileOpen.png</iconset> |
84 |
|
</property> |
85 |
|
</widget> |
86 |
|
</item> |
87 |
|
<item row="2" column="1" colspan="2" > |
88 |
|
<widget class="QComboBox" name="InstrumentNrComboBox" > |
89 |
|
<property name="sizePolicy" > |
90 |
|
<sizepolicy> |
91 |
|
<hsizetype>7</hsizetype> |
92 |
|
<vsizetype>0</vsizetype> |
93 |
|
<horstretch>0</horstretch> |
94 |
|
<verstretch>0</verstretch> |
95 |
|
</sizepolicy> |
96 |
|
</property> |
97 |
|
<property name="minimumSize" > |
98 |
|
<size> |
99 |
|
<width>320</width> |
100 |
|
<height>0</height> |
101 |
|
</size> |
102 |
|
</property> |
103 |
|
<property name="toolTip" > |
104 |
|
<string>Instrument name</string> |
105 |
|
</property> |
106 |
|
</widget> |
107 |
|
</item> |
108 |
|
<item row="0" column="0" > |
109 |
|
<widget class="QLabel" name="EngineNameTextLabel" > |
110 |
|
<property name="text" > |
111 |
|
<string>&Engine:</string> |
112 |
|
</property> |
113 |
|
<property name="alignment" > |
114 |
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
115 |
|
</property> |
116 |
|
<property name="wordWrap" > |
117 |
|
<bool>false</bool> |
118 |
|
</property> |
119 |
|
<property name="buddy" > |
120 |
|
<cstring>EngineNameComboBox</cstring> |
121 |
|
</property> |
122 |
|
</widget> |
123 |
|
</item> |
124 |
|
<item row="0" column="1" colspan="1" > |
125 |
|
<widget class="QComboBox" name="EngineNameComboBox" > |
126 |
|
<property name="sizePolicy" > |
127 |
|
<sizepolicy> |
128 |
|
<hsizetype>7</hsizetype> |
129 |
|
<vsizetype>0</vsizetype> |
130 |
|
<horstretch>0</horstretch> |
131 |
|
<verstretch>0</verstretch> |
132 |
|
</sizepolicy> |
133 |
|
</property> |
134 |
|
<property name="toolTip" > |
135 |
|
<string>Engine name</string> |
136 |
|
</property> |
137 |
|
</widget> |
138 |
|
</item> |
139 |
|
<item row="1" column="0" > |
140 |
|
<widget class="QLabel" name="InstrumentFileTextLabel" > |
141 |
|
<property name="text" > |
142 |
|
<string>&Filename:</string> |
143 |
|
</property> |
144 |
|
<property name="alignment" > |
145 |
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
146 |
|
</property> |
147 |
|
<property name="wordWrap" > |
148 |
|
<bool>false</bool> |
149 |
|
</property> |
150 |
|
<property name="buddy" > |
151 |
|
<cstring>InstrumentFileComboBox</cstring> |
152 |
|
</property> |
153 |
|
</widget> |
154 |
|
</item> |
155 |
|
<item row="2" column="0" > |
156 |
|
<widget class="QLabel" name="InstrumentNrTextLabel" > |
157 |
|
<property name="text" > |
158 |
|
<string>&Instrument:</string> |
159 |
|
</property> |
160 |
|
<property name="alignment" > |
161 |
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
162 |
|
</property> |
163 |
|
<property name="wordWrap" > |
164 |
|
<bool>false</bool> |
165 |
|
</property> |
166 |
|
<property name="buddy" > |
167 |
|
<cstring>InstrumentNrComboBox</cstring> |
168 |
|
</property> |
169 |
|
</widget> |
170 |
|
</item> |
171 |
|
<item row="1" column="1" > |
172 |
|
<widget class="QComboBox" name="InstrumentFileComboBox" > |
173 |
|
<property name="sizePolicy" > |
174 |
|
<sizepolicy> |
175 |
|
<hsizetype>7</hsizetype> |
176 |
|
<vsizetype>0</vsizetype> |
177 |
|
<horstretch>0</horstretch> |
178 |
|
<verstretch>0</verstretch> |
179 |
|
</sizepolicy> |
180 |
|
</property> |
181 |
|
<property name="minimumSize" > |
182 |
|
<size> |
183 |
|
<width>320</width> |
184 |
|
<height>0</height> |
185 |
|
</size> |
186 |
|
</property> |
187 |
|
<property name="toolTip" > |
188 |
|
<string>Instrument filename</string> |
189 |
|
</property> |
190 |
|
<property name="editable" > |
191 |
|
<bool>true</bool> |
192 |
|
</property> |
193 |
|
</widget> |
194 |
|
</item> |
195 |
|
</layout> |
196 |
|
</item> |
197 |
|
<item> |
198 |
|
<widget class="QGroupBox" name="MidiGroupBox" > |
199 |
|
<property name="title" > |
200 |
|
<string>MIDI / Input</string> |
201 |
|
</property> |
202 |
|
<layout class="QGridLayout" > |
203 |
|
<property name="margin" > |
204 |
|
<number>9</number> |
205 |
|
</property> |
206 |
|
<property name="spacing" > |
207 |
|
<number>6</number> |
208 |
|
</property> |
209 |
|
<item row="1" column="1" > |
210 |
|
<layout class="QHBoxLayout" > |
211 |
|
<property name="margin" > |
212 |
|
<number>0</number> |
213 |
|
</property> |
214 |
|
<property name="spacing" > |
215 |
|
<number>4</number> |
216 |
|
</property> |
217 |
|
<item> |
218 |
|
<widget class="QComboBox" name="MidiDeviceComboBox" > |
219 |
|
<property name="sizePolicy" > |
220 |
|
<sizepolicy> |
221 |
<hsizetype>7</hsizetype> |
<hsizetype>7</hsizetype> |
222 |
<vsizetype>1</vsizetype> |
<vsizetype>0</vsizetype> |
223 |
<horstretch>0</horstretch> |
<horstretch>0</horstretch> |
224 |
<verstretch>0</verstretch> |
<verstretch>0</verstretch> |
225 |
</sizepolicy> |
</sizepolicy> |
226 |
</property> |
</property> |
227 |
<property name="caption"> |
<property name="toolTip" > |
228 |
<string>Channel</string> |
<string>MIDI input device</string> |
229 |
</property> |
</property> |
230 |
<property name="icon"> |
</widget> |
231 |
<pixmap>qsamplerChannel.png</pixmap> |
</item> |
232 |
</property> |
<item> |
233 |
<property name="focusPolicy"> |
<widget class="QToolButton" name="MidiDeviceToolButton" > |
234 |
<enum>StrongFocus</enum> |
<property name="sizePolicy" > |
235 |
</property> |
<sizepolicy> |
236 |
<grid> |
<hsizetype>0</hsizetype> |
237 |
<property name="name"> |
<vsizetype>0</vsizetype> |
238 |
<cstring>unnamed</cstring> |
<horstretch>0</horstretch> |
239 |
</property> |
<verstretch>0</verstretch> |
240 |
<widget class="QComboBox" row="0" column="1" rowspan="1" colspan="3"> |
</sizepolicy> |
241 |
<property name="name"> |
</property> |
242 |
<cstring>EngineNameComboBox</cstring> |
<property name="minimumSize" > |
243 |
</property> |
<size> |
244 |
<property name="sizePolicy"> |
<width>24</width> |
245 |
<sizepolicy> |
<height>24</height> |
246 |
<hsizetype>7</hsizetype> |
</size> |
247 |
<vsizetype>0</vsizetype> |
</property> |
248 |
<horstretch>0</horstretch> |
<property name="maximumSize" > |
249 |
<verstretch>0</verstretch> |
<size> |
250 |
</sizepolicy> |
<width>26</width> |
251 |
</property> |
<height>26</height> |
252 |
<property name="toolTip" stdset="0"> |
</size> |
253 |
<string>Engine name</string> |
</property> |
254 |
</property> |
<property name="focusPolicy" > |
255 |
</widget> |
<enum>Qt::TabFocus</enum> |
256 |
<widget class="QLabel" row="0" column="0"> |
</property> |
257 |
<property name="name"> |
<property name="toolTip" > |
258 |
<cstring>EngineNameTextLabel</cstring> |
<string>MIDI input device setup</string> |
259 |
</property> |
</property> |
260 |
<property name="sizePolicy"> |
<property name="text" > |
261 |
<sizepolicy> |
<string/> |
262 |
<hsizetype>1</hsizetype> |
</property> |
263 |
<vsizetype>5</vsizetype> |
<property name="icon" > |
264 |
<horstretch>0</horstretch> |
<iconset resource="qsampler.qrc" >:/images/midi1.png</iconset> |
265 |
<verstretch>0</verstretch> |
</property> |
266 |
</sizepolicy> |
</widget> |
267 |
</property> |
</item> |
268 |
<property name="text"> |
</layout> |
269 |
<string>&Engine:</string> |
</item> |
270 |
</property> |
<item row="2" column="0" > |
271 |
<property name="alignment"> |
<widget class="QLabel" name="MidiMapTextLabel" > |
272 |
<set>AlignVCenter|AlignRight</set> |
<property name="text" > |
273 |
</property> |
<string>&Map:</string> |
274 |
<property name="buddy" stdset="0"> |
</property> |
275 |
<cstring>EngineNameComboBox</cstring> |
<property name="alignment" > |
276 |
</property> |
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
277 |
</widget> |
</property> |
278 |
<widget class="QLabel" row="1" column="0"> |
<property name="wordWrap" > |
279 |
<property name="name"> |
<bool>false</bool> |
280 |
<cstring>InstrumentFileTextLabel</cstring> |
</property> |
281 |
</property> |
<property name="buddy" > |
282 |
<property name="sizePolicy"> |
<cstring>MidiMapComboBox</cstring> |
283 |
<sizepolicy> |
</property> |
284 |
<hsizetype>1</hsizetype> |
</widget> |
285 |
<vsizetype>5</vsizetype> |
</item> |
286 |
<horstretch>0</horstretch> |
<item row="1" column="0" > |
287 |
<verstretch>0</verstretch> |
<widget class="QLabel" name="MidiDeviceTextLabel" > |
288 |
</sizepolicy> |
<property name="text" > |
289 |
</property> |
<string>&Device:</string> |
290 |
<property name="text"> |
</property> |
291 |
<string>&Filename:</string> |
<property name="alignment" > |
292 |
</property> |
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
293 |
<property name="alignment"> |
</property> |
294 |
<set>AlignVCenter|AlignRight</set> |
<property name="wordWrap" > |
295 |
</property> |
<bool>false</bool> |
296 |
<property name="buddy" stdset="0"> |
</property> |
297 |
<cstring>InstrumentFileComboBox</cstring> |
<property name="buddy" > |
298 |
</property> |
<cstring>MidiDeviceComboBox</cstring> |
299 |
</widget> |
</property> |
300 |
<widget class="QPushButton" row="1" column="3"> |
</widget> |
301 |
<property name="name"> |
</item> |
302 |
<cstring>InstrumentFilePushButton</cstring> |
<item row="2" column="1" > |
303 |
</property> |
<layout class="QHBoxLayout" > |
304 |
<property name="sizePolicy"> |
<property name="margin" > |
305 |
<sizepolicy> |
<number>0</number> |
306 |
<hsizetype>0</hsizetype> |
</property> |
307 |
<vsizetype>0</vsizetype> |
<property name="spacing" > |
308 |
<horstretch>0</horstretch> |
<number>4</number> |
309 |
<verstretch>0</verstretch> |
</property> |
310 |
</sizepolicy> |
<item> |
311 |
</property> |
<widget class="QComboBox" name="MidiMapComboBox" > |
312 |
<property name="minimumSize"> |
<property name="sizePolicy" > |
313 |
<size> |
<sizepolicy> |
314 |
<width>24</width> |
<hsizetype>7</hsizetype> |
315 |
<height>24</height> |
<vsizetype>0</vsizetype> |
316 |
</size> |
<horstretch>0</horstretch> |
317 |
</property> |
<verstretch>0</verstretch> |
318 |
<property name="maximumSize"> |
</sizepolicy> |
319 |
<size> |
</property> |
320 |
<width>26</width> |
<property name="toolTip" > |
321 |
<height>26</height> |
<string>Instrument map</string> |
322 |
</size> |
</property> |
323 |
</property> |
</widget> |
324 |
<property name="text"> |
</item> |
325 |
<string></string> |
<item> |
326 |
</property> |
<spacer> |
327 |
<property name="pixmap"> |
<property name="orientation" > |
328 |
<pixmap>fileOpen.png</pixmap> |
<enum>Qt::Horizontal</enum> |
329 |
</property> |
</property> |
330 |
<property name="toolTip" stdset="0"> |
<property name="sizeType" > |
331 |
<string>Browse for instrument filename</string> |
<enum>QSizePolicy::Expanding</enum> |
332 |
</property> |
</property> |
333 |
</widget> |
<property name="sizeHint" > |
334 |
<widget class="QComboBox" row="1" column="1" rowspan="1" colspan="2"> |
<size> |
335 |
<property name="name"> |
<width>160</width> |
336 |
<cstring>InstrumentFileComboBox</cstring> |
<height>20</height> |
337 |
</property> |
</size> |
338 |
<property name="sizePolicy"> |
</property> |
339 |
<sizepolicy> |
</spacer> |
340 |
<hsizetype>7</hsizetype> |
</item> |
341 |
<vsizetype>0</vsizetype> |
</layout> |
342 |
<horstretch>0</horstretch> |
</item> |
343 |
<verstretch>0</verstretch> |
<item row="0" column="0" > |
344 |
</sizepolicy> |
<widget class="QLabel" name="MidiDriverTextLabel" > |
345 |
</property> |
<property name="text" > |
346 |
<property name="minimumSize"> |
<string>&Type:</string> |
347 |
<size> |
</property> |
348 |
<width>320</width> |
<property name="alignment" > |
349 |
<height>0</height> |
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
350 |
</size> |
</property> |
351 |
</property> |
<property name="wordWrap" > |
352 |
<property name="editable"> |
<bool>false</bool> |
353 |
<bool>true</bool> |
</property> |
354 |
</property> |
<property name="buddy" > |
355 |
<property name="toolTip" stdset="0"> |
<cstring>MidiDriverComboBox</cstring> |
356 |
<string>Instrument filename</string> |
</property> |
357 |
</property> |
</widget> |
358 |
</widget> |
</item> |
359 |
<widget class="QLayoutWidget" row="5" column="0" rowspan="1" colspan="4"> |
<item row="0" column="1" > |
360 |
<property name="name"> |
<layout class="QHBoxLayout" > |
361 |
<cstring>layout1</cstring> |
<property name="margin" > |
362 |
</property> |
<number>0</number> |
363 |
<hbox> |
</property> |
364 |
<property name="name"> |
<property name="spacing" > |
365 |
<cstring>unnamed</cstring> |
<number>4</number> |
366 |
</property> |
</property> |
367 |
<spacer> |
<item> |
368 |
<property name="name"> |
<widget class="QComboBox" name="MidiDriverComboBox" > |
369 |
<cstring>spacer3</cstring> |
<property name="sizePolicy" > |
370 |
</property> |
<sizepolicy> |
371 |
<property name="orientation"> |
<hsizetype>5</hsizetype> |
372 |
<enum>Horizontal</enum> |
<vsizetype>0</vsizetype> |
373 |
</property> |
<horstretch>0</horstretch> |
374 |
<property name="sizeType"> |
<verstretch>0</verstretch> |
375 |
<enum>Expanding</enum> |
</sizepolicy> |
376 |
</property> |
</property> |
377 |
<property name="sizeHint"> |
<property name="toolTip" > |
378 |
<size> |
<string>MIDI input driver type</string> |
379 |
<width>8</width> |
</property> |
380 |
<height>8</height> |
</widget> |
381 |
</size> |
</item> |
382 |
</property> |
<item> |
383 |
</spacer> |
<spacer> |
384 |
<widget class="QPushButton"> |
<property name="orientation" > |
385 |
<property name="name"> |
<enum>Qt::Horizontal</enum> |
386 |
<cstring>OkPushButton</cstring> |
</property> |
387 |
</property> |
<property name="sizeType" > |
388 |
<property name="text"> |
<enum>QSizePolicy::Expanding</enum> |
389 |
<string>OK</string> |
</property> |
390 |
</property> |
<property name="sizeHint" > |
391 |
<property name="iconSet"> |
<size> |
392 |
<iconset>formAccept.png</iconset> |
<width>20</width> |
393 |
</property> |
<height>20</height> |
394 |
</widget> |
</size> |
395 |
<widget class="QPushButton"> |
</property> |
396 |
<property name="name"> |
</spacer> |
397 |
<cstring>CancelPushButton</cstring> |
</item> |
398 |
</property> |
<item> |
399 |
<property name="text"> |
<widget class="QLabel" name="MidiPortTextLabel" > |
400 |
<string>Cancel</string> |
<property name="text" > |
401 |
</property> |
<string>&Port:</string> |
402 |
<property name="iconSet"> |
</property> |
403 |
<iconset>formReject.png</iconset> |
<property name="alignment" > |
404 |
</property> |
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
405 |
</widget> |
</property> |
406 |
</hbox> |
<property name="wordWrap" > |
407 |
</widget> |
<bool>false</bool> |
408 |
<widget class="QComboBox" row="2" column="1" rowspan="1" colspan="3"> |
</property> |
409 |
<property name="name"> |
<property name="buddy" > |
410 |
<cstring>InstrumentNrComboBox</cstring> |
<cstring>MidiPortSpinBox</cstring> |
411 |
</property> |
</property> |
412 |
<property name="sizePolicy"> |
</widget> |
413 |
<sizepolicy> |
</item> |
414 |
<hsizetype>7</hsizetype> |
<item> |
415 |
<vsizetype>0</vsizetype> |
<widget class="QSpinBox" name="MidiPortSpinBox" > |
416 |
<horstretch>0</horstretch> |
<property name="toolTip" > |
417 |
<verstretch>0</verstretch> |
<string>MIDI input port number</string> |
418 |
</sizepolicy> |
</property> |
419 |
</property> |
</widget> |
420 |
<property name="minimumSize"> |
</item> |
421 |
<size> |
<item> |
422 |
<width>320</width> |
<widget class="QLabel" name="MidiChannelTextLabel" > |
423 |
<height>0</height> |
<property name="text" > |
424 |
</size> |
<string>&Channel:</string> |
425 |
</property> |
</property> |
426 |
<property name="toolTip" stdset="0"> |
<property name="alignment" > |
427 |
<string>Instrument name</string> |
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
428 |
</property> |
</property> |
429 |
</widget> |
<property name="wordWrap" > |
430 |
<widget class="QLabel" row="2" column="0"> |
<bool>false</bool> |
431 |
<property name="name"> |
</property> |
432 |
<cstring>InstrumentNrTextLabel</cstring> |
<property name="buddy" > |
433 |
</property> |
<cstring>MidiChannelComboBox</cstring> |
434 |
<property name="text"> |
</property> |
435 |
<string>&Instrument:</string> |
</widget> |
436 |
</property> |
</item> |
437 |
<property name="alignment"> |
<item> |
438 |
<set>AlignVCenter|AlignRight</set> |
<widget class="QComboBox" name="MidiChannelComboBox" > |
439 |
</property> |
<property name="toolTip" > |
440 |
<property name="buddy" stdset="0"> |
<string>MIDI input channel</string> |
441 |
<cstring>InstrumentNrComboBox</cstring> |
</property> |
442 |
</property> |
<item> |
443 |
</widget> |
<property name="text" > |
444 |
<widget class="QGroupBox" row="3" column="1" rowspan="1" colspan="3"> |
<string>1</string> |
445 |
<property name="name"> |
</property> |
446 |
<cstring>MidiGroupBox</cstring> |
</item> |
447 |
</property> |
<item> |
448 |
<property name="sizePolicy"> |
<property name="text" > |
449 |
<sizepolicy> |
<string>2</string> |
450 |
<hsizetype>1</hsizetype> |
</property> |
451 |
<vsizetype>5</vsizetype> |
</item> |
452 |
<horstretch>0</horstretch> |
<item> |
453 |
<verstretch>0</verstretch> |
<property name="text" > |
454 |
</sizepolicy> |
<string>3</string> |
455 |
</property> |
</property> |
456 |
<property name="title"> |
</item> |
457 |
<string>MIDI / Input</string> |
<item> |
458 |
</property> |
<property name="text" > |
459 |
<grid> |
<string>4</string> |
460 |
<property name="name"> |
</property> |
461 |
<cstring>unnamed</cstring> |
</item> |
462 |
</property> |
<item> |
463 |
<property name="margin"> |
<property name="text" > |
464 |
<number>8</number> |
<string>5</string> |
465 |
</property> |
</property> |
466 |
<property name="spacing"> |
</item> |
467 |
<number>8</number> |
<item> |
468 |
</property> |
<property name="text" > |
469 |
<widget class="QComboBox" row="0" column="1"> |
<string>6</string> |
470 |
<property name="name"> |
</property> |
471 |
<cstring>MidiDriverComboBox</cstring> |
</item> |
472 |
</property> |
<item> |
473 |
<property name="toolTip" stdset="0"> |
<property name="text" > |
474 |
<string>MIDI input driver type</string> |
<string>7</string> |
475 |
</property> |
</property> |
476 |
</widget> |
</item> |
477 |
<widget class="QLabel" row="0" column="0"> |
<item> |
478 |
<property name="name"> |
<property name="text" > |
479 |
<cstring>MidiDriverTextLabel</cstring> |
<string>8</string> |
480 |
</property> |
</property> |
481 |
<property name="text"> |
</item> |
482 |
<string>&Type:</string> |
<item> |
483 |
</property> |
<property name="text" > |
484 |
<property name="alignment"> |
<string>9</string> |
485 |
<set>AlignVCenter</set> |
</property> |
486 |
</property> |
</item> |
487 |
<property name="buddy" stdset="0"> |
<item> |
488 |
<cstring>MidiDriverComboBox</cstring> |
<property name="text" > |
489 |
</property> |
<string>10</string> |
490 |
</widget> |
</property> |
491 |
<widget class="QComboBox" row="1" column="1" rowspan="1" colspan="6"> |
</item> |
492 |
<property name="name"> |
<item> |
493 |
<cstring>MidiDeviceComboBox</cstring> |
<property name="text" > |
494 |
</property> |
<string>11</string> |
495 |
<property name="toolTip" stdset="0"> |
</property> |
496 |
<string>MIDI input device</string> |
</item> |
497 |
</property> |
<item> |
498 |
</widget> |
<property name="text" > |
499 |
<widget class="QLabel" row="1" column="0"> |
<string>12</string> |
500 |
<property name="name"> |
</property> |
501 |
<cstring>MidiDeviceTextLabel</cstring> |
</item> |
502 |
</property> |
<item> |
503 |
<property name="text"> |
<property name="text" > |
504 |
<string>&Device:</string> |
<string>13</string> |
505 |
</property> |
</property> |
506 |
<property name="alignment"> |
</item> |
507 |
<set>AlignVCenter</set> |
<item> |
508 |
</property> |
<property name="text" > |
509 |
<property name="buddy" stdset="0"> |
<string>14</string> |
510 |
<cstring>MidiDeviceComboBox</cstring> |
</property> |
511 |
</property> |
</item> |
512 |
</widget> |
<item> |
513 |
<widget class="QSpinBox" row="0" column="4"> |
<property name="text" > |
514 |
<property name="name"> |
<string>15</string> |
515 |
<cstring>MidiPortSpinBox</cstring> |
</property> |
516 |
</property> |
</item> |
517 |
<property name="toolTip" stdset="0"> |
<item> |
518 |
<string>MIDI input port number</string> |
<property name="text" > |
519 |
</property> |
<string>16</string> |
520 |
</widget> |
</property> |
521 |
<widget class="QComboBox" row="0" column="6"> |
</item> |
522 |
<item> |
<item> |
523 |
<property name="text"> |
<property name="text" > |
524 |
<string>1</string> |
<string>All</string> |
525 |
</property> |
</property> |
526 |
</item> |
</item> |
527 |
<item> |
</widget> |
528 |
<property name="text"> |
</item> |
529 |
<string>2</string> |
</layout> |
530 |
</property> |
</item> |
531 |
</item> |
</layout> |
532 |
<item> |
</widget> |
533 |
<property name="text"> |
</item> |
534 |
<string>3</string> |
<item> |
535 |
</property> |
<widget class="QGroupBox" name="AudioGroupBox" > |
536 |
</item> |
<property name="title" > |
537 |
<item> |
<string>Audio / Output</string> |
538 |
<property name="text"> |
</property> |
539 |
<string>4</string> |
<layout class="QVBoxLayout" > |
540 |
</property> |
<property name="margin" > |
541 |
</item> |
<number>9</number> |
542 |
<item> |
</property> |
543 |
<property name="text"> |
<property name="spacing" > |
544 |
<string>5</string> |
<number>6</number> |
545 |
</property> |
</property> |
546 |
</item> |
<item> |
547 |
<item> |
<layout class="QGridLayout" > |
548 |
<property name="text"> |
<property name="margin" > |
549 |
<string>6</string> |
<number>0</number> |
550 |
</property> |
</property> |
551 |
</item> |
<property name="spacing" > |
552 |
<item> |
<number>6</number> |
553 |
<property name="text"> |
</property> |
554 |
<string>7</string> |
<item row="1" column="1" > |
555 |
</property> |
<layout class="QHBoxLayout" > |
556 |
</item> |
<property name="margin" > |
557 |
<item> |
<number>0</number> |
558 |
<property name="text"> |
</property> |
559 |
<string>8</string> |
<property name="spacing" > |
560 |
</property> |
<number>4</number> |
561 |
</item> |
</property> |
562 |
<item> |
<item> |
563 |
<property name="text"> |
<widget class="QComboBox" name="AudioDeviceComboBox" > |
564 |
<string>9</string> |
<property name="sizePolicy" > |
565 |
</property> |
<sizepolicy> |
566 |
</item> |
<hsizetype>7</hsizetype> |
567 |
<item> |
<vsizetype>0</vsizetype> |
568 |
<property name="text"> |
<horstretch>0</horstretch> |
569 |
<string>10</string> |
<verstretch>0</verstretch> |
570 |
</property> |
</sizepolicy> |
571 |
</item> |
</property> |
572 |
<item> |
<property name="toolTip" > |
573 |
<property name="text"> |
<string>Audio output device</string> |
574 |
<string>11</string> |
</property> |
575 |
</property> |
</widget> |
576 |
</item> |
</item> |
577 |
<item> |
<item> |
578 |
<property name="text"> |
<widget class="QToolButton" name="AudioDeviceToolButton" > |
579 |
<string>12</string> |
<property name="sizePolicy" > |
580 |
</property> |
<sizepolicy> |
581 |
</item> |
<hsizetype>0</hsizetype> |
582 |
<item> |
<vsizetype>0</vsizetype> |
583 |
<property name="text"> |
<horstretch>0</horstretch> |
584 |
<string>13</string> |
<verstretch>0</verstretch> |
585 |
</property> |
</sizepolicy> |
586 |
</item> |
</property> |
587 |
<item> |
<property name="minimumSize" > |
588 |
<property name="text"> |
<size> |
589 |
<string>14</string> |
<width>24</width> |
590 |
</property> |
<height>24</height> |
591 |
</item> |
</size> |
592 |
<item> |
</property> |
593 |
<property name="text"> |
<property name="maximumSize" > |
594 |
<string>15</string> |
<size> |
595 |
</property> |
<width>26</width> |
596 |
</item> |
<height>26</height> |
597 |
<item> |
</size> |
598 |
<property name="text"> |
</property> |
599 |
<string>16</string> |
<property name="focusPolicy" > |
600 |
</property> |
<enum>Qt::TabFocus</enum> |
601 |
</item> |
</property> |
602 |
<item> |
<property name="toolTip" > |
603 |
<property name="text"> |
<string>Audio output device setup</string> |
604 |
<string>All</string> |
</property> |
605 |
</property> |
<property name="text" > |
606 |
</item> |
<string/> |
607 |
<property name="name"> |
</property> |
608 |
<cstring>MidiChannelComboBox</cstring> |
<property name="icon" > |
609 |
</property> |
<iconset resource="qsampler.qrc" >:/images/audio1.png</iconset> |
610 |
<property name="toolTip" stdset="0"> |
</property> |
611 |
<string>MIDI input channel</string> |
</widget> |
612 |
</property> |
</item> |
613 |
</widget> |
</layout> |
614 |
<widget class="QLabel" row="0" column="5"> |
</item> |
615 |
<property name="name"> |
<item row="1" column="0" > |
616 |
<cstring>MidiChannelTextLabel</cstring> |
<widget class="QLabel" name="AudioDeviceTextLabel" > |
617 |
</property> |
<property name="text" > |
618 |
<property name="text"> |
<string>&Device:</string> |
619 |
<string>&Channel:</string> |
</property> |
620 |
</property> |
<property name="alignment" > |
621 |
<property name="alignment"> |
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
622 |
<set>AlignVCenter|AlignRight</set> |
</property> |
623 |
</property> |
<property name="wordWrap" > |
624 |
<property name="buddy" stdset="0"> |
<bool>false</bool> |
625 |
<cstring>MidiChannelComboBox</cstring> |
</property> |
626 |
</property> |
<property name="buddy" > |
627 |
</widget> |
<cstring>AudioDeviceComboBox</cstring> |
628 |
<spacer row="0" column="2"> |
</property> |
629 |
<property name="name"> |
</widget> |
630 |
<cstring>spacer1</cstring> |
</item> |
631 |
</property> |
<item row="0" column="1" > |
632 |
<property name="orientation"> |
<layout class="QHBoxLayout" > |
633 |
<enum>Horizontal</enum> |
<property name="margin" > |
634 |
</property> |
<number>0</number> |
635 |
<property name="sizeType"> |
</property> |
636 |
<enum>Expanding</enum> |
<property name="spacing" > |
637 |
</property> |
<number>4</number> |
638 |
<property name="sizeHint"> |
</property> |
639 |
<size> |
<item> |
640 |
<width>16</width> |
<widget class="QComboBox" name="AudioDriverComboBox" > |
641 |
<height>8</height> |
<property name="sizePolicy" > |
642 |
</size> |
<sizepolicy> |
643 |
</property> |
<hsizetype>5</hsizetype> |
644 |
</spacer> |
<vsizetype>0</vsizetype> |
645 |
<widget class="QLabel" row="0" column="3"> |
<horstretch>0</horstretch> |
646 |
<property name="name"> |
<verstretch>0</verstretch> |
647 |
<cstring>MidiPortTextLabel</cstring> |
</sizepolicy> |
648 |
</property> |
</property> |
649 |
<property name="text"> |
<property name="toolTip" > |
650 |
<string>&Port:</string> |
<string>Audio output driver type</string> |
651 |
</property> |
</property> |
652 |
<property name="alignment"> |
</widget> |
653 |
<set>AlignVCenter|AlignRight</set> |
</item> |
654 |
</property> |
<item> |
655 |
<property name="buddy" stdset="0"> |
<spacer> |
656 |
<cstring>MidiPortSpinBox</cstring> |
<property name="orientation" > |
657 |
</property> |
<enum>Qt::Horizontal</enum> |
658 |
</widget> |
</property> |
659 |
</grid> |
<property name="sizeType" > |
660 |
</widget> |
<enum>QSizePolicy::Expanding</enum> |
661 |
<widget class="QGroupBox" row="4" column="1" rowspan="1" colspan="3"> |
</property> |
662 |
<property name="name"> |
<property name="sizeHint" > |
663 |
<cstring>AudioGroupBox</cstring> |
<size> |
664 |
</property> |
<width>20</width> |
665 |
<property name="sizePolicy"> |
<height>20</height> |
666 |
<sizepolicy> |
</size> |
667 |
<hsizetype>1</hsizetype> |
</property> |
668 |
<vsizetype>5</vsizetype> |
</spacer> |
669 |
<horstretch>0</horstretch> |
</item> |
670 |
<verstretch>0</verstretch> |
</layout> |
671 |
</sizepolicy> |
</item> |
672 |
</property> |
<item row="0" column="0" > |
673 |
<property name="title"> |
<widget class="QLabel" name="AudioDriverTextLabel" > |
674 |
<string>Audio / Output</string> |
<property name="text" > |
675 |
</property> |
<string>&Type:</string> |
676 |
<property name="alignment"> |
</property> |
677 |
<set>AlignAuto</set> |
<property name="alignment" > |
678 |
</property> |
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
679 |
<grid> |
</property> |
680 |
<property name="name"> |
<property name="wordWrap" > |
681 |
<cstring>unnamed</cstring> |
<bool>false</bool> |
682 |
</property> |
</property> |
683 |
<property name="margin"> |
<property name="buddy" > |
684 |
<number>8</number> |
<cstring>AudioDriverComboBox</cstring> |
685 |
</property> |
</property> |
686 |
<property name="spacing"> |
</widget> |
687 |
<number>8</number> |
</item> |
688 |
</property> |
</layout> |
689 |
<widget class="QComboBox" row="1" column="1" rowspan="1" colspan="2"> |
</item> |
690 |
<property name="name"> |
<item> |
691 |
<cstring>AudioDeviceComboBox</cstring> |
<widget class="QTableView" name="AudioRoutingTable" > |
692 |
</property> |
<property name="sizePolicy" > |
693 |
<property name="toolTip" stdset="0"> |
<sizepolicy> |
694 |
<string>Audio output device</string> |
<hsizetype>7</hsizetype> |
695 |
</property> |
<vsizetype>7</vsizetype> |
696 |
</widget> |
<horstretch>0</horstretch> |
697 |
<widget class="QComboBox" row="0" column="1"> |
<verstretch>0</verstretch> |
698 |
<property name="name"> |
</sizepolicy> |
699 |
<cstring>AudioDriverComboBox</cstring> |
</property> |
700 |
</property> |
<property name="toolTip" > |
701 |
<property name="toolTip" stdset="0"> |
<string>Audio routing table</string> |
702 |
<string>Audio output driver type</string> |
</property> |
703 |
</property> |
<property name="minimumSize" > |
704 |
</widget> |
<size> |
705 |
<widget class="QLabel" row="0" column="0"> |
<width>320</width> |
706 |
<property name="name"> |
<height>80</height> |
707 |
<cstring>AudioDriverTextLabel</cstring> |
</size> |
708 |
</property> |
</property> |
709 |
<property name="text"> |
</widget> |
710 |
<string>&Type:</string> |
</item> |
711 |
</property> |
</layout> |
712 |
<property name="alignment"> |
</widget> |
713 |
<set>AlignVCenter</set> |
</item> |
714 |
</property> |
<item> |
715 |
<property name="buddy" stdset="0"> |
<widget class="QDialogButtonBox" name="DialogButtonBox"> |
716 |
<cstring>AudioDriverComboBox</cstring> |
<property name="orientation"> |
717 |
</property> |
<enum>Qt::Horizontal</enum> |
718 |
</widget> |
</property> |
719 |
<widget class="QLabel" row="1" column="0"> |
<property name="standardButtons"> |
720 |
<property name="name"> |
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> |
721 |
<cstring>AudioDeviceTextLabel</cstring> |
</property> |
722 |
</property> |
</widget> |
723 |
<property name="text"> |
</item> |
724 |
<string>&Device:</string> |
</layout> |
725 |
</property> |
</widget> |
726 |
<property name="alignment"> |
<layoutdefault spacing="4" margin="8" /> |
727 |
<set>AlignVCenter</set> |
<tabstops> |
728 |
</property> |
<tabstop>EngineNameComboBox</tabstop> |
729 |
<property name="buddy" stdset="0"> |
<tabstop>InstrumentFileComboBox</tabstop> |
730 |
<cstring>AudioDeviceComboBox</cstring> |
<tabstop>InstrumentFileToolButton</tabstop> |
731 |
</property> |
<tabstop>InstrumentNrComboBox</tabstop> |
732 |
</widget> |
<tabstop>DialogButtonBox</tabstop> |
733 |
<spacer row="0" column="2"> |
</tabstops> |
734 |
<property name="name"> |
<resources> |
735 |
<cstring>spacer2</cstring> |
<include location="qsampler.qrc" /> |
736 |
</property> |
</resources> |
737 |
<property name="orientation"> |
</ui> |
|
<enum>Horizontal</enum> |
|
|
</property> |
|
|
<property name="sizeType"> |
|
|
<enum>Expanding</enum> |
|
|
</property> |
|
|
<property name="sizeHint"> |
|
|
<size> |
|
|
<width>210</width> |
|
|
<height>8</height> |
|
|
</size> |
|
|
</property> |
|
|
</spacer> |
|
|
</grid> |
|
|
</widget> |
|
|
</grid> |
|
|
</widget> |
|
|
<connections> |
|
|
<connection> |
|
|
<sender>EngineNameComboBox</sender> |
|
|
<signal>activated(int)</signal> |
|
|
<receiver>qsamplerChannelForm</receiver> |
|
|
<slot>optionsChanged()</slot> |
|
|
</connection> |
|
|
<connection> |
|
|
<sender>InstrumentFileComboBox</sender> |
|
|
<signal>textChanged(const QString &)</signal> |
|
|
<receiver>qsamplerChannelForm</receiver> |
|
|
<slot>updateInstrumentName()</slot> |
|
|
</connection> |
|
|
<connection> |
|
|
<sender>InstrumentFilePushButton</sender> |
|
|
<signal>clicked()</signal> |
|
|
<receiver>qsamplerChannelForm</receiver> |
|
|
<slot>openInstrumentFile()</slot> |
|
|
</connection> |
|
|
<connection> |
|
|
<sender>InstrumentNrComboBox</sender> |
|
|
<signal>activated(int)</signal> |
|
|
<receiver>qsamplerChannelForm</receiver> |
|
|
<slot>optionsChanged()</slot> |
|
|
</connection> |
|
|
<connection> |
|
|
<sender>MidiDriverComboBox</sender> |
|
|
<signal>activated(const QString &)</signal> |
|
|
<receiver>qsamplerChannelForm</receiver> |
|
|
<slot>selectMidiDriver(const QString&)</slot> |
|
|
</connection> |
|
|
<connection> |
|
|
<sender>MidiDeviceComboBox</sender> |
|
|
<signal>activated(int)</signal> |
|
|
<receiver>qsamplerChannelForm</receiver> |
|
|
<slot>selectMidiDevice(int)</slot> |
|
|
</connection> |
|
|
<connection> |
|
|
<sender>MidiPortSpinBox</sender> |
|
|
<signal>valueChanged(int)</signal> |
|
|
<receiver>qsamplerChannelForm</receiver> |
|
|
<slot>optionsChanged()</slot> |
|
|
</connection> |
|
|
<connection> |
|
|
<sender>MidiChannelComboBox</sender> |
|
|
<signal>activated(int)</signal> |
|
|
<receiver>qsamplerChannelForm</receiver> |
|
|
<slot>optionsChanged()</slot> |
|
|
</connection> |
|
|
<connection> |
|
|
<sender>AudioDriverComboBox</sender> |
|
|
<signal>activated(const QString &)</signal> |
|
|
<receiver>qsamplerChannelForm</receiver> |
|
|
<slot>selectAudioDriver(const QString&)</slot> |
|
|
</connection> |
|
|
<connection> |
|
|
<sender>AudioDeviceComboBox</sender> |
|
|
<signal>activated(int)</signal> |
|
|
<receiver>qsamplerChannelForm</receiver> |
|
|
<slot>selectAudioDevice(int)</slot> |
|
|
</connection> |
|
|
<connection> |
|
|
<sender>OkPushButton</sender> |
|
|
<signal>clicked()</signal> |
|
|
<receiver>qsamplerChannelForm</receiver> |
|
|
<slot>accept()</slot> |
|
|
</connection> |
|
|
<connection> |
|
|
<sender>CancelPushButton</sender> |
|
|
<signal>clicked()</signal> |
|
|
<receiver>qsamplerChannelForm</receiver> |
|
|
<slot>reject()</slot> |
|
|
</connection> |
|
|
</connections> |
|
|
<tabstops> |
|
|
<tabstop>EngineNameComboBox</tabstop> |
|
|
<tabstop>InstrumentFileComboBox</tabstop> |
|
|
<tabstop>InstrumentFilePushButton</tabstop> |
|
|
<tabstop>InstrumentNrComboBox</tabstop> |
|
|
<tabstop>MidiDriverComboBox</tabstop> |
|
|
<tabstop>MidiPortSpinBox</tabstop> |
|
|
<tabstop>MidiChannelComboBox</tabstop> |
|
|
<tabstop>MidiDeviceComboBox</tabstop> |
|
|
<tabstop>AudioDriverComboBox</tabstop> |
|
|
<tabstop>AudioDeviceComboBox</tabstop> |
|
|
<tabstop>OkPushButton</tabstop> |
|
|
<tabstop>CancelPushButton</tabstop> |
|
|
</tabstops> |
|
|
<includes> |
|
|
<include location="local" impldecl="in declaration">qsamplerDevice.h</include> |
|
|
<include location="local" impldecl="in declaration">qsamplerChannel.h</include> |
|
|
<include location="local" impldecl="in implementation">qsamplerChannelForm.ui.h</include> |
|
|
</includes> |
|
|
<variables> |
|
|
<variable access="private">qsamplerChannel *m_pChannel;</variable> |
|
|
<variable access="private">int m_iDirtySetup;</variable> |
|
|
<variable access="private">int m_iDirtyCount;</variable> |
|
|
<variable access="private">QPtrList < qsamplerDevice > m_audioDevices;</variable> |
|
|
<variable access="private">QPtrList < qsamplerDevice > m_midiDevices;</variable> |
|
|
</variables> |
|
|
<slots> |
|
|
<slot specifier="non virtual">accept()</slot> |
|
|
<slot specifier="non virtual">reject()</slot> |
|
|
<slot specifier="non virtual">openInstrumentFile()</slot> |
|
|
<slot specifier="non virtual">updateInstrumentName()</slot> |
|
|
<slot specifier="non virtual">selectMidiDriver( const QString & sMidiDriver )</slot> |
|
|
<slot specifier="non virtual">selectMidiDevice( int iMidiItem )</slot> |
|
|
<slot specifier="non virtual">selectAudioDriver( const QString & sAudioDriver )</slot> |
|
|
<slot specifier="non virtual">selectAudioDevice( int iAudioItem )</slot> |
|
|
<slot specifier="non virtual">optionsChanged()</slot> |
|
|
<slot specifier="non virtual">stabilizeForm()</slot> |
|
|
</slots> |
|
|
<functions> |
|
|
<function access="private" specifier="non virtual">init()</function> |
|
|
<function access="private" specifier="non virtual">destroy()</function> |
|
|
<function specifier="non virtual">setup( qsamplerChannel *pChannel )</function> |
|
|
</functions> |
|
|
<pixmapinproject/> |
|
|
<layoutdefaults spacing="8" margin="8"/> |
|
|
</UI> |
|