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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 980 - (hide annotations) (download)
Sun Dec 17 22:29:29 2006 UTC (17 years, 4 months ago) by capela
File size: 23895 byte(s)
* Revised and extended MIDI instrument mapping feature; this time
  two (2) MIDI maps are being implicitly created, ones designated
  as 'Chromatic' (0) and another as 'Drum Kits' (1), which can be
  assigned to each sampler channel. (ATTN: this commit elevates the
  requirements for liblscp >= 0.5.0, also on todays CVS and pending
  proper release very soon).

1 capela 962 <!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 capela 980 <width>452</width>
32 capela 962 <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 capela 980 <cstring>layout5</cstring>
56 capela 962 </property>
57     <grid>
58     <property name="name">
59     <cstring>unnamed</cstring>
60     </property>
61 capela 980 <widget class="QComboBox" row="2" column="1" rowspan="1" colspan="9">
62 capela 962 <property name="name">
63 capela 980 <cstring>EngineNameComboBox</cstring>
64 capela 962 </property>
65 capela 980 <property name="sizePolicy">
66     <sizepolicy>
67     <hsizetype>7</hsizetype>
68     <vsizetype>0</vsizetype>
69     <horstretch>0</horstretch>
70     <verstretch>0</verstretch>
71     </sizepolicy>
72 capela 971 </property>
73 capela 962 <property name="toolTip" stdset="0">
74 capela 980 <string>Engine name</string>
75 capela 962 </property>
76     </widget>
77 capela 980 <widget class="QLabel" row="2" column="0">
78 capela 962 <property name="name">
79 capela 980 <cstring>EngineNameTextLabel</cstring>
80 capela 962 </property>
81 capela 980 <property name="text">
82     <string>&amp;Engine:</string>
83 capela 962 </property>
84 capela 980 <property name="alignment">
85     <set>AlignVCenter|AlignRight</set>
86 capela 962 </property>
87 capela 980 <property name="buddy" stdset="0">
88     <cstring>EngineNameComboBox</cstring>
89     </property>
90 capela 962 </widget>
91 capela 980 <widget class="QLabel" row="0" column="7">
92 capela 962 <property name="name">
93 capela 980 <cstring>ProgTextLabel</cstring>
94 capela 962 </property>
95 capela 980 <property name="text">
96     <string>&amp;Prog:</string>
97 capela 962 </property>
98 capela 980 <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 capela 962 <property name="maxValue">
110 capela 980 <number>128</number>
111 capela 962 </property>
112 capela 980 <property name="minValue">
113     <number>1</number>
114     </property>
115 capela 962 <property name="toolTip" stdset="0">
116 capela 980 <string>Program (0-127)</string>
117 capela 962 </property>
118     </widget>
119 capela 980 <widget class="QLabel" row="5" column="0">
120 capela 962 <property name="name">
121 capela 980 <cstring>VolumeTextLabel</cstring>
122 capela 962 </property>
123     <property name="text">
124 capela 980 <string>Vol&amp;ume:</string>
125 capela 962 </property>
126     <property name="alignment">
127     <set>AlignVCenter|AlignRight</set>
128     </property>
129     <property name="buddy" stdset="0">
130 capela 980 <cstring>VolumeSpinBox</cstring>
131 capela 962 </property>
132     </widget>
133     <widget class="QLabel" row="0" column="0">
134     <property name="name">
135 capela 980 <cstring>MapTextLabel</cstring>
136     </property>
137     <property name="text">
138     <string>&amp;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 capela 962 <cstring>BankTextLabel</cstring>
150     </property>
151     <property name="text">
152     <string>&amp;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 capela 980 <widget class="QSpinBox" row="0" column="5" rowspan="1" colspan="2">
162 capela 962 <property name="name">
163 capela 980 <cstring>BankSpinBox</cstring>
164 capela 962 </property>
165 capela 980 <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 capela 962 <property name="sizePolicy">
177     <sizepolicy>
178 capela 980 <hsizetype>7</hsizetype>
179 capela 962 <vsizetype>0</vsizetype>
180     <horstretch>0</horstretch>
181     <verstretch>0</verstretch>
182     </sizepolicy>
183     </property>
184     <property name="minimumSize">
185     <size>
186 capela 980 <width>320</width>
187     <height>0</height>
188 capela 962 </size>
189     </property>
190 capela 980 <property name="editable">
191     <bool>true</bool>
192 capela 962 </property>
193 capela 980 <property name="toolTip" stdset="0">
194     <string>Instrument filename</string>
195 capela 962 </property>
196 capela 980 </widget>
197     <widget class="QLabel" row="5" column="4" rowspan="1" colspan="2">
198     <property name="name">
199     <cstring>LoadModeNameTextLabel</cstring>
200     </property>
201 capela 962 <property name="text">
202 capela 980 <string>M&amp;ode:</string>
203 capela 962 </property>
204 capela 980 <property name="alignment">
205     <set>AlignVCenter|AlignRight</set>
206 capela 962 </property>
207 capela 980 <property name="buddy" stdset="0">
208     <cstring>LoadModeComboBox</cstring>
209 capela 962 </property>
210     </widget>
211 capela 980 <spacer row="5" column="2" rowspan="1" colspan="2">
212 capela 962 <property name="name">
213 capela 980 <cstring>spacer2</cstring>
214 capela 962 </property>
215 capela 980 <property name="orientation">
216     <enum>Horizontal</enum>
217 capela 962 </property>
218 capela 980 <property name="sizeType">
219     <enum>Expanding</enum>
220 capela 962 </property>
221 capela 980 <property name="sizeHint">
222     <size>
223     <width>119</width>
224     <height>8</height>
225     </size>
226     </property>
227     </spacer>
228 capela 962 <widget class="QLabel" row="3" column="0">
229     <property name="name">
230     <cstring>InstrumentFileTextLabel</cstring>
231     </property>
232     <property name="text">
233     <string>&amp;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 capela 980 <widget class="QLabel" row="1" column="0">
243 capela 962 <property name="name">
244 capela 980 <cstring>NameTextLabe</cstring>
245 capela 962 </property>
246     <property name="text">
247 capela 980 <string>&amp;Name:</string>
248 capela 962 </property>
249     <property name="alignment">
250     <set>AlignVCenter|AlignRight</set>
251     </property>
252     <property name="buddy" stdset="0">
253 capela 980 <cstring>NameLineEdit</cstring>
254 capela 962 </property>
255     </widget>
256 capela 980 <widget class="QComboBox" row="0" column="1" rowspan="1" colspan="2">
257 capela 962 <property name="name">
258 capela 980 <cstring>MapComboBox</cstring>
259 capela 962 </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 capela 980 <widget class="QLabel" row="4" column="0">
273 capela 962 <property name="name">
274 capela 980 <cstring>InstrumentNrTextLabel</cstring>
275 capela 962 </property>
276     <property name="text">
277 capela 980 <string>&amp;Instrument:</string>
278 capela 962 </property>
279     <property name="alignment">
280     <set>AlignVCenter|AlignRight</set>
281     </property>
282     <property name="buddy" stdset="0">
283 capela 980 <cstring>InstrumentNrComboBox</cstring>
284 capela 962 </property>
285     </widget>
286 capela 980 <widget class="QComboBox" row="4" column="1" rowspan="1" colspan="9">
287 capela 962 <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 capela 980 <widget class="QSpinBox" row="5" column="1">
309 capela 962 <property name="name">
310 capela 980 <cstring>VolumeSpinBox</cstring>
311 capela 962 </property>
312 capela 980 <property name="suffix">
313     <string> %</string>
314 capela 962 </property>
315 capela 980 <property name="maxValue">
316     <number>100</number>
317 capela 962 </property>
318     <property name="toolTip" stdset="0">
319 capela 980 <string>Volume (%)</string>
320 capela 962 </property>
321     </widget>
322 capela 980 <widget class="QLineEdit" row="1" column="1" rowspan="1" colspan="9">
323 capela 962 <property name="name">
324 capela 980 <cstring>NameLineEdit</cstring>
325 capela 962 </property>
326 capela 980 <property name="toolTip" stdset="0">
327     <string>Name</string>
328 capela 962 </property>
329     </widget>
330 capela 980 <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 capela 962 <property name="name">
352 capela 980 <cstring>LoadModeComboBox</cstring>
353 capela 962 </property>
354 capela 980 <property name="sizePolicy">
355     <sizepolicy>
356     <hsizetype>7</hsizetype>
357     <vsizetype>0</vsizetype>
358     <horstretch>0</horstretch>
359     <verstretch>0</verstretch>
360     </sizepolicy>
361 capela 962 </property>
362     <property name="toolTip" stdset="0">
363 capela 980 <string>Load mode</string>
364 capela 962 </property>
365     </widget>
366 capela 980 <widget class="QToolButton" row="3" column="9">
367 capela 962 <property name="name">
368 capela 980 <cstring>InstrumentFileToolButton</cstring>
369 capela 962 </property>
370 capela 980 <property name="sizePolicy">
371     <sizepolicy>
372     <hsizetype>0</hsizetype>
373     <vsizetype>0</vsizetype>
374     <horstretch>0</horstretch>
375     <verstretch>0</verstretch>
376     </sizepolicy>
377 capela 962 </property>
378 capela 980 <property name="minimumSize">
379     <size>
380     <width>24</width>
381     <height>24</height>
382     </size>
383 capela 962 </property>
384 capela 980 <property name="maximumSize">
385 capela 962 <size>
386 capela 980 <width>26</width>
387     <height>26</height>
388 capela 962 </size>
389     </property>
390 capela 980 <property name="focusPolicy">
391     <enum>TabFocus</enum>
392 capela 962 </property>
393     <property name="text">
394 capela 980 <string></string>
395 capela 962 </property>
396 capela 980 <property name="iconSet">
397     <iconset>fileOpen.png</iconset>
398 capela 962 </property>
399 capela 980 <property name="toolTip" stdset="0">
400     <string>Browse for instrument filename</string>
401 capela 962 </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 capela 980 <string>O&amp;K</string>
436 capela 962 </property>
437 capela 980 <property name="accel">
438     <string>Alt+K</string>
439     </property>
440 capela 962 <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 capela 980 <string>C&amp;ancel</string>
450 capela 962 </property>
451 capela 980 <property name="accel">
452     <string>Alt+A</string>
453     </property>
454 capela 962 <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 capela 980 <sender>MapComboBox</sender>
465     <signal>activated(int)</signal>
466     <receiver>qsamplerInstrumentForm</receiver>
467     <slot>changed()</slot>
468     </connection>
469     <connection>
470 capela 962 <sender>BankSpinBox</sender>
471     <signal>valueChanged(int)</signal>
472     <receiver>qsamplerInstrumentForm</receiver>
473     <slot>changed()</slot>
474     </connection>
475     <connection>
476 capela 980 <sender>ProgSpinBox</sender>
477 capela 962 <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&amp;)</signal>
484     <receiver>qsamplerInstrumentForm</receiver>
485     <slot>nameChanged(const QString&amp;)</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&amp;)</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 capela 980 <tabstop>MapComboBox</tabstop>
538 capela 962 <tabstop>BankSpinBox</tabstop>
539 capela 980 <tabstop>ProgSpinBox</tabstop>
540 capela 962 <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&amp; 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>

  ViewVC Help
Powered by ViewVC