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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 962 - (hide annotations) (download)
Sun Dec 3 18:27:23 2006 UTC (17 years, 4 months ago) by capela
File size: 22631 byte(s)
* Adding preliminary MIDI instrument mapping support; now
  with an instrument list widget and editing capabilities.

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     <width>451</width>
32     <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="icon">
47     <pixmap>qsamplerInstrument.png</pixmap>
48     </property>
49     <property name="focusPolicy">
50     <enum>StrongFocus</enum>
51     </property>
52     <vbox>
53     <property name="name">
54     <cstring>unnamed</cstring>
55     </property>
56     <widget class="QLayoutWidget">
57     <property name="name">
58     <cstring>layout1</cstring>
59     </property>
60     <grid>
61     <property name="name">
62     <cstring>unnamed</cstring>
63     </property>
64     <widget class="QSpinBox" row="0" column="3">
65     <property name="name">
66     <cstring>ProgramSpinBox</cstring>
67     </property>
68     <property name="maxValue">
69     <number>127</number>
70     </property>
71     <property name="toolTip" stdset="0">
72     <string>Program (0-127)</string>
73     </property>
74     </widget>
75     <widget class="QSpinBox" row="0" column="1">
76     <property name="name">
77     <cstring>BankSpinBox</cstring>
78     </property>
79     <property name="maxValue">
80     <number>16383</number>
81     </property>
82     <property name="toolTip" stdset="0">
83     <string>Bank (0-16383)</string>
84     </property>
85     </widget>
86     <widget class="QSpinBox" row="5" column="1">
87     <property name="name">
88     <cstring>VolumeSpinBox</cstring>
89     </property>
90     <property name="suffix">
91     <string> %</string>
92     </property>
93     <property name="maxValue">
94     <number>100</number>
95     </property>
96     <property name="toolTip" stdset="0">
97     <string>Volume (%)</string>
98     </property>
99     </widget>
100     <widget class="QLabel" row="1" column="0">
101     <property name="name">
102     <cstring>NameTextLabe</cstring>
103     </property>
104     <property name="text">
105     <string>&amp;Name:</string>
106     </property>
107     <property name="alignment">
108     <set>AlignVCenter|AlignRight</set>
109     </property>
110     <property name="buddy" stdset="0">
111     <cstring>NameLineEdit</cstring>
112     </property>
113     </widget>
114     <widget class="QLabel" row="0" column="0">
115     <property name="name">
116     <cstring>BankTextLabel</cstring>
117     </property>
118     <property name="text">
119     <string>&amp;Bank:</string>
120     </property>
121     <property name="alignment">
122     <set>AlignVCenter|AlignRight</set>
123     </property>
124     <property name="buddy" stdset="0">
125     <cstring>BankSpinBox</cstring>
126     </property>
127     </widget>
128     <widget class="QToolButton" row="3" column="6">
129     <property name="name">
130     <cstring>InstrumentFileToolButton</cstring>
131     </property>
132     <property name="sizePolicy">
133     <sizepolicy>
134     <hsizetype>0</hsizetype>
135     <vsizetype>0</vsizetype>
136     <horstretch>0</horstretch>
137     <verstretch>0</verstretch>
138     </sizepolicy>
139     </property>
140     <property name="minimumSize">
141     <size>
142     <width>24</width>
143     <height>24</height>
144     </size>
145     </property>
146     <property name="maximumSize">
147     <size>
148     <width>26</width>
149     <height>26</height>
150     </size>
151     </property>
152     <property name="focusPolicy">
153     <enum>TabFocus</enum>
154     </property>
155     <property name="text">
156     <string></string>
157     </property>
158     <property name="iconSet">
159     <iconset>fileOpen.png</iconset>
160     </property>
161     <property name="toolTip" stdset="0">
162     <string>Browse for instrument filename</string>
163     </property>
164     </widget>
165     <widget class="QComboBox" row="2" column="1" rowspan="1" colspan="6">
166     <property name="name">
167     <cstring>EngineNameComboBox</cstring>
168     </property>
169     <property name="sizePolicy">
170     <sizepolicy>
171     <hsizetype>7</hsizetype>
172     <vsizetype>0</vsizetype>
173     <horstretch>0</horstretch>
174     <verstretch>0</verstretch>
175     </sizepolicy>
176     </property>
177     <property name="toolTip" stdset="0">
178     <string>Engine name</string>
179     </property>
180     </widget>
181     <widget class="QLabel" row="3" column="0">
182     <property name="name">
183     <cstring>InstrumentFileTextLabel</cstring>
184     </property>
185     <property name="text">
186     <string>&amp;Filename:</string>
187     </property>
188     <property name="alignment">
189     <set>AlignVCenter|AlignRight</set>
190     </property>
191     <property name="buddy" stdset="0">
192     <cstring>InstrumentFileComboBox</cstring>
193     </property>
194     </widget>
195     <widget class="QLabel" row="5" column="0">
196     <property name="name">
197     <cstring>VolumeTextLabel</cstring>
198     </property>
199     <property name="text">
200     <string>&amp;Volume:</string>
201     </property>
202     <property name="alignment">
203     <set>AlignVCenter|AlignRight</set>
204     </property>
205     <property name="buddy" stdset="0">
206     <cstring>VolumeSpinBox</cstring>
207     </property>
208     </widget>
209     <spacer row="0" column="4" rowspan="1" colspan="3">
210     <property name="name">
211     <cstring>spacer1</cstring>
212     </property>
213     <property name="orientation">
214     <enum>Horizontal</enum>
215     </property>
216     <property name="sizeType">
217     <enum>Expanding</enum>
218     </property>
219     <property name="sizeHint">
220     <size>
221     <width>8</width>
222     <height>8</height>
223     </size>
224     </property>
225     </spacer>
226     <widget class="QComboBox" row="5" column="5" rowspan="1" colspan="2">
227     <item>
228     <property name="text">
229     <string>Default</string>
230     </property>
231     </item>
232     <item>
233     <property name="text">
234     <string>On Demand</string>
235     </property>
236     </item>
237     <item>
238     <property name="text">
239     <string>On Demand Hold</string>
240     </property>
241     </item>
242     <item>
243     <property name="text">
244     <string>Persistent</string>
245     </property>
246     </item>
247     <property name="name">
248     <cstring>LoadModeComboBox</cstring>
249     </property>
250     <property name="sizePolicy">
251     <sizepolicy>
252     <hsizetype>7</hsizetype>
253     <vsizetype>0</vsizetype>
254     <horstretch>0</horstretch>
255     <verstretch>0</verstretch>
256     </sizepolicy>
257     </property>
258     <property name="toolTip" stdset="0">
259     <string>Load mode</string>
260     </property>
261     </widget>
262     <widget class="QLabel" row="5" column="4">
263     <property name="name">
264     <cstring>LoadModeNameTextLabel</cstring>
265     </property>
266     <property name="text">
267     <string>&amp;Mode:</string>
268     </property>
269     <property name="alignment">
270     <set>AlignVCenter|AlignRight</set>
271     </property>
272     <property name="buddy" stdset="0">
273     <cstring>LoadModeComboBox</cstring>
274     </property>
275     </widget>
276     <widget class="QComboBox" row="4" column="1" rowspan="1" colspan="6">
277     <property name="name">
278     <cstring>InstrumentNrComboBox</cstring>
279     </property>
280     <property name="sizePolicy">
281     <sizepolicy>
282     <hsizetype>7</hsizetype>
283     <vsizetype>0</vsizetype>
284     <horstretch>0</horstretch>
285     <verstretch>0</verstretch>
286     </sizepolicy>
287     </property>
288     <property name="minimumSize">
289     <size>
290     <width>320</width>
291     <height>0</height>
292     </size>
293     </property>
294     <property name="toolTip" stdset="0">
295     <string>Instrument name</string>
296     </property>
297     </widget>
298     <widget class="QComboBox" row="3" column="1" rowspan="1" colspan="5">
299     <property name="name">
300     <cstring>InstrumentFileComboBox</cstring>
301     </property>
302     <property name="sizePolicy">
303     <sizepolicy>
304     <hsizetype>7</hsizetype>
305     <vsizetype>0</vsizetype>
306     <horstretch>0</horstretch>
307     <verstretch>0</verstretch>
308     </sizepolicy>
309     </property>
310     <property name="minimumSize">
311     <size>
312     <width>320</width>
313     <height>0</height>
314     </size>
315     </property>
316     <property name="editable">
317     <bool>true</bool>
318     </property>
319     <property name="toolTip" stdset="0">
320     <string>Instrument filename</string>
321     </property>
322     </widget>
323     <widget class="QLabel" row="4" column="0">
324     <property name="name">
325     <cstring>InstrumentNrTextLabel</cstring>
326     </property>
327     <property name="text">
328     <string>&amp;Instrument:</string>
329     </property>
330     <property name="alignment">
331     <set>AlignVCenter|AlignRight</set>
332     </property>
333     <property name="buddy" stdset="0">
334     <cstring>InstrumentNrComboBox</cstring>
335     </property>
336     </widget>
337     <widget class="QLabel" row="2" column="0">
338     <property name="name">
339     <cstring>EngineNameTextLabel</cstring>
340     </property>
341     <property name="text">
342     <string>&amp;Engine:</string>
343     </property>
344     <property name="alignment">
345     <set>AlignVCenter|AlignRight</set>
346     </property>
347     <property name="buddy" stdset="0">
348     <cstring>EngineNameComboBox</cstring>
349     </property>
350     </widget>
351     <widget class="QLineEdit" row="1" column="1" rowspan="1" colspan="6">
352     <property name="name">
353     <cstring>NameLineEdit</cstring>
354     </property>
355     <property name="toolTip" stdset="0">
356     <string>Name</string>
357     </property>
358     </widget>
359     <spacer row="5" column="2" rowspan="1" colspan="2">
360     <property name="name">
361     <cstring>spacer2</cstring>
362     </property>
363     <property name="orientation">
364     <enum>Horizontal</enum>
365     </property>
366     <property name="sizeType">
367     <enum>Expanding</enum>
368     </property>
369     <property name="sizeHint">
370     <size>
371     <width>8</width>
372     <height>8</height>
373     </size>
374     </property>
375     </spacer>
376     <widget class="QLabel" row="0" column="2">
377     <property name="name">
378     <cstring>ProgramTextLabel</cstring>
379     </property>
380     <property name="text">
381     <string>&amp;Program:</string>
382     </property>
383     <property name="alignment">
384     <set>AlignVCenter|AlignRight</set>
385     </property>
386     <property name="buddy" stdset="0">
387     <cstring>ProgramSpinBox</cstring>
388     </property>
389     </widget>
390     </grid>
391     </widget>
392     <widget class="QLayoutWidget">
393     <property name="name">
394     <cstring>layout2</cstring>
395     </property>
396     <hbox>
397     <property name="name">
398     <cstring>unnamed</cstring>
399     </property>
400     <spacer>
401     <property name="name">
402     <cstring>spacer3</cstring>
403     </property>
404     <property name="orientation">
405     <enum>Horizontal</enum>
406     </property>
407     <property name="sizeType">
408     <enum>Expanding</enum>
409     </property>
410     <property name="sizeHint">
411     <size>
412     <width>8</width>
413     <height>8</height>
414     </size>
415     </property>
416     </spacer>
417     <widget class="QPushButton">
418     <property name="name">
419     <cstring>OkPushButton</cstring>
420     </property>
421     <property name="text">
422     <string>OK</string>
423     </property>
424     <property name="iconSet">
425     <iconset>formAccept.png</iconset>
426     </property>
427     </widget>
428     <widget class="QPushButton">
429     <property name="name">
430     <cstring>CancelPushButton</cstring>
431     </property>
432     <property name="text">
433     <string>Cancel</string>
434     </property>
435     <property name="iconSet">
436     <iconset>formReject.png</iconset>
437     </property>
438     </widget>
439     </hbox>
440     </widget>
441     </vbox>
442     </widget>
443     <connections>
444     <connection>
445     <sender>BankSpinBox</sender>
446     <signal>valueChanged(int)</signal>
447     <receiver>qsamplerInstrumentForm</receiver>
448     <slot>changed()</slot>
449     </connection>
450     <connection>
451     <sender>ProgramSpinBox</sender>
452     <signal>valueChanged(int)</signal>
453     <receiver>qsamplerInstrumentForm</receiver>
454     <slot>changed()</slot>
455     </connection>
456     <connection>
457     <sender>NameLineEdit</sender>
458     <signal>textChanged(const QString&amp;)</signal>
459     <receiver>qsamplerInstrumentForm</receiver>
460     <slot>nameChanged(const QString&amp;)</slot>
461     </connection>
462     <connection>
463     <sender>EngineNameComboBox</sender>
464     <signal>activated(int)</signal>
465     <receiver>qsamplerInstrumentForm</receiver>
466     <slot>changed()</slot>
467     </connection>
468     <connection>
469     <sender>InstrumentFileComboBox</sender>
470     <signal>activated(const QString&amp;)</signal>
471     <receiver>qsamplerInstrumentForm</receiver>
472     <slot>updateInstrumentName()</slot>
473     </connection>
474     <connection>
475     <sender>InstrumentFileToolButton</sender>
476     <signal>clicked()</signal>
477     <receiver>qsamplerInstrumentForm</receiver>
478     <slot>openInstrumentFile()</slot>
479     </connection>
480     <connection>
481     <sender>InstrumentNrComboBox</sender>
482     <signal>activated(int)</signal>
483     <receiver>qsamplerInstrumentForm</receiver>
484     <slot>instrumentNrChanged()</slot>
485     </connection>
486     <connection>
487     <sender>VolumeSpinBox</sender>
488     <signal>valueChanged(int)</signal>
489     <receiver>qsamplerInstrumentForm</receiver>
490     <slot>changed()</slot>
491     </connection>
492     <connection>
493     <sender>LoadModeComboBox</sender>
494     <signal>activated(int)</signal>
495     <receiver>qsamplerInstrumentForm</receiver>
496     <slot>changed()</slot>
497     </connection>
498     <connection>
499     <sender>OkPushButton</sender>
500     <signal>clicked()</signal>
501     <receiver>qsamplerInstrumentForm</receiver>
502     <slot>accept()</slot>
503     </connection>
504     <connection>
505     <sender>CancelPushButton</sender>
506     <signal>clicked()</signal>
507     <receiver>qsamplerInstrumentForm</receiver>
508     <slot>reject()</slot>
509     </connection>
510     </connections>
511     <tabstops>
512     <tabstop>BankSpinBox</tabstop>
513     <tabstop>ProgramSpinBox</tabstop>
514     <tabstop>NameLineEdit</tabstop>
515     <tabstop>EngineNameComboBox</tabstop>
516     <tabstop>InstrumentFileComboBox</tabstop>
517     <tabstop>InstrumentFileToolButton</tabstop>
518     <tabstop>InstrumentNrComboBox</tabstop>
519     <tabstop>VolumeSpinBox</tabstop>
520     <tabstop>LoadModeComboBox</tabstop>
521     <tabstop>OkPushButton</tabstop>
522     <tabstop>CancelPushButton</tabstop>
523     </tabstops>
524     <forwards>
525     <forward>class qsamplerInstrument;</forward>
526     </forwards>
527     <variables>
528     <variable access="private">qsamplerInstrument *m_pInstrument;</variable>
529     <variable access="private">int m_iDirtySetup;</variable>
530     <variable access="private">int m_iDirtyCount;</variable>
531     <variable access="private">int m_iDirtyName;</variable>
532     </variables>
533     <slots>
534     <slot specifier="non virtual">nameChanged( const QString&amp; sName )</slot>
535     <slot specifier="non virtual">openInstrumentFile()</slot>
536     <slot specifier="non virtual">updateInstrumentName()</slot>
537     <slot specifier="non virtual">instrumentNrChanged()</slot>
538     <slot specifier="non virtual">accept()</slot>
539     <slot specifier="non virtual">reject()</slot>
540     <slot specifier="non virtual">changed()</slot>
541     <slot specifier="non virtual">stabilizeForm()</slot>
542     </slots>
543     <functions>
544     <function access="private" specifier="non virtual">init()</function>
545     <function access="private" specifier="non virtual">destroy()</function>
546     <function specifier="non virtual">setup( qsamplerInstrument *pInstrument )</function>
547     </functions>
548     <pixmapinproject/>
549     <layoutdefaults spacing="4" margin="4"/>
550     </UI>

  ViewVC Help
Powered by ViewVC