2 |
<class>qsamplerChannelForm</class> |
<class>qsamplerChannelForm</class> |
3 |
<comment>qsampler - A LinuxSampler Qt GUI Interface. |
<comment>qsampler - A LinuxSampler Qt GUI Interface. |
4 |
|
|
5 |
Copyright (C) 2004, rncbc aka Rui Nuno Capela. All rights reserved. |
Copyright (C) 2004-2005, rncbc aka Rui Nuno Capela. All rights reserved. |
6 |
|
|
7 |
This program is free software; you can redistribute it and/or |
This program is free software; you can redistribute it and/or |
8 |
modify it under the terms of the GNU General Public License |
modify it under the terms of the GNU General Public License |
28 |
<rect> |
<rect> |
29 |
<x>0</x> |
<x>0</x> |
30 |
<y>0</y> |
<y>0</y> |
31 |
<width>430</width> |
<width>455</width> |
32 |
<height>255</height> |
<height>303</height> |
33 |
</rect> |
</rect> |
34 |
</property> |
</property> |
35 |
<property name="sizePolicy"> |
<property name="sizePolicy"> |
93 |
</widget> |
</widget> |
94 |
<widget class="QLabel" row="1" column="0"> |
<widget class="QLabel" row="1" column="0"> |
95 |
<property name="name"> |
<property name="name"> |
96 |
<cstring>InstrumentTextLabel</cstring> |
<cstring>InstrumentFileTextLabel</cstring> |
97 |
</property> |
</property> |
98 |
<property name="sizePolicy"> |
<property name="sizePolicy"> |
99 |
<sizepolicy> |
<sizepolicy> |
104 |
</sizepolicy> |
</sizepolicy> |
105 |
</property> |
</property> |
106 |
<property name="text"> |
<property name="text"> |
107 |
<string>&Instrument:</string> |
<string>&Filename:</string> |
108 |
</property> |
</property> |
109 |
<property name="alignment"> |
<property name="alignment"> |
110 |
<set>AlignVCenter|AlignRight</set> |
<set>AlignVCenter|AlignRight</set> |
221 |
</widget> |
</widget> |
222 |
</hbox> |
</hbox> |
223 |
</widget> |
</widget> |
224 |
<widget class="QSpinBox" row="2" column="1"> |
<widget class="QComboBox" row="2" column="1" rowspan="1" colspan="3"> |
225 |
<property name="name"> |
<property name="name"> |
226 |
<cstring>InstrumentNrSpinBox</cstring> |
<cstring>InstrumentNrComboBox</cstring> |
227 |
</property> |
</property> |
228 |
<property name="maximumSize"> |
<property name="sizePolicy"> |
229 |
|
<sizepolicy> |
230 |
|
<hsizetype>7</hsizetype> |
231 |
|
<vsizetype>0</vsizetype> |
232 |
|
<horstretch>0</horstretch> |
233 |
|
<verstretch>0</verstretch> |
234 |
|
</sizepolicy> |
235 |
|
</property> |
236 |
|
<property name="minimumSize"> |
237 |
<size> |
<size> |
238 |
<width>40</width> |
<width>320</width> |
239 |
<height>32767</height> |
<height>0</height> |
240 |
</size> |
</size> |
241 |
</property> |
</property> |
242 |
<property name="toolTip" stdset="0"> |
<property name="toolTip" stdset="0"> |
243 |
<string>Instrument index</string> |
<string>Instrument name</string> |
244 |
</property> |
</property> |
245 |
</widget> |
</widget> |
246 |
<widget class="QLabel" row="2" column="0"> |
<widget class="QLabel" row="2" column="0"> |
248 |
<cstring>InstrumentNrTextLabel</cstring> |
<cstring>InstrumentNrTextLabel</cstring> |
249 |
</property> |
</property> |
250 |
<property name="text"> |
<property name="text"> |
251 |
<string>Inde&x:</string> |
<string>&Instrument:</string> |
252 |
</property> |
</property> |
253 |
<property name="alignment"> |
<property name="alignment"> |
254 |
<set>AlignVCenter|AlignRight</set> |
<set>AlignVCenter|AlignRight</set> |
255 |
</property> |
</property> |
256 |
<property name="buddy" stdset="0"> |
<property name="buddy" stdset="0"> |
257 |
<cstring>InstrumentNrSpinBox</cstring> |
<cstring>InstrumentNrComboBox</cstring> |
|
</property> |
|
|
</widget> |
|
|
<widget class="QLabel" row="2" column="2" rowspan="1" colspan="2"> |
|
|
<property name="name"> |
|
|
<cstring>InstrumentNameTextLabel</cstring> |
|
|
</property> |
|
|
<property name="sizePolicy"> |
|
|
<sizepolicy> |
|
|
<hsizetype>1</hsizetype> |
|
|
<vsizetype>5</vsizetype> |
|
|
<horstretch>0</horstretch> |
|
|
<verstretch>0</verstretch> |
|
|
</sizepolicy> |
|
|
</property> |
|
|
<property name="toolTip" stdset="0"> |
|
|
<string>Instrument name</string> |
|
258 |
</property> |
</property> |
259 |
</widget> |
</widget> |
260 |
<widget class="QGroupBox" row="3" column="1" rowspan="1" colspan="3"> |
<widget class="QGroupBox" row="3" column="1" rowspan="1" colspan="3"> |
272 |
<property name="title"> |
<property name="title"> |
273 |
<string>MIDI / Input</string> |
<string>MIDI / Input</string> |
274 |
</property> |
</property> |
275 |
<hbox> |
<grid> |
276 |
<property name="name"> |
<property name="name"> |
277 |
<cstring>unnamed</cstring> |
<cstring>unnamed</cstring> |
278 |
</property> |
</property> |
282 |
<property name="spacing"> |
<property name="spacing"> |
283 |
<number>8</number> |
<number>8</number> |
284 |
</property> |
</property> |
285 |
<widget class="QLabel"> |
<widget class="QComboBox" row="0" column="1"> |
286 |
|
<property name="name"> |
287 |
|
<cstring>MidiDriverComboBox</cstring> |
288 |
|
</property> |
289 |
|
<property name="toolTip" stdset="0"> |
290 |
|
<string>MIDI input driver type</string> |
291 |
|
</property> |
292 |
|
</widget> |
293 |
|
<widget class="QLabel" row="0" column="0"> |
294 |
<property name="name"> |
<property name="name"> |
295 |
<cstring>MidiDriverTextLabel</cstring> |
<cstring>MidiDriverTextLabel</cstring> |
296 |
</property> |
</property> |
298 |
<string>&Type:</string> |
<string>&Type:</string> |
299 |
</property> |
</property> |
300 |
<property name="alignment"> |
<property name="alignment"> |
301 |
<set>AlignVCenter|AlignRight</set> |
<set>AlignVCenter</set> |
302 |
</property> |
</property> |
303 |
<property name="buddy" stdset="0"> |
<property name="buddy" stdset="0"> |
304 |
<cstring>MidiDriverComboBox</cstring> |
<cstring>MidiDriverComboBox</cstring> |
305 |
</property> |
</property> |
306 |
</widget> |
</widget> |
307 |
<widget class="QComboBox"> |
<widget class="QComboBox" row="1" column="1" rowspan="1" colspan="6"> |
|
<item> |
|
|
<property name="text"> |
|
|
<string>ALSA</string> |
|
|
</property> |
|
|
</item> |
|
308 |
<property name="name"> |
<property name="name"> |
309 |
<cstring>MidiDriverComboBox</cstring> |
<cstring>MidiDeviceComboBox</cstring> |
310 |
</property> |
</property> |
311 |
<property name="toolTip" stdset="0"> |
<property name="toolTip" stdset="0"> |
312 |
<string>MIDI input driver type</string> |
<string>MIDI input device</string> |
313 |
</property> |
</property> |
314 |
</widget> |
</widget> |
315 |
<widget class="QLabel"> |
<widget class="QLabel" row="1" column="0"> |
316 |
<property name="name"> |
<property name="name"> |
317 |
<cstring>MidiPortTextLabel</cstring> |
<cstring>MidiDeviceTextLabel</cstring> |
318 |
</property> |
</property> |
319 |
<property name="text"> |
<property name="text"> |
320 |
<string>&Port:</string> |
<string>&Device:</string> |
321 |
</property> |
</property> |
322 |
<property name="alignment"> |
<property name="alignment"> |
323 |
<set>AlignVCenter|AlignRight</set> |
<set>AlignVCenter</set> |
324 |
</property> |
</property> |
325 |
<property name="buddy" stdset="0"> |
<property name="buddy" stdset="0"> |
326 |
<cstring>MidiPortSpinBox</cstring> |
<cstring>MidiDeviceComboBox</cstring> |
327 |
</property> |
</property> |
328 |
</widget> |
</widget> |
329 |
<widget class="QSpinBox"> |
<widget class="QSpinBox" row="0" column="4"> |
330 |
<property name="name"> |
<property name="name"> |
331 |
<cstring>MidiPortSpinBox</cstring> |
<cstring>MidiPortSpinBox</cstring> |
332 |
</property> |
</property> |
334 |
<string>MIDI input port number</string> |
<string>MIDI input port number</string> |
335 |
</property> |
</property> |
336 |
</widget> |
</widget> |
337 |
<widget class="QLabel"> |
<widget class="QComboBox" row="0" column="6"> |
|
<property name="name"> |
|
|
<cstring>MidiChannelTextLabel</cstring> |
|
|
</property> |
|
|
<property name="text"> |
|
|
<string>&Channel:</string> |
|
|
</property> |
|
|
<property name="alignment"> |
|
|
<set>AlignVCenter|AlignRight</set> |
|
|
</property> |
|
|
<property name="buddy" stdset="0"> |
|
|
<cstring>MidiChannelComboBox</cstring> |
|
|
</property> |
|
|
</widget> |
|
|
<widget class="QComboBox"> |
|
338 |
<item> |
<item> |
339 |
<property name="text"> |
<property name="text"> |
340 |
<string>1</string> |
<string>1</string> |
427 |
<string>MIDI input channel</string> |
<string>MIDI input channel</string> |
428 |
</property> |
</property> |
429 |
</widget> |
</widget> |
430 |
<spacer> |
<widget class="QLabel" row="0" column="5"> |
431 |
<property name="name"> |
<property name="name"> |
432 |
<cstring>spacer2</cstring> |
<cstring>MidiChannelTextLabel</cstring> |
433 |
|
</property> |
434 |
|
<property name="text"> |
435 |
|
<string>&Channel:</string> |
436 |
|
</property> |
437 |
|
<property name="alignment"> |
438 |
|
<set>AlignVCenter|AlignRight</set> |
439 |
|
</property> |
440 |
|
<property name="buddy" stdset="0"> |
441 |
|
<cstring>MidiChannelComboBox</cstring> |
442 |
|
</property> |
443 |
|
</widget> |
444 |
|
<spacer row="0" column="2"> |
445 |
|
<property name="name"> |
446 |
|
<cstring>spacer1</cstring> |
447 |
</property> |
</property> |
448 |
<property name="orientation"> |
<property name="orientation"> |
449 |
<enum>Horizontal</enum> |
<enum>Horizontal</enum> |
453 |
</property> |
</property> |
454 |
<property name="sizeHint"> |
<property name="sizeHint"> |
455 |
<size> |
<size> |
456 |
<width>8</width> |
<width>16</width> |
457 |
<height>8</height> |
<height>8</height> |
458 |
</size> |
</size> |
459 |
</property> |
</property> |
460 |
</spacer> |
</spacer> |
461 |
</hbox> |
<widget class="QLabel" row="0" column="3"> |
462 |
|
<property name="name"> |
463 |
|
<cstring>MidiPortTextLabel</cstring> |
464 |
|
</property> |
465 |
|
<property name="text"> |
466 |
|
<string>&Port:</string> |
467 |
|
</property> |
468 |
|
<property name="alignment"> |
469 |
|
<set>AlignVCenter|AlignRight</set> |
470 |
|
</property> |
471 |
|
<property name="buddy" stdset="0"> |
472 |
|
<cstring>MidiPortSpinBox</cstring> |
473 |
|
</property> |
474 |
|
</widget> |
475 |
|
</grid> |
476 |
</widget> |
</widget> |
477 |
<widget class="QGroupBox" row="4" column="1" rowspan="1" colspan="3"> |
<widget class="QGroupBox" row="4" column="1" rowspan="1" colspan="3"> |
478 |
<property name="name"> |
<property name="name"> |
492 |
<property name="alignment"> |
<property name="alignment"> |
493 |
<set>AlignAuto</set> |
<set>AlignAuto</set> |
494 |
</property> |
</property> |
495 |
<hbox> |
<grid> |
496 |
<property name="name"> |
<property name="name"> |
497 |
<cstring>unnamed</cstring> |
<cstring>unnamed</cstring> |
498 |
</property> |
</property> |
502 |
<property name="spacing"> |
<property name="spacing"> |
503 |
<number>8</number> |
<number>8</number> |
504 |
</property> |
</property> |
505 |
<widget class="QLabel"> |
<widget class="QComboBox" row="1" column="1" rowspan="1" colspan="2"> |
506 |
|
<property name="name"> |
507 |
|
<cstring>AudioDeviceComboBox</cstring> |
508 |
|
</property> |
509 |
|
<property name="toolTip" stdset="0"> |
510 |
|
<string>Audio output device</string> |
511 |
|
</property> |
512 |
|
</widget> |
513 |
|
<widget class="QComboBox" row="0" column="1"> |
514 |
|
<property name="name"> |
515 |
|
<cstring>AudioDriverComboBox</cstring> |
516 |
|
</property> |
517 |
|
<property name="toolTip" stdset="0"> |
518 |
|
<string>Audio output driver type</string> |
519 |
|
</property> |
520 |
|
</widget> |
521 |
|
<widget class="QLabel" row="0" column="0"> |
522 |
<property name="name"> |
<property name="name"> |
523 |
<cstring>AudioDriverTextLabel</cstring> |
<cstring>AudioDriverTextLabel</cstring> |
524 |
</property> |
</property> |
526 |
<string>&Type:</string> |
<string>&Type:</string> |
527 |
</property> |
</property> |
528 |
<property name="alignment"> |
<property name="alignment"> |
529 |
<set>AlignVCenter|AlignRight</set> |
<set>AlignVCenter</set> |
530 |
</property> |
</property> |
531 |
<property name="buddy" stdset="0"> |
<property name="buddy" stdset="0"> |
532 |
<cstring>AudioDriverComboBox</cstring> |
<cstring>AudioDriverComboBox</cstring> |
533 |
</property> |
</property> |
534 |
</widget> |
</widget> |
535 |
<widget class="QComboBox"> |
<widget class="QLabel" row="1" column="0"> |
|
<item> |
|
|
<property name="text"> |
|
|
<string>ALSA</string> |
|
|
</property> |
|
|
</item> |
|
|
<item> |
|
|
<property name="text"> |
|
|
<string>JACK</string> |
|
|
</property> |
|
|
</item> |
|
536 |
<property name="name"> |
<property name="name"> |
537 |
<cstring>AudioDriverComboBox</cstring> |
<cstring>AudioDeviceTextLabel</cstring> |
538 |
</property> |
</property> |
539 |
<property name="toolTip" stdset="0"> |
<property name="text"> |
540 |
<string>Audio output driver type</string> |
<string>&Device:</string> |
541 |
|
</property> |
542 |
|
<property name="alignment"> |
543 |
|
<set>AlignVCenter</set> |
544 |
|
</property> |
545 |
|
<property name="buddy" stdset="0"> |
546 |
|
<cstring>AudioDeviceComboBox</cstring> |
547 |
</property> |
</property> |
548 |
</widget> |
</widget> |
549 |
<spacer> |
<spacer row="0" column="2"> |
550 |
<property name="name"> |
<property name="name"> |
551 |
<cstring>spacer3</cstring> |
<cstring>spacer2</cstring> |
552 |
</property> |
</property> |
553 |
<property name="orientation"> |
<property name="orientation"> |
554 |
<enum>Horizontal</enum> |
<enum>Horizontal</enum> |
558 |
</property> |
</property> |
559 |
<property name="sizeHint"> |
<property name="sizeHint"> |
560 |
<size> |
<size> |
561 |
<width>8</width> |
<width>210</width> |
562 |
<height>8</height> |
<height>8</height> |
563 |
</size> |
</size> |
564 |
</property> |
</property> |
565 |
</spacer> |
</spacer> |
566 |
</hbox> |
</grid> |
567 |
</widget> |
</widget> |
568 |
</grid> |
</grid> |
569 |
</widget> |
</widget> |
587 |
<slot>openInstrumentFile()</slot> |
<slot>openInstrumentFile()</slot> |
588 |
</connection> |
</connection> |
589 |
<connection> |
<connection> |
590 |
<sender>InstrumentNrSpinBox</sender> |
<sender>InstrumentNrComboBox</sender> |
591 |
<signal>valueChanged(int)</signal> |
<signal>activated(int)</signal> |
592 |
<receiver>qsamplerChannelForm</receiver> |
<receiver>qsamplerChannelForm</receiver> |
593 |
<slot>updateInstrumentName()</slot> |
<slot>optionsChanged()</slot> |
594 |
</connection> |
</connection> |
595 |
<connection> |
<connection> |
596 |
<sender>MidiDriverComboBox</sender> |
<sender>MidiDriverComboBox</sender> |
597 |
|
<signal>activated(const QString &)</signal> |
598 |
|
<receiver>qsamplerChannelForm</receiver> |
599 |
|
<slot>selectMidiDriver(const QString&)</slot> |
600 |
|
</connection> |
601 |
|
<connection> |
602 |
|
<sender>MidiDeviceComboBox</sender> |
603 |
<signal>activated(int)</signal> |
<signal>activated(int)</signal> |
604 |
<receiver>qsamplerChannelForm</receiver> |
<receiver>qsamplerChannelForm</receiver> |
605 |
<slot>optionsChanged()</slot> |
<slot>selectMidiDevice(int)</slot> |
606 |
</connection> |
</connection> |
607 |
<connection> |
<connection> |
608 |
<sender>MidiPortSpinBox</sender> |
<sender>MidiPortSpinBox</sender> |
618 |
</connection> |
</connection> |
619 |
<connection> |
<connection> |
620 |
<sender>AudioDriverComboBox</sender> |
<sender>AudioDriverComboBox</sender> |
621 |
|
<signal>activated(const QString &)</signal> |
622 |
|
<receiver>qsamplerChannelForm</receiver> |
623 |
|
<slot>selectAudioDriver(const QString&)</slot> |
624 |
|
</connection> |
625 |
|
<connection> |
626 |
|
<sender>AudioDeviceComboBox</sender> |
627 |
<signal>activated(int)</signal> |
<signal>activated(int)</signal> |
628 |
<receiver>qsamplerChannelForm</receiver> |
<receiver>qsamplerChannelForm</receiver> |
629 |
<slot>optionsChanged()</slot> |
<slot>selectAudioDevice(int)</slot> |
630 |
</connection> |
</connection> |
631 |
<connection> |
<connection> |
632 |
<sender>OkPushButton</sender> |
<sender>OkPushButton</sender> |
645 |
<tabstop>EngineNameComboBox</tabstop> |
<tabstop>EngineNameComboBox</tabstop> |
646 |
<tabstop>InstrumentFileComboBox</tabstop> |
<tabstop>InstrumentFileComboBox</tabstop> |
647 |
<tabstop>InstrumentFilePushButton</tabstop> |
<tabstop>InstrumentFilePushButton</tabstop> |
648 |
<tabstop>InstrumentNrSpinBox</tabstop> |
<tabstop>InstrumentNrComboBox</tabstop> |
649 |
<tabstop>MidiDriverComboBox</tabstop> |
<tabstop>MidiDriverComboBox</tabstop> |
650 |
<tabstop>MidiPortSpinBox</tabstop> |
<tabstop>MidiPortSpinBox</tabstop> |
651 |
<tabstop>MidiChannelComboBox</tabstop> |
<tabstop>MidiChannelComboBox</tabstop> |
652 |
|
<tabstop>MidiDeviceComboBox</tabstop> |
653 |
<tabstop>AudioDriverComboBox</tabstop> |
<tabstop>AudioDriverComboBox</tabstop> |
654 |
|
<tabstop>AudioDeviceComboBox</tabstop> |
655 |
<tabstop>OkPushButton</tabstop> |
<tabstop>OkPushButton</tabstop> |
656 |
<tabstop>CancelPushButton</tabstop> |
<tabstop>CancelPushButton</tabstop> |
657 |
</tabstops> |
</tabstops> |
658 |
<includes> |
<includes> |
659 |
|
<include location="local" impldecl="in declaration">qsamplerDevice.h</include> |
660 |
<include location="local" impldecl="in declaration">qsamplerChannel.h</include> |
<include location="local" impldecl="in declaration">qsamplerChannel.h</include> |
661 |
<include location="local" impldecl="in implementation">qsamplerChannelForm.ui.h</include> |
<include location="local" impldecl="in implementation">qsamplerChannelForm.ui.h</include> |
662 |
</includes> |
</includes> |
664 |
<variable access="private">qsamplerChannel *m_pChannel;</variable> |
<variable access="private">qsamplerChannel *m_pChannel;</variable> |
665 |
<variable access="private">int m_iDirtySetup;</variable> |
<variable access="private">int m_iDirtySetup;</variable> |
666 |
<variable access="private">int m_iDirtyCount;</variable> |
<variable access="private">int m_iDirtyCount;</variable> |
667 |
|
<variable access="private">QPtrList < qsamplerDevice > m_audioDevices;</variable> |
668 |
|
<variable access="private">QPtrList < qsamplerDevice > m_midiDevices;</variable> |
669 |
</variables> |
</variables> |
670 |
<slots> |
<slots> |
671 |
<slot specifier="non virtual">accept()</slot> |
<slot specifier="non virtual">accept()</slot> |
672 |
<slot specifier="non virtual">reject()</slot> |
<slot specifier="non virtual">reject()</slot> |
673 |
<slot specifier="non virtual">openInstrumentFile()</slot> |
<slot specifier="non virtual">openInstrumentFile()</slot> |
674 |
<slot specifier="non virtual">updateInstrumentName()</slot> |
<slot specifier="non virtual">updateInstrumentName()</slot> |
675 |
|
<slot specifier="non virtual">selectMidiDriver( const QString & sMidiDriver )</slot> |
676 |
|
<slot specifier="non virtual">selectMidiDevice( int iMidiItem )</slot> |
677 |
|
<slot specifier="non virtual">selectAudioDriver( const QString & sAudioDriver )</slot> |
678 |
|
<slot specifier="non virtual">selectAudioDevice( int iAudioItem )</slot> |
679 |
<slot specifier="non virtual">optionsChanged()</slot> |
<slot specifier="non virtual">optionsChanged()</slot> |
680 |
<slot specifier="non virtual">stabilizeForm()</slot> |
<slot specifier="non virtual">stabilizeForm()</slot> |
681 |
</slots> |
</slots> |