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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 299 - (hide annotations) (download)
Wed Nov 17 15:41:58 2004 UTC (19 years, 5 months ago) by capela
File size: 24139 byte(s)
* Instrument index selection now made via combo box widget;
  actual instrument names are now properly retrieved from
  the instrument file, provided if libgig is available.

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     Copyright (C) 2004, 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 capela 255 <width>430</width>
32     <height>255</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 299 <string>&amp;File:</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     <hbox>
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="QLabel">
286     <property name="name">
287     <cstring>MidiDriverTextLabel</cstring>
288     </property>
289     <property name="text">
290     <string>&amp;Type:</string>
291     </property>
292     <property name="alignment">
293     <set>AlignVCenter|AlignRight</set>
294     </property>
295     <property name="buddy" stdset="0">
296     <cstring>MidiDriverComboBox</cstring>
297     </property>
298     </widget>
299     <widget class="QComboBox">
300     <item>
301     <property name="text">
302     <string>ALSA</string>
303     </property>
304     </item>
305     <property name="name">
306     <cstring>MidiDriverComboBox</cstring>
307     </property>
308     <property name="toolTip" stdset="0">
309     <string>MIDI input driver type</string>
310     </property>
311     </widget>
312     <widget class="QLabel">
313     <property name="name">
314     <cstring>MidiPortTextLabel</cstring>
315     </property>
316     <property name="text">
317     <string>&amp;Port:</string>
318     </property>
319     <property name="alignment">
320     <set>AlignVCenter|AlignRight</set>
321     </property>
322     <property name="buddy" stdset="0">
323     <cstring>MidiPortSpinBox</cstring>
324     </property>
325     </widget>
326     <widget class="QSpinBox">
327     <property name="name">
328     <cstring>MidiPortSpinBox</cstring>
329     </property>
330     <property name="toolTip" stdset="0">
331     <string>MIDI input port number</string>
332     </property>
333     </widget>
334     <widget class="QLabel">
335     <property name="name">
336     <cstring>MidiChannelTextLabel</cstring>
337     </property>
338     <property name="text">
339     <string>&amp;Channel:</string>
340     </property>
341     <property name="alignment">
342     <set>AlignVCenter|AlignRight</set>
343     </property>
344     <property name="buddy" stdset="0">
345 capela 255 <cstring>MidiChannelComboBox</cstring>
346 capela 95 </property>
347     </widget>
348 capela 255 <widget class="QComboBox">
349     <item>
350     <property name="text">
351     <string>1</string>
352     </property>
353     </item>
354     <item>
355     <property name="text">
356     <string>2</string>
357     </property>
358     </item>
359     <item>
360     <property name="text">
361     <string>3</string>
362     </property>
363     </item>
364     <item>
365     <property name="text">
366     <string>4</string>
367     </property>
368     </item>
369     <item>
370     <property name="text">
371     <string>5</string>
372     </property>
373     </item>
374     <item>
375     <property name="text">
376     <string>6</string>
377     </property>
378     </item>
379     <item>
380     <property name="text">
381     <string>7</string>
382     </property>
383     </item>
384     <item>
385     <property name="text">
386     <string>8</string>
387     </property>
388     </item>
389     <item>
390     <property name="text">
391     <string>9</string>
392     </property>
393     </item>
394     <item>
395     <property name="text">
396     <string>10</string>
397     </property>
398     </item>
399     <item>
400     <property name="text">
401     <string>11</string>
402     </property>
403     </item>
404     <item>
405     <property name="text">
406     <string>12</string>
407     </property>
408     </item>
409     <item>
410     <property name="text">
411     <string>13</string>
412     </property>
413     </item>
414     <item>
415     <property name="text">
416     <string>14</string>
417     </property>
418     </item>
419     <item>
420     <property name="text">
421     <string>15</string>
422     </property>
423     </item>
424     <item>
425     <property name="text">
426     <string>16</string>
427     </property>
428     </item>
429 capela 280 <item>
430     <property name="text">
431     <string>All</string>
432     </property>
433     </item>
434 capela 95 <property name="name">
435 capela 255 <cstring>MidiChannelComboBox</cstring>
436 capela 95 </property>
437     <property name="toolTip" stdset="0">
438     <string>MIDI input channel</string>
439     </property>
440     </widget>
441     <spacer>
442     <property name="name">
443     <cstring>spacer2</cstring>
444     </property>
445     <property name="orientation">
446     <enum>Horizontal</enum>
447     </property>
448     <property name="sizeType">
449     <enum>Expanding</enum>
450     </property>
451     <property name="sizeHint">
452     <size>
453     <width>8</width>
454     <height>8</height>
455     </size>
456     </property>
457     </spacer>
458     </hbox>
459     </widget>
460     <widget class="QGroupBox" row="4" column="1" rowspan="1" colspan="3">
461     <property name="name">
462     <cstring>AudioGroupBox</cstring>
463     </property>
464     <property name="sizePolicy">
465     <sizepolicy>
466     <hsizetype>1</hsizetype>
467     <vsizetype>5</vsizetype>
468     <horstretch>0</horstretch>
469     <verstretch>0</verstretch>
470     </sizepolicy>
471     </property>
472     <property name="title">
473 capela 255 <string>Audio / Output</string>
474 capela 95 </property>
475     <property name="alignment">
476     <set>AlignAuto</set>
477     </property>
478     <hbox>
479     <property name="name">
480     <cstring>unnamed</cstring>
481     </property>
482     <property name="margin">
483     <number>8</number>
484     </property>
485     <property name="spacing">
486     <number>8</number>
487     </property>
488     <widget class="QLabel">
489     <property name="name">
490     <cstring>AudioDriverTextLabel</cstring>
491     </property>
492     <property name="text">
493     <string>&amp;Type:</string>
494     </property>
495     <property name="alignment">
496     <set>AlignVCenter|AlignRight</set>
497     </property>
498     <property name="buddy" stdset="0">
499     <cstring>AudioDriverComboBox</cstring>
500     </property>
501     </widget>
502     <widget class="QComboBox">
503     <item>
504     <property name="text">
505     <string>ALSA</string>
506     </property>
507     </item>
508     <item>
509     <property name="text">
510     <string>JACK</string>
511     </property>
512     </item>
513     <property name="name">
514     <cstring>AudioDriverComboBox</cstring>
515     </property>
516     <property name="toolTip" stdset="0">
517     <string>Audio output driver type</string>
518     </property>
519     </widget>
520     <spacer>
521     <property name="name">
522     <cstring>spacer3</cstring>
523     </property>
524     <property name="orientation">
525     <enum>Horizontal</enum>
526     </property>
527     <property name="sizeType">
528     <enum>Expanding</enum>
529     </property>
530     <property name="sizeHint">
531     <size>
532     <width>8</width>
533     <height>8</height>
534     </size>
535     </property>
536     </spacer>
537     </hbox>
538     </widget>
539     </grid>
540     </widget>
541     <connections>
542     <connection>
543     <sender>EngineNameComboBox</sender>
544     <signal>activated(int)</signal>
545     <receiver>qsamplerChannelForm</receiver>
546     <slot>optionsChanged()</slot>
547     </connection>
548     <connection>
549     <sender>InstrumentFileComboBox</sender>
550     <signal>textChanged(const QString &amp;)</signal>
551     <receiver>qsamplerChannelForm</receiver>
552     <slot>updateInstrumentName()</slot>
553     </connection>
554     <connection>
555     <sender>InstrumentFilePushButton</sender>
556     <signal>clicked()</signal>
557     <receiver>qsamplerChannelForm</receiver>
558     <slot>openInstrumentFile()</slot>
559     </connection>
560     <connection>
561     <sender>MidiDriverComboBox</sender>
562     <signal>activated(int)</signal>
563     <receiver>qsamplerChannelForm</receiver>
564     <slot>optionsChanged()</slot>
565     </connection>
566     <connection>
567     <sender>MidiPortSpinBox</sender>
568     <signal>valueChanged(int)</signal>
569     <receiver>qsamplerChannelForm</receiver>
570     <slot>optionsChanged()</slot>
571     </connection>
572     <connection>
573 capela 255 <sender>MidiChannelComboBox</sender>
574     <signal>activated(int)</signal>
575 capela 95 <receiver>qsamplerChannelForm</receiver>
576     <slot>optionsChanged()</slot>
577     </connection>
578     <connection>
579     <sender>AudioDriverComboBox</sender>
580     <signal>activated(int)</signal>
581     <receiver>qsamplerChannelForm</receiver>
582     <slot>optionsChanged()</slot>
583     </connection>
584     <connection>
585     <sender>OkPushButton</sender>
586     <signal>clicked()</signal>
587     <receiver>qsamplerChannelForm</receiver>
588     <slot>accept()</slot>
589     </connection>
590     <connection>
591     <sender>CancelPushButton</sender>
592     <signal>clicked()</signal>
593     <receiver>qsamplerChannelForm</receiver>
594     <slot>reject()</slot>
595     </connection>
596     </connections>
597     <tabstops>
598     <tabstop>EngineNameComboBox</tabstop>
599     <tabstop>InstrumentFileComboBox</tabstop>
600     <tabstop>InstrumentFilePushButton</tabstop>
601 capela 299 <tabstop>InstrumentNrComboBox</tabstop>
602 capela 95 <tabstop>MidiDriverComboBox</tabstop>
603     <tabstop>MidiPortSpinBox</tabstop>
604 capela 255 <tabstop>MidiChannelComboBox</tabstop>
605 capela 95 <tabstop>AudioDriverComboBox</tabstop>
606     <tabstop>OkPushButton</tabstop>
607     <tabstop>CancelPushButton</tabstop>
608     </tabstops>
609     <includes>
610 capela 264 <include location="local" impldecl="in declaration">qsamplerChannel.h</include>
611 capela 95 <include location="local" impldecl="in implementation">qsamplerChannelForm.ui.h</include>
612     </includes>
613     <variables>
614 capela 264 <variable access="private">qsamplerChannel *m_pChannel;</variable>
615 capela 95 <variable access="private">int m_iDirtySetup;</variable>
616     <variable access="private">int m_iDirtyCount;</variable>
617     </variables>
618     <slots>
619     <slot specifier="non virtual">accept()</slot>
620     <slot specifier="non virtual">reject()</slot>
621     <slot specifier="non virtual">openInstrumentFile()</slot>
622     <slot specifier="non virtual">updateInstrumentName()</slot>
623     <slot specifier="non virtual">optionsChanged()</slot>
624     <slot specifier="non virtual">stabilizeForm()</slot>
625     </slots>
626     <functions>
627     <function access="private" specifier="non virtual">init()</function>
628     <function access="private" specifier="non virtual">destroy()</function>
629 capela 295 <function specifier="non virtual">setup( qsamplerChannel *pChannel )</function>
630 capela 95 </functions>
631     <pixmapinproject/>
632     <layoutdefaults spacing="8" margin="8"/>
633     </UI>

  ViewVC Help
Powered by ViewVC