1 |
<!DOCTYPE UI><UI version="3.1" stdsetdef="1"> |
2 |
<class>qsamplerInstrumentForm</class> |
3 |
<comment>qsampler - A LinuxSampler Qt GUI Interface. |
4 |
|
5 |
Copyright (C) 2004-2006, rncbc aka Rui Nuno Capela. All rights reserved. |
6 |
|
7 |
This program is free software; you can redistribute it and/or |
8 |
modify it under the terms of the GNU General Public License |
9 |
as published by the Free Software Foundation; either version 2 |
10 |
of the License, or (at your option) any later version. |
11 |
|
12 |
This program is distributed in the hope that it will be useful, |
13 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
14 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
15 |
GNU General Public License for more details. |
16 |
|
17 |
You should have received a copy of the GNU General Public License along |
18 |
with this program; if not, write to the Free Software Foundation, Inc., |
19 |
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. |
20 |
|
21 |
</comment> |
22 |
<author>rncbc aka Rui Nuno Capela</author> |
23 |
<widget class="QDialog"> |
24 |
<property name="name"> |
25 |
<cstring>qsamplerInstrumentForm</cstring> |
26 |
</property> |
27 |
<property name="geometry"> |
28 |
<rect> |
29 |
<x>0</x> |
30 |
<y>0</y> |
31 |
<width>452</width> |
32 |
<height>226</height> |
33 |
</rect> |
34 |
</property> |
35 |
<property name="sizePolicy"> |
36 |
<sizepolicy> |
37 |
<hsizetype>7</hsizetype> |
38 |
<vsizetype>1</vsizetype> |
39 |
<horstretch>0</horstretch> |
40 |
<verstretch>0</verstretch> |
41 |
</sizepolicy> |
42 |
</property> |
43 |
<property name="caption"> |
44 |
<string>Qsampler: MIDI Instrument</string> |
45 |
</property> |
46 |
<property name="focusPolicy"> |
47 |
<enum>StrongFocus</enum> |
48 |
</property> |
49 |
<vbox> |
50 |
<property name="name"> |
51 |
<cstring>unnamed</cstring> |
52 |
</property> |
53 |
<widget class="QLayoutWidget"> |
54 |
<property name="name"> |
55 |
<cstring>layout5</cstring> |
56 |
</property> |
57 |
<grid> |
58 |
<property name="name"> |
59 |
<cstring>unnamed</cstring> |
60 |
</property> |
61 |
<widget class="QComboBox" row="2" column="1" rowspan="1" colspan="9"> |
62 |
<property name="name"> |
63 |
<cstring>EngineNameComboBox</cstring> |
64 |
</property> |
65 |
<property name="sizePolicy"> |
66 |
<sizepolicy> |
67 |
<hsizetype>7</hsizetype> |
68 |
<vsizetype>0</vsizetype> |
69 |
<horstretch>0</horstretch> |
70 |
<verstretch>0</verstretch> |
71 |
</sizepolicy> |
72 |
</property> |
73 |
<property name="toolTip" stdset="0"> |
74 |
<string>Engine name</string> |
75 |
</property> |
76 |
</widget> |
77 |
<widget class="QLabel" row="2" column="0"> |
78 |
<property name="name"> |
79 |
<cstring>EngineNameTextLabel</cstring> |
80 |
</property> |
81 |
<property name="text"> |
82 |
<string>&Engine:</string> |
83 |
</property> |
84 |
<property name="alignment"> |
85 |
<set>AlignVCenter|AlignRight</set> |
86 |
</property> |
87 |
<property name="buddy" stdset="0"> |
88 |
<cstring>EngineNameComboBox</cstring> |
89 |
</property> |
90 |
</widget> |
91 |
<widget class="QLabel" row="0" column="7"> |
92 |
<property name="name"> |
93 |
<cstring>ProgTextLabel</cstring> |
94 |
</property> |
95 |
<property name="text"> |
96 |
<string>&Prog:</string> |
97 |
</property> |
98 |
<property name="alignment"> |
99 |
<set>AlignVCenter|AlignRight</set> |
100 |
</property> |
101 |
<property name="buddy" stdset="0"> |
102 |
<cstring>ProgSpinBox</cstring> |
103 |
</property> |
104 |
</widget> |
105 |
<widget class="QSpinBox" row="0" column="8" rowspan="1" colspan="2"> |
106 |
<property name="name"> |
107 |
<cstring>ProgSpinBox</cstring> |
108 |
</property> |
109 |
<property name="maxValue"> |
110 |
<number>128</number> |
111 |
</property> |
112 |
<property name="minValue"> |
113 |
<number>1</number> |
114 |
</property> |
115 |
<property name="toolTip" stdset="0"> |
116 |
<string>Program (0-127)</string> |
117 |
</property> |
118 |
</widget> |
119 |
<widget class="QLabel" row="5" column="0"> |
120 |
<property name="name"> |
121 |
<cstring>VolumeTextLabel</cstring> |
122 |
</property> |
123 |
<property name="text"> |
124 |
<string>Vol&ume:</string> |
125 |
</property> |
126 |
<property name="alignment"> |
127 |
<set>AlignVCenter|AlignRight</set> |
128 |
</property> |
129 |
<property name="buddy" stdset="0"> |
130 |
<cstring>VolumeSpinBox</cstring> |
131 |
</property> |
132 |
</widget> |
133 |
<widget class="QLabel" row="0" column="0"> |
134 |
<property name="name"> |
135 |
<cstring>MapTextLabel</cstring> |
136 |
</property> |
137 |
<property name="text"> |
138 |
<string>&Map:</string> |
139 |
</property> |
140 |
<property name="alignment"> |
141 |
<set>AlignVCenter|AlignRight</set> |
142 |
</property> |
143 |
<property name="buddy" stdset="0"> |
144 |
<cstring>MapComboBox</cstring> |
145 |
</property> |
146 |
</widget> |
147 |
<widget class="QLabel" row="0" column="3" rowspan="1" colspan="2"> |
148 |
<property name="name"> |
149 |
<cstring>BankTextLabel</cstring> |
150 |
</property> |
151 |
<property name="text"> |
152 |
<string>&Bank:</string> |
153 |
</property> |
154 |
<property name="alignment"> |
155 |
<set>AlignVCenter|AlignRight</set> |
156 |
</property> |
157 |
<property name="buddy" stdset="0"> |
158 |
<cstring>BankSpinBox</cstring> |
159 |
</property> |
160 |
</widget> |
161 |
<widget class="QSpinBox" row="0" column="5" rowspan="1" colspan="2"> |
162 |
<property name="name"> |
163 |
<cstring>BankSpinBox</cstring> |
164 |
</property> |
165 |
<property name="maxValue"> |
166 |
<number>16383</number> |
167 |
</property> |
168 |
<property name="toolTip" stdset="0"> |
169 |
<string>Bank (0-16383)</string> |
170 |
</property> |
171 |
</widget> |
172 |
<widget class="QComboBox" row="3" column="1" rowspan="1" colspan="8"> |
173 |
<property name="name"> |
174 |
<cstring>InstrumentFileComboBox</cstring> |
175 |
</property> |
176 |
<property name="sizePolicy"> |
177 |
<sizepolicy> |
178 |
<hsizetype>7</hsizetype> |
179 |
<vsizetype>0</vsizetype> |
180 |
<horstretch>0</horstretch> |
181 |
<verstretch>0</verstretch> |
182 |
</sizepolicy> |
183 |
</property> |
184 |
<property name="minimumSize"> |
185 |
<size> |
186 |
<width>320</width> |
187 |
<height>0</height> |
188 |
</size> |
189 |
</property> |
190 |
<property name="editable"> |
191 |
<bool>true</bool> |
192 |
</property> |
193 |
<property name="toolTip" stdset="0"> |
194 |
<string>Instrument filename</string> |
195 |
</property> |
196 |
</widget> |
197 |
<widget class="QLabel" row="5" column="4" rowspan="1" colspan="2"> |
198 |
<property name="name"> |
199 |
<cstring>LoadModeNameTextLabel</cstring> |
200 |
</property> |
201 |
<property name="text"> |
202 |
<string>M&ode:</string> |
203 |
</property> |
204 |
<property name="alignment"> |
205 |
<set>AlignVCenter|AlignRight</set> |
206 |
</property> |
207 |
<property name="buddy" stdset="0"> |
208 |
<cstring>LoadModeComboBox</cstring> |
209 |
</property> |
210 |
</widget> |
211 |
<spacer row="5" column="2" rowspan="1" colspan="2"> |
212 |
<property name="name"> |
213 |
<cstring>spacer2</cstring> |
214 |
</property> |
215 |
<property name="orientation"> |
216 |
<enum>Horizontal</enum> |
217 |
</property> |
218 |
<property name="sizeType"> |
219 |
<enum>Expanding</enum> |
220 |
</property> |
221 |
<property name="sizeHint"> |
222 |
<size> |
223 |
<width>119</width> |
224 |
<height>8</height> |
225 |
</size> |
226 |
</property> |
227 |
</spacer> |
228 |
<widget class="QLabel" row="3" column="0"> |
229 |
<property name="name"> |
230 |
<cstring>InstrumentFileTextLabel</cstring> |
231 |
</property> |
232 |
<property name="text"> |
233 |
<string>&Filename:</string> |
234 |
</property> |
235 |
<property name="alignment"> |
236 |
<set>AlignVCenter|AlignRight</set> |
237 |
</property> |
238 |
<property name="buddy" stdset="0"> |
239 |
<cstring>InstrumentFileComboBox</cstring> |
240 |
</property> |
241 |
</widget> |
242 |
<widget class="QLabel" row="1" column="0"> |
243 |
<property name="name"> |
244 |
<cstring>NameTextLabe</cstring> |
245 |
</property> |
246 |
<property name="text"> |
247 |
<string>&Name:</string> |
248 |
</property> |
249 |
<property name="alignment"> |
250 |
<set>AlignVCenter|AlignRight</set> |
251 |
</property> |
252 |
<property name="buddy" stdset="0"> |
253 |
<cstring>NameLineEdit</cstring> |
254 |
</property> |
255 |
</widget> |
256 |
<widget class="QComboBox" row="0" column="1" rowspan="1" colspan="2"> |
257 |
<property name="name"> |
258 |
<cstring>MapComboBox</cstring> |
259 |
</property> |
260 |
<property name="sizePolicy"> |
261 |
<sizepolicy> |
262 |
<hsizetype>7</hsizetype> |
263 |
<vsizetype>0</vsizetype> |
264 |
<horstretch>0</horstretch> |
265 |
<verstretch>0</verstretch> |
266 |
</sizepolicy> |
267 |
</property> |
268 |
<property name="toolTip" stdset="0"> |
269 |
<string>Load mode</string> |
270 |
</property> |
271 |
</widget> |
272 |
<widget class="QLabel" row="4" column="0"> |
273 |
<property name="name"> |
274 |
<cstring>InstrumentNrTextLabel</cstring> |
275 |
</property> |
276 |
<property name="text"> |
277 |
<string>&Instrument:</string> |
278 |
</property> |
279 |
<property name="alignment"> |
280 |
<set>AlignVCenter|AlignRight</set> |
281 |
</property> |
282 |
<property name="buddy" stdset="0"> |
283 |
<cstring>InstrumentNrComboBox</cstring> |
284 |
</property> |
285 |
</widget> |
286 |
<widget class="QComboBox" row="4" column="1" rowspan="1" colspan="9"> |
287 |
<property name="name"> |
288 |
<cstring>InstrumentNrComboBox</cstring> |
289 |
</property> |
290 |
<property name="sizePolicy"> |
291 |
<sizepolicy> |
292 |
<hsizetype>7</hsizetype> |
293 |
<vsizetype>0</vsizetype> |
294 |
<horstretch>0</horstretch> |
295 |
<verstretch>0</verstretch> |
296 |
</sizepolicy> |
297 |
</property> |
298 |
<property name="minimumSize"> |
299 |
<size> |
300 |
<width>320</width> |
301 |
<height>0</height> |
302 |
</size> |
303 |
</property> |
304 |
<property name="toolTip" stdset="0"> |
305 |
<string>Instrument name</string> |
306 |
</property> |
307 |
</widget> |
308 |
<widget class="QSpinBox" row="5" column="1"> |
309 |
<property name="name"> |
310 |
<cstring>VolumeSpinBox</cstring> |
311 |
</property> |
312 |
<property name="suffix"> |
313 |
<string> %</string> |
314 |
</property> |
315 |
<property name="maxValue"> |
316 |
<number>100</number> |
317 |
</property> |
318 |
<property name="toolTip" stdset="0"> |
319 |
<string>Volume (%)</string> |
320 |
</property> |
321 |
</widget> |
322 |
<widget class="QLineEdit" row="1" column="1" rowspan="1" colspan="9"> |
323 |
<property name="name"> |
324 |
<cstring>NameLineEdit</cstring> |
325 |
</property> |
326 |
<property name="toolTip" stdset="0"> |
327 |
<string>Name</string> |
328 |
</property> |
329 |
</widget> |
330 |
<widget class="QComboBox" row="5" column="6" rowspan="1" colspan="4"> |
331 |
<item> |
332 |
<property name="text"> |
333 |
<string>Default</string> |
334 |
</property> |
335 |
</item> |
336 |
<item> |
337 |
<property name="text"> |
338 |
<string>On Demand</string> |
339 |
</property> |
340 |
</item> |
341 |
<item> |
342 |
<property name="text"> |
343 |
<string>On Demand Hold</string> |
344 |
</property> |
345 |
</item> |
346 |
<item> |
347 |
<property name="text"> |
348 |
<string>Persistent</string> |
349 |
</property> |
350 |
</item> |
351 |
<property name="name"> |
352 |
<cstring>LoadModeComboBox</cstring> |
353 |
</property> |
354 |
<property name="sizePolicy"> |
355 |
<sizepolicy> |
356 |
<hsizetype>7</hsizetype> |
357 |
<vsizetype>0</vsizetype> |
358 |
<horstretch>0</horstretch> |
359 |
<verstretch>0</verstretch> |
360 |
</sizepolicy> |
361 |
</property> |
362 |
<property name="toolTip" stdset="0"> |
363 |
<string>Load mode</string> |
364 |
</property> |
365 |
</widget> |
366 |
<widget class="QToolButton" row="3" column="9"> |
367 |
<property name="name"> |
368 |
<cstring>InstrumentFileToolButton</cstring> |
369 |
</property> |
370 |
<property name="sizePolicy"> |
371 |
<sizepolicy> |
372 |
<hsizetype>0</hsizetype> |
373 |
<vsizetype>0</vsizetype> |
374 |
<horstretch>0</horstretch> |
375 |
<verstretch>0</verstretch> |
376 |
</sizepolicy> |
377 |
</property> |
378 |
<property name="minimumSize"> |
379 |
<size> |
380 |
<width>24</width> |
381 |
<height>24</height> |
382 |
</size> |
383 |
</property> |
384 |
<property name="maximumSize"> |
385 |
<size> |
386 |
<width>26</width> |
387 |
<height>26</height> |
388 |
</size> |
389 |
</property> |
390 |
<property name="focusPolicy"> |
391 |
<enum>TabFocus</enum> |
392 |
</property> |
393 |
<property name="text"> |
394 |
<string></string> |
395 |
</property> |
396 |
<property name="iconSet"> |
397 |
<iconset>fileOpen.png</iconset> |
398 |
</property> |
399 |
<property name="toolTip" stdset="0"> |
400 |
<string>Browse for instrument filename</string> |
401 |
</property> |
402 |
</widget> |
403 |
</grid> |
404 |
</widget> |
405 |
<widget class="QLayoutWidget"> |
406 |
<property name="name"> |
407 |
<cstring>layout2</cstring> |
408 |
</property> |
409 |
<hbox> |
410 |
<property name="name"> |
411 |
<cstring>unnamed</cstring> |
412 |
</property> |
413 |
<spacer> |
414 |
<property name="name"> |
415 |
<cstring>spacer3</cstring> |
416 |
</property> |
417 |
<property name="orientation"> |
418 |
<enum>Horizontal</enum> |
419 |
</property> |
420 |
<property name="sizeType"> |
421 |
<enum>Expanding</enum> |
422 |
</property> |
423 |
<property name="sizeHint"> |
424 |
<size> |
425 |
<width>8</width> |
426 |
<height>8</height> |
427 |
</size> |
428 |
</property> |
429 |
</spacer> |
430 |
<widget class="QPushButton"> |
431 |
<property name="name"> |
432 |
<cstring>OkPushButton</cstring> |
433 |
</property> |
434 |
<property name="text"> |
435 |
<string>O&K</string> |
436 |
</property> |
437 |
<property name="accel"> |
438 |
<string>Alt+K</string> |
439 |
</property> |
440 |
<property name="iconSet"> |
441 |
<iconset>formAccept.png</iconset> |
442 |
</property> |
443 |
</widget> |
444 |
<widget class="QPushButton"> |
445 |
<property name="name"> |
446 |
<cstring>CancelPushButton</cstring> |
447 |
</property> |
448 |
<property name="text"> |
449 |
<string>C&ancel</string> |
450 |
</property> |
451 |
<property name="accel"> |
452 |
<string>Alt+A</string> |
453 |
</property> |
454 |
<property name="iconSet"> |
455 |
<iconset>formReject.png</iconset> |
456 |
</property> |
457 |
</widget> |
458 |
</hbox> |
459 |
</widget> |
460 |
</vbox> |
461 |
</widget> |
462 |
<connections> |
463 |
<connection> |
464 |
<sender>MapComboBox</sender> |
465 |
<signal>activated(int)</signal> |
466 |
<receiver>qsamplerInstrumentForm</receiver> |
467 |
<slot>changed()</slot> |
468 |
</connection> |
469 |
<connection> |
470 |
<sender>BankSpinBox</sender> |
471 |
<signal>valueChanged(int)</signal> |
472 |
<receiver>qsamplerInstrumentForm</receiver> |
473 |
<slot>changed()</slot> |
474 |
</connection> |
475 |
<connection> |
476 |
<sender>ProgSpinBox</sender> |
477 |
<signal>valueChanged(int)</signal> |
478 |
<receiver>qsamplerInstrumentForm</receiver> |
479 |
<slot>changed()</slot> |
480 |
</connection> |
481 |
<connection> |
482 |
<sender>NameLineEdit</sender> |
483 |
<signal>textChanged(const QString&)</signal> |
484 |
<receiver>qsamplerInstrumentForm</receiver> |
485 |
<slot>nameChanged(const QString&)</slot> |
486 |
</connection> |
487 |
<connection> |
488 |
<sender>EngineNameComboBox</sender> |
489 |
<signal>activated(int)</signal> |
490 |
<receiver>qsamplerInstrumentForm</receiver> |
491 |
<slot>changed()</slot> |
492 |
</connection> |
493 |
<connection> |
494 |
<sender>InstrumentFileComboBox</sender> |
495 |
<signal>activated(const QString&)</signal> |
496 |
<receiver>qsamplerInstrumentForm</receiver> |
497 |
<slot>updateInstrumentName()</slot> |
498 |
</connection> |
499 |
<connection> |
500 |
<sender>InstrumentFileToolButton</sender> |
501 |
<signal>clicked()</signal> |
502 |
<receiver>qsamplerInstrumentForm</receiver> |
503 |
<slot>openInstrumentFile()</slot> |
504 |
</connection> |
505 |
<connection> |
506 |
<sender>InstrumentNrComboBox</sender> |
507 |
<signal>activated(int)</signal> |
508 |
<receiver>qsamplerInstrumentForm</receiver> |
509 |
<slot>instrumentNrChanged()</slot> |
510 |
</connection> |
511 |
<connection> |
512 |
<sender>VolumeSpinBox</sender> |
513 |
<signal>valueChanged(int)</signal> |
514 |
<receiver>qsamplerInstrumentForm</receiver> |
515 |
<slot>changed()</slot> |
516 |
</connection> |
517 |
<connection> |
518 |
<sender>LoadModeComboBox</sender> |
519 |
<signal>activated(int)</signal> |
520 |
<receiver>qsamplerInstrumentForm</receiver> |
521 |
<slot>changed()</slot> |
522 |
</connection> |
523 |
<connection> |
524 |
<sender>OkPushButton</sender> |
525 |
<signal>clicked()</signal> |
526 |
<receiver>qsamplerInstrumentForm</receiver> |
527 |
<slot>accept()</slot> |
528 |
</connection> |
529 |
<connection> |
530 |
<sender>CancelPushButton</sender> |
531 |
<signal>clicked()</signal> |
532 |
<receiver>qsamplerInstrumentForm</receiver> |
533 |
<slot>reject()</slot> |
534 |
</connection> |
535 |
</connections> |
536 |
<tabstops> |
537 |
<tabstop>MapComboBox</tabstop> |
538 |
<tabstop>BankSpinBox</tabstop> |
539 |
<tabstop>ProgSpinBox</tabstop> |
540 |
<tabstop>NameLineEdit</tabstop> |
541 |
<tabstop>EngineNameComboBox</tabstop> |
542 |
<tabstop>InstrumentFileComboBox</tabstop> |
543 |
<tabstop>InstrumentFileToolButton</tabstop> |
544 |
<tabstop>InstrumentNrComboBox</tabstop> |
545 |
<tabstop>VolumeSpinBox</tabstop> |
546 |
<tabstop>LoadModeComboBox</tabstop> |
547 |
<tabstop>OkPushButton</tabstop> |
548 |
<tabstop>CancelPushButton</tabstop> |
549 |
</tabstops> |
550 |
<forwards> |
551 |
<forward>class qsamplerInstrument;</forward> |
552 |
</forwards> |
553 |
<variables> |
554 |
<variable access="private">qsamplerInstrument *m_pInstrument;</variable> |
555 |
<variable access="private">int m_iDirtySetup;</variable> |
556 |
<variable access="private">int m_iDirtyCount;</variable> |
557 |
<variable access="private">int m_iDirtyName;</variable> |
558 |
</variables> |
559 |
<slots> |
560 |
<slot specifier="non virtual">nameChanged( const QString& sName )</slot> |
561 |
<slot specifier="non virtual">openInstrumentFile()</slot> |
562 |
<slot specifier="non virtual">updateInstrumentName()</slot> |
563 |
<slot specifier="non virtual">instrumentNrChanged()</slot> |
564 |
<slot specifier="non virtual">accept()</slot> |
565 |
<slot specifier="non virtual">reject()</slot> |
566 |
<slot specifier="non virtual">changed()</slot> |
567 |
<slot specifier="non virtual">stabilizeForm()</slot> |
568 |
</slots> |
569 |
<functions> |
570 |
<function access="private" specifier="non virtual">init()</function> |
571 |
<function access="private" specifier="non virtual">destroy()</function> |
572 |
<function specifier="non virtual">setup( qsamplerInstrument *pInstrument )</function> |
573 |
</functions> |
574 |
<pixmapinproject/> |
575 |
<layoutdefaults spacing="4" margin="4"/> |
576 |
</UI> |