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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 452 - (hide annotations) (download)
Sun Mar 13 22:06:59 2005 UTC (19 years, 1 month ago) by capela
File size: 26632 byte(s)
* Device managament gets prettier with new icons.
* Channel device selection is now implemented.

1 capela 95 <!DOCTYPE UI><UI version="3.1" stdsetdef="1">
2     <class>qsamplerChannelForm</class>
3     <comment>qsampler - A LinuxSampler Qt GUI Interface.
4    
5 capela 367 Copyright (C) 2004-2005, rncbc aka Rui Nuno Capela. All rights reserved.
6 capela 95
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 capela 452 <width>455</width>
32     <height>303</height>
33 capela 95 </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 capela 299 <cstring>InstrumentFileTextLabel</cstring>
97 capela 95 </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 capela 300 <string>&amp;Filename:</string>
108 capela 95 </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 capela 255 <property name="minimumSize">
163     <size>
164     <width>320</width>
165     <height>0</height>
166     </size>
167     </property>
168 capela 95 <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 capela 299 <widget class="QComboBox" row="2" column="1" rowspan="1" colspan="3">
225 capela 95 <property name="name">
226 capela 299 <cstring>InstrumentNrComboBox</cstring>
227 capela 95 </property>
228 capela 299 <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 capela 95 <size>
238 capela 299 <width>320</width>
239     <height>0</height>
240 capela 95 </size>
241     </property>
242     <property name="toolTip" stdset="0">
243 capela 299 <string>Instrument name</string>
244 capela 95 </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 capela 299 <string>&amp;Instrument:</string>
252 capela 95 </property>
253     <property name="alignment">
254     <set>AlignVCenter|AlignRight</set>
255     </property>
256     <property name="buddy" stdset="0">
257 capela 299 <cstring>InstrumentNrComboBox</cstring>
258 capela 95 </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 capela 255 <string>MIDI / Input</string>
274 capela 95 </property>
275 capela 452 <grid>
276 capela 95 <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 capela 452 <widget class="QComboBox" row="0" column="1">
286 capela 95 <property name="name">
287 capela 452 <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 capela 95 <cstring>MidiDriverTextLabel</cstring>
296     </property>
297     <property name="text">
298     <string>&amp;Type:</string>
299     </property>
300     <property name="alignment">
301 capela 452 <set>AlignVCenter</set>
302 capela 95 </property>
303     <property name="buddy" stdset="0">
304     <cstring>MidiDriverComboBox</cstring>
305     </property>
306     </widget>
307 capela 452 <widget class="QComboBox" row="1" column="1" rowspan="1" colspan="6">
308 capela 95 <property name="name">
309 capela 452 <cstring>MidiDeviceComboBox</cstring>
310 capela 95 </property>
311     <property name="toolTip" stdset="0">
312 capela 452 <string>MIDI input device</string>
313 capela 95 </property>
314     </widget>
315 capela 452 <widget class="QLabel" row="1" column="0">
316 capela 95 <property name="name">
317 capela 452 <cstring>MidiDeviceTextLabel</cstring>
318 capela 95 </property>
319     <property name="text">
320 capela 452 <string>&amp;Device:</string>
321 capela 95 </property>
322     <property name="alignment">
323 capela 452 <set>AlignVCenter</set>
324 capela 95 </property>
325     <property name="buddy" stdset="0">
326 capela 452 <cstring>MidiDeviceComboBox</cstring>
327 capela 95 </property>
328     </widget>
329 capela 452 <widget class="QSpinBox" row="0" column="4">
330 capela 95 <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 capela 452 <widget class="QComboBox" row="0" column="6">
338 capela 255 <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 capela 280 <item>
419     <property name="text">
420     <string>All</string>
421     </property>
422     </item>
423 capela 95 <property name="name">
424 capela 255 <cstring>MidiChannelComboBox</cstring>
425 capela 95 </property>
426     <property name="toolTip" stdset="0">
427     <string>MIDI input channel</string>
428     </property>
429     </widget>
430 capela 452 <widget class="QLabel" row="0" column="5">
431 capela 95 <property name="name">
432 capela 452 <cstring>MidiChannelTextLabel</cstring>
433 capela 95 </property>
434 capela 452 <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 capela 95 <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 capela 452 <width>16</width>
457 capela 95 <height>8</height>
458     </size>
459     </property>
460     </spacer>
461 capela 452 <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 capela 95 </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 capela 255 <string>Audio / Output</string>
491 capela 95 </property>
492     <property name="alignment">
493     <set>AlignAuto</set>
494     </property>
495 capela 452 <grid>
496 capela 95 <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 capela 452 <widget class="QComboBox" row="1" column="1" rowspan="1" colspan="2">
506 capela 95 <property name="name">
507 capela 452 <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 capela 95 <cstring>AudioDriverTextLabel</cstring>
524     </property>
525     <property name="text">
526     <string>&amp;Type:</string>
527     </property>
528     <property name="alignment">
529 capela 452 <set>AlignVCenter</set>
530 capela 95 </property>
531     <property name="buddy" stdset="0">
532     <cstring>AudioDriverComboBox</cstring>
533     </property>
534     </widget>
535 capela 452 <widget class="QLabel" row="1" column="0">
536 capela 95 <property name="name">
537 capela 452 <cstring>AudioDeviceTextLabel</cstring>
538 capela 95 </property>
539 capela 452 <property name="text">
540     <string>&amp;Device:</string>
541 capela 95 </property>
542 capela 452 <property name="alignment">
543     <set>AlignVCenter</set>
544     </property>
545     <property name="buddy" stdset="0">
546     <cstring>AudioDeviceComboBox</cstring>
547     </property>
548 capela 95 </widget>
549 capela 452 <spacer row="0" column="2">
550 capela 95 <property name="name">
551 capela 452 <cstring>spacer2</cstring>
552 capela 95 </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 capela 452 <width>210</width>
562 capela 95 <height>8</height>
563     </size>
564     </property>
565     </spacer>
566 capela 452 </grid>
567 capela 95 </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 capela 367 <sender>InstrumentNrComboBox</sender>
591     <signal>activated(int)</signal>
592     <receiver>qsamplerChannelForm</receiver>
593     <slot>optionsChanged()</slot>
594     </connection>
595     <connection>
596 capela 95 <sender>MidiDriverComboBox</sender>
597 capela 452 <signal>activated(const QString &amp;)</signal>
598 capela 95 <receiver>qsamplerChannelForm</receiver>
599 capela 452 <slot>selectMidiDriver(const QString&amp;)</slot>
600 capela 95 </connection>
601     <connection>
602     <sender>MidiPortSpinBox</sender>
603     <signal>valueChanged(int)</signal>
604     <receiver>qsamplerChannelForm</receiver>
605     <slot>optionsChanged()</slot>
606     </connection>
607     <connection>
608 capela 255 <sender>MidiChannelComboBox</sender>
609     <signal>activated(int)</signal>
610 capela 95 <receiver>qsamplerChannelForm</receiver>
611     <slot>optionsChanged()</slot>
612     </connection>
613     <connection>
614     <sender>AudioDriverComboBox</sender>
615 capela 452 <signal>activated(const QString &amp;)</signal>
616 capela 95 <receiver>qsamplerChannelForm</receiver>
617 capela 452 <slot>selectAudioDriver(const QString&amp;)</slot>
618 capela 95 </connection>
619     <connection>
620     <sender>OkPushButton</sender>
621     <signal>clicked()</signal>
622     <receiver>qsamplerChannelForm</receiver>
623     <slot>accept()</slot>
624     </connection>
625     <connection>
626     <sender>CancelPushButton</sender>
627     <signal>clicked()</signal>
628     <receiver>qsamplerChannelForm</receiver>
629     <slot>reject()</slot>
630     </connection>
631     </connections>
632     <tabstops>
633     <tabstop>EngineNameComboBox</tabstop>
634     <tabstop>InstrumentFileComboBox</tabstop>
635     <tabstop>InstrumentFilePushButton</tabstop>
636 capela 299 <tabstop>InstrumentNrComboBox</tabstop>
637 capela 95 <tabstop>MidiDriverComboBox</tabstop>
638     <tabstop>MidiPortSpinBox</tabstop>
639 capela 255 <tabstop>MidiChannelComboBox</tabstop>
640 capela 452 <tabstop>MidiDeviceComboBox</tabstop>
641 capela 95 <tabstop>AudioDriverComboBox</tabstop>
642 capela 452 <tabstop>AudioDeviceComboBox</tabstop>
643 capela 95 <tabstop>OkPushButton</tabstop>
644     <tabstop>CancelPushButton</tabstop>
645     </tabstops>
646     <includes>
647 capela 452 <include location="local" impldecl="in declaration">qsamplerDevice.h</include>
648 capela 264 <include location="local" impldecl="in declaration">qsamplerChannel.h</include>
649 capela 95 <include location="local" impldecl="in implementation">qsamplerChannelForm.ui.h</include>
650     </includes>
651     <variables>
652 capela 264 <variable access="private">qsamplerChannel *m_pChannel;</variable>
653 capela 95 <variable access="private">int m_iDirtySetup;</variable>
654     <variable access="private">int m_iDirtyCount;</variable>
655 capela 452 <variable access="private">QPtrList &lt; qsamplerDevice &gt; m_audioDevices;</variable>
656     <variable access="private">QPtrList &lt; qsamplerDevice &gt; m_midiDevices;</variable>
657 capela 95 </variables>
658     <slots>
659     <slot specifier="non virtual">accept()</slot>
660     <slot specifier="non virtual">reject()</slot>
661     <slot specifier="non virtual">openInstrumentFile()</slot>
662     <slot specifier="non virtual">updateInstrumentName()</slot>
663 capela 452 <slot specifier="non virtual">selectMidiDriver( const QString &amp; sMidiDriver )</slot>
664     <slot specifier="non virtual">selectAudioDriver( const QString &amp; sAudioDriver )</slot>
665 capela 95 <slot specifier="non virtual">optionsChanged()</slot>
666     <slot specifier="non virtual">stabilizeForm()</slot>
667     </slots>
668     <functions>
669     <function access="private" specifier="non virtual">init()</function>
670     <function access="private" specifier="non virtual">destroy()</function>
671 capela 295 <function specifier="non virtual">setup( qsamplerChannel *pChannel )</function>
672 capela 95 </functions>
673     <pixmapinproject/>
674     <layoutdefaults spacing="8" margin="8"/>
675     </UI>

  ViewVC Help
Powered by ViewVC