/[svn]/qsampler/trunk/src/qsamplerChannelForm.ui
ViewVC logotype

Contents of /qsampler/trunk/src/qsamplerChannelForm.ui

Parent Directory Parent Directory | Revision Log Revision Log


Revision 455 - (show annotations) (download)
Mon Mar 14 12:59:27 2005 UTC (19 years ago) by capela
File size: 27208 byte(s)
* Device configuration is now included and saved on session files.

1 <!DOCTYPE UI><UI version="3.1" stdsetdef="1">
2 <class>qsamplerChannelForm</class>
3 <comment>qsampler - A LinuxSampler Qt GUI Interface.
4
5 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
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
18 along with this program; if not, write to the Free Software
19 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
20
21 </comment>
22 <author>rncbc aka Rui Nuno Capela</author>
23 <widget class="QDialog">
24 <property name="name">
25 <cstring>qsamplerChannelForm</cstring>
26 </property>
27 <property name="geometry">
28 <rect>
29 <x>0</x>
30 <y>0</y>
31 <width>455</width>
32 <height>303</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>Channel</string>
45 </property>
46 <property name="icon">
47 <pixmap>qsamplerChannel.png</pixmap>
48 </property>
49 <property name="focusPolicy">
50 <enum>StrongFocus</enum>
51 </property>
52 <grid>
53 <property name="name">
54 <cstring>unnamed</cstring>
55 </property>
56 <widget class="QComboBox" row="0" column="1" rowspan="1" colspan="3">
57 <property name="name">
58 <cstring>EngineNameComboBox</cstring>
59 </property>
60 <property name="sizePolicy">
61 <sizepolicy>
62 <hsizetype>7</hsizetype>
63 <vsizetype>0</vsizetype>
64 <horstretch>0</horstretch>
65 <verstretch>0</verstretch>
66 </sizepolicy>
67 </property>
68 <property name="toolTip" stdset="0">
69 <string>Engine name</string>
70 </property>
71 </widget>
72 <widget class="QLabel" row="0" column="0">
73 <property name="name">
74 <cstring>EngineNameTextLabel</cstring>
75 </property>
76 <property name="sizePolicy">
77 <sizepolicy>
78 <hsizetype>1</hsizetype>
79 <vsizetype>5</vsizetype>
80 <horstretch>0</horstretch>
81 <verstretch>0</verstretch>
82 </sizepolicy>
83 </property>
84 <property name="text">
85 <string>&amp;Engine:</string>
86 </property>
87 <property name="alignment">
88 <set>AlignVCenter|AlignRight</set>
89 </property>
90 <property name="buddy" stdset="0">
91 <cstring>EngineNameComboBox</cstring>
92 </property>
93 </widget>
94 <widget class="QLabel" row="1" column="0">
95 <property name="name">
96 <cstring>InstrumentFileTextLabel</cstring>
97 </property>
98 <property name="sizePolicy">
99 <sizepolicy>
100 <hsizetype>1</hsizetype>
101 <vsizetype>5</vsizetype>
102 <horstretch>0</horstretch>
103 <verstretch>0</verstretch>
104 </sizepolicy>
105 </property>
106 <property name="text">
107 <string>&amp;Filename:</string>
108 </property>
109 <property name="alignment">
110 <set>AlignVCenter|AlignRight</set>
111 </property>
112 <property name="buddy" stdset="0">
113 <cstring>InstrumentFileComboBox</cstring>
114 </property>
115 </widget>
116 <widget class="QPushButton" row="1" column="3">
117 <property name="name">
118 <cstring>InstrumentFilePushButton</cstring>
119 </property>
120 <property name="sizePolicy">
121 <sizepolicy>
122 <hsizetype>0</hsizetype>
123 <vsizetype>0</vsizetype>
124 <horstretch>0</horstretch>
125 <verstretch>0</verstretch>
126 </sizepolicy>
127 </property>
128 <property name="minimumSize">
129 <size>
130 <width>24</width>
131 <height>24</height>
132 </size>
133 </property>
134 <property name="maximumSize">
135 <size>
136 <width>26</width>
137 <height>26</height>
138 </size>
139 </property>
140 <property name="text">
141 <string></string>
142 </property>
143 <property name="pixmap">
144 <pixmap>fileOpen.png</pixmap>
145 </property>
146 <property name="toolTip" stdset="0">
147 <string>Browse for instrument filename</string>
148 </property>
149 </widget>
150 <widget class="QComboBox" row="1" column="1" rowspan="1" colspan="2">
151 <property name="name">
152 <cstring>InstrumentFileComboBox</cstring>
153 </property>
154 <property name="sizePolicy">
155 <sizepolicy>
156 <hsizetype>7</hsizetype>
157 <vsizetype>0</vsizetype>
158 <horstretch>0</horstretch>
159 <verstretch>0</verstretch>
160 </sizepolicy>
161 </property>
162 <property name="minimumSize">
163 <size>
164 <width>320</width>
165 <height>0</height>
166 </size>
167 </property>
168 <property name="editable">
169 <bool>true</bool>
170 </property>
171 <property name="toolTip" stdset="0">
172 <string>Instrument filename</string>
173 </property>
174 </widget>
175 <widget class="QLayoutWidget" row="5" column="0" rowspan="1" colspan="4">
176 <property name="name">
177 <cstring>layout1</cstring>
178 </property>
179 <hbox>
180 <property name="name">
181 <cstring>unnamed</cstring>
182 </property>
183 <spacer>
184 <property name="name">
185 <cstring>spacer3</cstring>
186 </property>
187 <property name="orientation">
188 <enum>Horizontal</enum>
189 </property>
190 <property name="sizeType">
191 <enum>Expanding</enum>
192 </property>
193 <property name="sizeHint">
194 <size>
195 <width>8</width>
196 <height>8</height>
197 </size>
198 </property>
199 </spacer>
200 <widget class="QPushButton">
201 <property name="name">
202 <cstring>OkPushButton</cstring>
203 </property>
204 <property name="text">
205 <string>OK</string>
206 </property>
207 <property name="iconSet">
208 <iconset>formAccept.png</iconset>
209 </property>
210 </widget>
211 <widget class="QPushButton">
212 <property name="name">
213 <cstring>CancelPushButton</cstring>
214 </property>
215 <property name="text">
216 <string>Cancel</string>
217 </property>
218 <property name="iconSet">
219 <iconset>formReject.png</iconset>
220 </property>
221 </widget>
222 </hbox>
223 </widget>
224 <widget class="QComboBox" row="2" column="1" rowspan="1" colspan="3">
225 <property name="name">
226 <cstring>InstrumentNrComboBox</cstring>
227 </property>
228 <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>
238 <width>320</width>
239 <height>0</height>
240 </size>
241 </property>
242 <property name="toolTip" stdset="0">
243 <string>Instrument name</string>
244 </property>
245 </widget>
246 <widget class="QLabel" row="2" column="0">
247 <property name="name">
248 <cstring>InstrumentNrTextLabel</cstring>
249 </property>
250 <property name="text">
251 <string>&amp;Instrument:</string>
252 </property>
253 <property name="alignment">
254 <set>AlignVCenter|AlignRight</set>
255 </property>
256 <property name="buddy" stdset="0">
257 <cstring>InstrumentNrComboBox</cstring>
258 </property>
259 </widget>
260 <widget class="QGroupBox" row="3" column="1" rowspan="1" colspan="3">
261 <property name="name">
262 <cstring>MidiGroupBox</cstring>
263 </property>
264 <property name="sizePolicy">
265 <sizepolicy>
266 <hsizetype>1</hsizetype>
267 <vsizetype>5</vsizetype>
268 <horstretch>0</horstretch>
269 <verstretch>0</verstretch>
270 </sizepolicy>
271 </property>
272 <property name="title">
273 <string>MIDI / Input</string>
274 </property>
275 <grid>
276 <property name="name">
277 <cstring>unnamed</cstring>
278 </property>
279 <property name="margin">
280 <number>8</number>
281 </property>
282 <property name="spacing">
283 <number>8</number>
284 </property>
285 <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">
295 <cstring>MidiDriverTextLabel</cstring>
296 </property>
297 <property name="text">
298 <string>&amp;Type:</string>
299 </property>
300 <property name="alignment">
301 <set>AlignVCenter</set>
302 </property>
303 <property name="buddy" stdset="0">
304 <cstring>MidiDriverComboBox</cstring>
305 </property>
306 </widget>
307 <widget class="QComboBox" row="1" column="1" rowspan="1" colspan="6">
308 <property name="name">
309 <cstring>MidiDeviceComboBox</cstring>
310 </property>
311 <property name="toolTip" stdset="0">
312 <string>MIDI input device</string>
313 </property>
314 </widget>
315 <widget class="QLabel" row="1" column="0">
316 <property name="name">
317 <cstring>MidiDeviceTextLabel</cstring>
318 </property>
319 <property name="text">
320 <string>&amp;Device:</string>
321 </property>
322 <property name="alignment">
323 <set>AlignVCenter</set>
324 </property>
325 <property name="buddy" stdset="0">
326 <cstring>MidiDeviceComboBox</cstring>
327 </property>
328 </widget>
329 <widget class="QSpinBox" row="0" column="4">
330 <property name="name">
331 <cstring>MidiPortSpinBox</cstring>
332 </property>
333 <property name="toolTip" stdset="0">
334 <string>MIDI input port number</string>
335 </property>
336 </widget>
337 <widget class="QComboBox" row="0" column="6">
338 <item>
339 <property name="text">
340 <string>1</string>
341 </property>
342 </item>
343 <item>
344 <property name="text">
345 <string>2</string>
346 </property>
347 </item>
348 <item>
349 <property name="text">
350 <string>3</string>
351 </property>
352 </item>
353 <item>
354 <property name="text">
355 <string>4</string>
356 </property>
357 </item>
358 <item>
359 <property name="text">
360 <string>5</string>
361 </property>
362 </item>
363 <item>
364 <property name="text">
365 <string>6</string>
366 </property>
367 </item>
368 <item>
369 <property name="text">
370 <string>7</string>
371 </property>
372 </item>
373 <item>
374 <property name="text">
375 <string>8</string>
376 </property>
377 </item>
378 <item>
379 <property name="text">
380 <string>9</string>
381 </property>
382 </item>
383 <item>
384 <property name="text">
385 <string>10</string>
386 </property>
387 </item>
388 <item>
389 <property name="text">
390 <string>11</string>
391 </property>
392 </item>
393 <item>
394 <property name="text">
395 <string>12</string>
396 </property>
397 </item>
398 <item>
399 <property name="text">
400 <string>13</string>
401 </property>
402 </item>
403 <item>
404 <property name="text">
405 <string>14</string>
406 </property>
407 </item>
408 <item>
409 <property name="text">
410 <string>15</string>
411 </property>
412 </item>
413 <item>
414 <property name="text">
415 <string>16</string>
416 </property>
417 </item>
418 <item>
419 <property name="text">
420 <string>All</string>
421 </property>
422 </item>
423 <property name="name">
424 <cstring>MidiChannelComboBox</cstring>
425 </property>
426 <property name="toolTip" stdset="0">
427 <string>MIDI input channel</string>
428 </property>
429 </widget>
430 <widget class="QLabel" row="0" column="5">
431 <property name="name">
432 <cstring>MidiChannelTextLabel</cstring>
433 </property>
434 <property name="text">
435 <string>&amp;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>
448 <property name="orientation">
449 <enum>Horizontal</enum>
450 </property>
451 <property name="sizeType">
452 <enum>Expanding</enum>
453 </property>
454 <property name="sizeHint">
455 <size>
456 <width>16</width>
457 <height>8</height>
458 </size>
459 </property>
460 </spacer>
461 <widget class="QLabel" row="0" column="3">
462 <property name="name">
463 <cstring>MidiPortTextLabel</cstring>
464 </property>
465 <property name="text">
466 <string>&amp;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>
477 <widget class="QGroupBox" row="4" column="1" rowspan="1" colspan="3">
478 <property name="name">
479 <cstring>AudioGroupBox</cstring>
480 </property>
481 <property name="sizePolicy">
482 <sizepolicy>
483 <hsizetype>1</hsizetype>
484 <vsizetype>5</vsizetype>
485 <horstretch>0</horstretch>
486 <verstretch>0</verstretch>
487 </sizepolicy>
488 </property>
489 <property name="title">
490 <string>Audio / Output</string>
491 </property>
492 <property name="alignment">
493 <set>AlignAuto</set>
494 </property>
495 <grid>
496 <property name="name">
497 <cstring>unnamed</cstring>
498 </property>
499 <property name="margin">
500 <number>8</number>
501 </property>
502 <property name="spacing">
503 <number>8</number>
504 </property>
505 <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">
523 <cstring>AudioDriverTextLabel</cstring>
524 </property>
525 <property name="text">
526 <string>&amp;Type:</string>
527 </property>
528 <property name="alignment">
529 <set>AlignVCenter</set>
530 </property>
531 <property name="buddy" stdset="0">
532 <cstring>AudioDriverComboBox</cstring>
533 </property>
534 </widget>
535 <widget class="QLabel" row="1" column="0">
536 <property name="name">
537 <cstring>AudioDeviceTextLabel</cstring>
538 </property>
539 <property name="text">
540 <string>&amp;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>
548 </widget>
549 <spacer row="0" column="2">
550 <property name="name">
551 <cstring>spacer2</cstring>
552 </property>
553 <property name="orientation">
554 <enum>Horizontal</enum>
555 </property>
556 <property name="sizeType">
557 <enum>Expanding</enum>
558 </property>
559 <property name="sizeHint">
560 <size>
561 <width>210</width>
562 <height>8</height>
563 </size>
564 </property>
565 </spacer>
566 </grid>
567 </widget>
568 </grid>
569 </widget>
570 <connections>
571 <connection>
572 <sender>EngineNameComboBox</sender>
573 <signal>activated(int)</signal>
574 <receiver>qsamplerChannelForm</receiver>
575 <slot>optionsChanged()</slot>
576 </connection>
577 <connection>
578 <sender>InstrumentFileComboBox</sender>
579 <signal>textChanged(const QString &amp;)</signal>
580 <receiver>qsamplerChannelForm</receiver>
581 <slot>updateInstrumentName()</slot>
582 </connection>
583 <connection>
584 <sender>InstrumentFilePushButton</sender>
585 <signal>clicked()</signal>
586 <receiver>qsamplerChannelForm</receiver>
587 <slot>openInstrumentFile()</slot>
588 </connection>
589 <connection>
590 <sender>InstrumentNrComboBox</sender>
591 <signal>activated(int)</signal>
592 <receiver>qsamplerChannelForm</receiver>
593 <slot>optionsChanged()</slot>
594 </connection>
595 <connection>
596 <sender>MidiDriverComboBox</sender>
597 <signal>activated(const QString &amp;)</signal>
598 <receiver>qsamplerChannelForm</receiver>
599 <slot>selectMidiDriver(const QString&amp;)</slot>
600 </connection>
601 <connection>
602 <sender>MidiDeviceComboBox</sender>
603 <signal>activated(int)</signal>
604 <receiver>qsamplerChannelForm</receiver>
605 <slot>selectMidiDevice(int)</slot>
606 </connection>
607 <connection>
608 <sender>MidiPortSpinBox</sender>
609 <signal>valueChanged(int)</signal>
610 <receiver>qsamplerChannelForm</receiver>
611 <slot>optionsChanged()</slot>
612 </connection>
613 <connection>
614 <sender>MidiChannelComboBox</sender>
615 <signal>activated(int)</signal>
616 <receiver>qsamplerChannelForm</receiver>
617 <slot>optionsChanged()</slot>
618 </connection>
619 <connection>
620 <sender>AudioDriverComboBox</sender>
621 <signal>activated(const QString &amp;)</signal>
622 <receiver>qsamplerChannelForm</receiver>
623 <slot>selectAudioDriver(const QString&amp;)</slot>
624 </connection>
625 <connection>
626 <sender>AudioDeviceComboBox</sender>
627 <signal>activated(int)</signal>
628 <receiver>qsamplerChannelForm</receiver>
629 <slot>selectAudioDevice(int)</slot>
630 </connection>
631 <connection>
632 <sender>OkPushButton</sender>
633 <signal>clicked()</signal>
634 <receiver>qsamplerChannelForm</receiver>
635 <slot>accept()</slot>
636 </connection>
637 <connection>
638 <sender>CancelPushButton</sender>
639 <signal>clicked()</signal>
640 <receiver>qsamplerChannelForm</receiver>
641 <slot>reject()</slot>
642 </connection>
643 </connections>
644 <tabstops>
645 <tabstop>EngineNameComboBox</tabstop>
646 <tabstop>InstrumentFileComboBox</tabstop>
647 <tabstop>InstrumentFilePushButton</tabstop>
648 <tabstop>InstrumentNrComboBox</tabstop>
649 <tabstop>MidiDriverComboBox</tabstop>
650 <tabstop>MidiPortSpinBox</tabstop>
651 <tabstop>MidiChannelComboBox</tabstop>
652 <tabstop>MidiDeviceComboBox</tabstop>
653 <tabstop>AudioDriverComboBox</tabstop>
654 <tabstop>AudioDeviceComboBox</tabstop>
655 <tabstop>OkPushButton</tabstop>
656 <tabstop>CancelPushButton</tabstop>
657 </tabstops>
658 <includes>
659 <include location="local" impldecl="in declaration">qsamplerDevice.h</include>
660 <include location="local" impldecl="in declaration">qsamplerChannel.h</include>
661 <include location="local" impldecl="in implementation">qsamplerChannelForm.ui.h</include>
662 </includes>
663 <variables>
664 <variable access="private">qsamplerChannel *m_pChannel;</variable>
665 <variable access="private">int m_iDirtySetup;</variable>
666 <variable access="private">int m_iDirtyCount;</variable>
667 <variable access="private">QPtrList &lt; qsamplerDevice &gt; m_audioDevices;</variable>
668 <variable access="private">QPtrList &lt; qsamplerDevice &gt; m_midiDevices;</variable>
669 </variables>
670 <slots>
671 <slot specifier="non virtual">accept()</slot>
672 <slot specifier="non virtual">reject()</slot>
673 <slot specifier="non virtual">openInstrumentFile()</slot>
674 <slot specifier="non virtual">updateInstrumentName()</slot>
675 <slot specifier="non virtual">selectMidiDriver( const QString &amp; sMidiDriver )</slot>
676 <slot specifier="non virtual">selectMidiDevice( int iMidiItem )</slot>
677 <slot specifier="non virtual">selectAudioDriver( const QString &amp; sAudioDriver )</slot>
678 <slot specifier="non virtual">selectAudioDevice( int iAudioItem )</slot>
679 <slot specifier="non virtual">optionsChanged()</slot>
680 <slot specifier="non virtual">stabilizeForm()</slot>
681 </slots>
682 <functions>
683 <function access="private" specifier="non virtual">init()</function>
684 <function access="private" specifier="non virtual">destroy()</function>
685 <function specifier="non virtual">setup( qsamplerChannel *pChannel )</function>
686 </functions>
687 <pixmapinproject/>
688 <layoutdefaults spacing="8" margin="8"/>
689 </UI>

  ViewVC Help
Powered by ViewVC