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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1463 - (hide annotations) (download)
Thu Nov 1 13:01:27 2007 UTC (16 years, 5 months ago) by capela
File size: 18846 byte(s)
* Qt4 migration: configure and icon/pixmaps resource arrangement.

1 schoenebeck 1461 <ui version="4.0" >
2     <author>rncbc aka Rui Nuno Capela</author>
3     <comment>qsampler - A LinuxSampler Qt GUI Interface.
4 capela 962
5 capela 1013 Copyright (C) 2004-2007, rncbc aka Rui Nuno Capela. All rights reserved.
6 capela 962
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 schoenebeck 1461 <class>qsamplerInstrumentForm</class>
23     <widget class="QDialog" name="qsamplerInstrumentForm" >
24     <property name="geometry" >
25     <rect>
26     <x>0</x>
27     <y>0</y>
28     <width>452</width>
29     <height>226</height>
30     </rect>
31     </property>
32     <property name="sizePolicy" >
33     <sizepolicy>
34     <hsizetype>7</hsizetype>
35     <vsizetype>1</vsizetype>
36     <horstretch>0</horstretch>
37     <verstretch>0</verstretch>
38     </sizepolicy>
39     </property>
40     <property name="focusPolicy" >
41     <enum>Qt::StrongFocus</enum>
42     </property>
43     <property name="windowTitle" >
44     <string>Qsampler: MIDI Instrument</string>
45     </property>
46     <property name="windowIcon" >
47 capela 1463 <iconset resource="../icons/qsampler.qrc" >:/icons/qsamplerInstrument.png</iconset>
48 schoenebeck 1461 </property>
49     <layout class="QVBoxLayout" >
50     <property name="margin" >
51     <number>4</number>
52     </property>
53     <property name="spacing" >
54     <number>4</number>
55     </property>
56     <item>
57     <layout class="QGridLayout" >
58     <property name="margin" >
59     <number>0</number>
60     </property>
61     <property name="spacing" >
62     <number>4</number>
63     </property>
64     <item row="2" column="1" colspan="9" >
65     <widget class="QComboBox" name="EngineNameComboBox" >
66     <property name="sizePolicy" >
67 capela 962 <sizepolicy>
68 schoenebeck 1461 <hsizetype>7</hsizetype>
69     <vsizetype>0</vsizetype>
70     <horstretch>0</horstretch>
71     <verstretch>0</verstretch>
72 capela 962 </sizepolicy>
73 schoenebeck 1461 </property>
74     <property name="toolTip" >
75     <string>Engine name</string>
76     </property>
77     </widget>
78     </item>
79     <item row="2" column="0" >
80     <widget class="QLabel" name="EngineNameTextLabel" >
81     <property name="text" >
82     <string>&amp;Engine:</string>
83     </property>
84     <property name="alignment" >
85     <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
86     </property>
87     <property name="wordWrap" >
88     <bool>false</bool>
89     </property>
90     <property name="buddy" >
91     <cstring>EngineNameComboBox</cstring>
92     </property>
93     </widget>
94     </item>
95     <item row="0" column="7" >
96     <widget class="QLabel" name="ProgTextLabel" >
97     <property name="text" >
98     <string>&amp;Prog:</string>
99     </property>
100     <property name="alignment" >
101     <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
102     </property>
103     <property name="wordWrap" >
104     <bool>false</bool>
105     </property>
106     <property name="buddy" >
107     <cstring>ProgSpinBox</cstring>
108     </property>
109     </widget>
110     </item>
111     <item row="0" column="8" colspan="2" >
112     <widget class="QSpinBox" name="ProgSpinBox" >
113     <property name="toolTip" >
114     <string>Program (0-127)</string>
115     </property>
116     <property name="maximum" >
117     <number>128</number>
118     </property>
119     <property name="minimum" >
120     <number>1</number>
121     </property>
122     </widget>
123     </item>
124     <item row="5" column="0" >
125     <widget class="QLabel" name="VolumeTextLabel" >
126     <property name="text" >
127     <string>Vol&amp;ume:</string>
128     </property>
129     <property name="alignment" >
130     <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
131     </property>
132     <property name="wordWrap" >
133     <bool>false</bool>
134     </property>
135     <property name="buddy" >
136     <cstring>VolumeSpinBox</cstring>
137     </property>
138     </widget>
139     </item>
140     <item row="0" column="0" >
141     <widget class="QLabel" name="MapTextLabel" >
142     <property name="text" >
143     <string>&amp;Map:</string>
144     </property>
145     <property name="alignment" >
146     <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
147     </property>
148     <property name="wordWrap" >
149     <bool>false</bool>
150     </property>
151     <property name="buddy" >
152     <cstring>MapComboBox</cstring>
153     </property>
154     </widget>
155     </item>
156     <item row="0" column="3" colspan="2" >
157     <widget class="QLabel" name="BankTextLabel" >
158     <property name="text" >
159     <string>&amp;Bank:</string>
160     </property>
161     <property name="alignment" >
162     <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
163     </property>
164     <property name="wordWrap" >
165     <bool>false</bool>
166     </property>
167     <property name="buddy" >
168     <cstring>BankSpinBox</cstring>
169     </property>
170     </widget>
171     </item>
172     <item row="0" column="5" colspan="2" >
173     <widget class="QSpinBox" name="BankSpinBox" >
174     <property name="toolTip" >
175     <string>Bank (0-16383)</string>
176     </property>
177     <property name="maximum" >
178     <number>16383</number>
179     </property>
180     </widget>
181     </item>
182     <item row="3" column="1" colspan="8" >
183     <widget class="QComboBox" name="InstrumentFileComboBox" >
184     <property name="sizePolicy" >
185     <sizepolicy>
186     <hsizetype>7</hsizetype>
187     <vsizetype>0</vsizetype>
188     <horstretch>0</horstretch>
189     <verstretch>0</verstretch>
190     </sizepolicy>
191     </property>
192     <property name="minimumSize" >
193     <size>
194     <width>320</width>
195     <height>0</height>
196     </size>
197     </property>
198     <property name="toolTip" >
199     <string>Instrument filename</string>
200     </property>
201     <property name="editable" >
202     <bool>true</bool>
203     </property>
204     </widget>
205     </item>
206     <item row="5" column="4" colspan="2" >
207     <widget class="QLabel" name="LoadModeNameTextLabel" >
208     <property name="text" >
209     <string>M&amp;ode:</string>
210     </property>
211     <property name="alignment" >
212     <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
213     </property>
214     <property name="wordWrap" >
215     <bool>false</bool>
216     </property>
217     <property name="buddy" >
218     <cstring>LoadModeComboBox</cstring>
219     </property>
220     </widget>
221     </item>
222     <item row="5" column="2" colspan="2" >
223     <spacer>
224     <property name="orientation" >
225     <enum>Qt::Horizontal</enum>
226     </property>
227     <property name="sizeType" >
228     <enum>QSizePolicy::Expanding</enum>
229     </property>
230     <property name="sizeHint" >
231     <size>
232     <width>119</width>
233     <height>8</height>
234     </size>
235     </property>
236     </spacer>
237     </item>
238     <item row="3" column="0" >
239     <widget class="QLabel" name="InstrumentFileTextLabel" >
240     <property name="text" >
241     <string>&amp;Filename:</string>
242     </property>
243     <property name="alignment" >
244     <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
245     </property>
246     <property name="wordWrap" >
247     <bool>false</bool>
248     </property>
249     <property name="buddy" >
250     <cstring>InstrumentFileComboBox</cstring>
251     </property>
252     </widget>
253     </item>
254     <item row="1" column="0" >
255     <widget class="QLabel" name="NameTextLabe" >
256     <property name="text" >
257     <string>&amp;Name:</string>
258     </property>
259     <property name="alignment" >
260     <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
261     </property>
262     <property name="wordWrap" >
263     <bool>false</bool>
264     </property>
265     <property name="buddy" >
266     <cstring>NameLineEdit</cstring>
267     </property>
268     </widget>
269     </item>
270     <item row="0" column="1" colspan="2" >
271     <widget class="QComboBox" name="MapComboBox" >
272     <property name="sizePolicy" >
273     <sizepolicy>
274     <hsizetype>7</hsizetype>
275     <vsizetype>0</vsizetype>
276     <horstretch>0</horstretch>
277     <verstretch>0</verstretch>
278     </sizepolicy>
279     </property>
280     <property name="toolTip" >
281     <string>Instrument map</string>
282     </property>
283     </widget>
284     </item>
285     <item row="4" column="0" >
286     <widget class="QLabel" name="InstrumentNrTextLabel" >
287     <property name="text" >
288     <string>&amp;Instrument:</string>
289     </property>
290     <property name="alignment" >
291     <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
292     </property>
293     <property name="wordWrap" >
294     <bool>false</bool>
295     </property>
296     <property name="buddy" >
297     <cstring>InstrumentNrComboBox</cstring>
298     </property>
299     </widget>
300     </item>
301     <item row="4" column="1" colspan="9" >
302     <widget class="QComboBox" name="InstrumentNrComboBox" >
303     <property name="sizePolicy" >
304     <sizepolicy>
305     <hsizetype>7</hsizetype>
306     <vsizetype>0</vsizetype>
307     <horstretch>0</horstretch>
308     <verstretch>0</verstretch>
309     </sizepolicy>
310     </property>
311     <property name="minimumSize" >
312     <size>
313     <width>320</width>
314     <height>0</height>
315     </size>
316     </property>
317     <property name="toolTip" >
318     <string>Instrument name</string>
319     </property>
320     </widget>
321     </item>
322     <item row="5" column="1" >
323     <widget class="QSpinBox" name="VolumeSpinBox" >
324     <property name="toolTip" >
325     <string>Volume (%)</string>
326     </property>
327     <property name="suffix" >
328     <string> %</string>
329     </property>
330     <property name="maximum" >
331     <number>100</number>
332     </property>
333     </widget>
334     </item>
335     <item row="1" column="1" colspan="9" >
336     <widget class="QLineEdit" name="NameLineEdit" >
337     <property name="toolTip" >
338     <string>Name</string>
339     </property>
340     </widget>
341     </item>
342     <item row="5" column="6" colspan="4" >
343     <widget class="QComboBox" name="LoadModeComboBox" >
344     <property name="sizePolicy" >
345     <sizepolicy>
346     <hsizetype>7</hsizetype>
347     <vsizetype>0</vsizetype>
348     <horstretch>0</horstretch>
349     <verstretch>0</verstretch>
350     </sizepolicy>
351     </property>
352     <property name="toolTip" >
353     <string>Load mode</string>
354     </property>
355     <item>
356     <property name="text" >
357     <string>Default</string>
358 capela 962 </property>
359 schoenebeck 1461 </item>
360     <item>
361     <property name="text" >
362     <string>On Demand</string>
363     </property>
364     </item>
365     <item>
366     <property name="text" >
367     <string>On Demand Hold</string>
368     </property>
369     </item>
370     <item>
371     <property name="text" >
372     <string>Persistent</string>
373     </property>
374     </item>
375     </widget>
376     </item>
377     <item row="3" column="9" >
378     <widget class="QToolButton" name="InstrumentFileToolButton" >
379     <property name="sizePolicy" >
380     <sizepolicy>
381     <hsizetype>0</hsizetype>
382     <vsizetype>0</vsizetype>
383     <horstretch>0</horstretch>
384     <verstretch>0</verstretch>
385     </sizepolicy>
386     </property>
387     <property name="minimumSize" >
388     <size>
389     <width>24</width>
390     <height>24</height>
391     </size>
392     </property>
393     <property name="maximumSize" >
394     <size>
395     <width>26</width>
396     <height>26</height>
397     </size>
398     </property>
399     <property name="focusPolicy" >
400     <enum>Qt::TabFocus</enum>
401     </property>
402     <property name="toolTip" >
403     <string>Browse for instrument filename</string>
404     </property>
405     <property name="text" >
406     <string/>
407     </property>
408     <property name="icon" >
409 capela 1463 <iconset resource="../icons/qsampler.qrc" >:/icons/fileOpen.png</iconset>
410 schoenebeck 1461 </property>
411     </widget>
412     </item>
413     </layout>
414     </item>
415     <item>
416     <layout class="QHBoxLayout" >
417     <property name="margin" >
418     <number>0</number>
419     </property>
420     <property name="spacing" >
421     <number>4</number>
422     </property>
423     <item>
424     <spacer>
425     <property name="orientation" >
426     <enum>Qt::Horizontal</enum>
427     </property>
428     <property name="sizeType" >
429     <enum>QSizePolicy::Expanding</enum>
430     </property>
431     <property name="sizeHint" >
432     <size>
433     <width>8</width>
434     <height>8</height>
435     </size>
436     </property>
437     </spacer>
438     </item>
439     <item>
440     <widget class="QPushButton" name="OkPushButton" >
441     <property name="text" >
442     <string>O&amp;K</string>
443     </property>
444     <property name="icon" >
445 capela 1463 <iconset resource="../icons/qsampler.qrc" >:/icons/formAccept.png</iconset>
446 schoenebeck 1461 </property>
447     <property name="shortcut" >
448     <string>Alt+K</string>
449     </property>
450     </widget>
451     </item>
452     <item>
453     <widget class="QPushButton" name="CancelPushButton" >
454     <property name="text" >
455     <string>C&amp;ancel</string>
456     </property>
457     <property name="icon" >
458 capela 1463 <iconset resource="../icons/qsampler.qrc" >:/icons/formReject.png</iconset>
459 schoenebeck 1461 </property>
460     <property name="shortcut" >
461     <string>Alt+A</string>
462     </property>
463     </widget>
464     </item>
465     </layout>
466     </item>
467     </layout>
468     </widget>
469     <layoutdefault spacing="4" margin="4" />
470     <pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
471     <tabstops>
472     <tabstop>MapComboBox</tabstop>
473     <tabstop>BankSpinBox</tabstop>
474     <tabstop>ProgSpinBox</tabstop>
475     <tabstop>NameLineEdit</tabstop>
476     <tabstop>EngineNameComboBox</tabstop>
477     <tabstop>InstrumentFileComboBox</tabstop>
478     <tabstop>InstrumentFileToolButton</tabstop>
479     <tabstop>InstrumentNrComboBox</tabstop>
480     <tabstop>VolumeSpinBox</tabstop>
481     <tabstop>LoadModeComboBox</tabstop>
482     <tabstop>OkPushButton</tabstop>
483     <tabstop>CancelPushButton</tabstop>
484     </tabstops>
485     <resources>
486 capela 1463 <include location="../icons/qsampler.qrc" />
487 schoenebeck 1461 </resources>
488     <connections>
489     <connection>
490     <sender>MapComboBox</sender>
491     <signal>activated(int)</signal>
492     <receiver>qsamplerInstrumentForm</receiver>
493     <slot>changed()</slot>
494     <hints>
495     <hint type="sourcelabel" >
496     <x>20</x>
497     <y>20</y>
498     </hint>
499     <hint type="destinationlabel" >
500     <x>20</x>
501     <y>20</y>
502     </hint>
503     </hints>
504     </connection>
505     <connection>
506     <sender>BankSpinBox</sender>
507     <signal>valueChanged(int)</signal>
508     <receiver>qsamplerInstrumentForm</receiver>
509     <slot>changed()</slot>
510     <hints>
511     <hint type="sourcelabel" >
512     <x>20</x>
513     <y>20</y>
514     </hint>
515     <hint type="destinationlabel" >
516     <x>20</x>
517     <y>20</y>
518     </hint>
519     </hints>
520     </connection>
521     <connection>
522     <sender>ProgSpinBox</sender>
523     <signal>valueChanged(int)</signal>
524     <receiver>qsamplerInstrumentForm</receiver>
525     <slot>changed()</slot>
526     <hints>
527     <hint type="sourcelabel" >
528     <x>20</x>
529     <y>20</y>
530     </hint>
531     <hint type="destinationlabel" >
532     <x>20</x>
533     <y>20</y>
534     </hint>
535     </hints>
536     </connection>
537     <connection>
538     <sender>NameLineEdit</sender>
539     <signal>textChanged(QString)</signal>
540     <receiver>qsamplerInstrumentForm</receiver>
541     <slot>nameChanged(QString)</slot>
542     <hints>
543     <hint type="sourcelabel" >
544     <x>20</x>
545     <y>20</y>
546     </hint>
547     <hint type="destinationlabel" >
548     <x>20</x>
549     <y>20</y>
550     </hint>
551     </hints>
552     </connection>
553     <connection>
554     <sender>EngineNameComboBox</sender>
555     <signal>activated(int)</signal>
556     <receiver>qsamplerInstrumentForm</receiver>
557     <slot>changed()</slot>
558     <hints>
559     <hint type="sourcelabel" >
560     <x>20</x>
561     <y>20</y>
562     </hint>
563     <hint type="destinationlabel" >
564     <x>20</x>
565     <y>20</y>
566     </hint>
567     </hints>
568     </connection>
569     <connection>
570     <sender>InstrumentFileComboBox</sender>
571     <signal>activated(QString)</signal>
572     <receiver>qsamplerInstrumentForm</receiver>
573     <slot>updateInstrumentName()</slot>
574     <hints>
575     <hint type="sourcelabel" >
576     <x>20</x>
577     <y>20</y>
578     </hint>
579     <hint type="destinationlabel" >
580     <x>20</x>
581     <y>20</y>
582     </hint>
583     </hints>
584     </connection>
585     <connection>
586     <sender>InstrumentFileToolButton</sender>
587     <signal>clicked()</signal>
588     <receiver>qsamplerInstrumentForm</receiver>
589     <slot>openInstrumentFile()</slot>
590     <hints>
591     <hint type="sourcelabel" >
592     <x>20</x>
593     <y>20</y>
594     </hint>
595     <hint type="destinationlabel" >
596     <x>20</x>
597     <y>20</y>
598     </hint>
599     </hints>
600     </connection>
601     <connection>
602     <sender>InstrumentNrComboBox</sender>
603     <signal>activated(int)</signal>
604     <receiver>qsamplerInstrumentForm</receiver>
605     <slot>instrumentNrChanged()</slot>
606     <hints>
607     <hint type="sourcelabel" >
608     <x>20</x>
609     <y>20</y>
610     </hint>
611     <hint type="destinationlabel" >
612     <x>20</x>
613     <y>20</y>
614     </hint>
615     </hints>
616     </connection>
617     <connection>
618     <sender>VolumeSpinBox</sender>
619     <signal>valueChanged(int)</signal>
620     <receiver>qsamplerInstrumentForm</receiver>
621     <slot>changed()</slot>
622     <hints>
623     <hint type="sourcelabel" >
624     <x>20</x>
625     <y>20</y>
626     </hint>
627     <hint type="destinationlabel" >
628     <x>20</x>
629     <y>20</y>
630     </hint>
631     </hints>
632     </connection>
633     <connection>
634     <sender>LoadModeComboBox</sender>
635     <signal>activated(int)</signal>
636     <receiver>qsamplerInstrumentForm</receiver>
637     <slot>changed()</slot>
638     <hints>
639     <hint type="sourcelabel" >
640     <x>20</x>
641     <y>20</y>
642     </hint>
643     <hint type="destinationlabel" >
644     <x>20</x>
645     <y>20</y>
646     </hint>
647     </hints>
648     </connection>
649     <connection>
650     <sender>OkPushButton</sender>
651     <signal>clicked()</signal>
652     <receiver>qsamplerInstrumentForm</receiver>
653     <slot>accept()</slot>
654     <hints>
655     <hint type="sourcelabel" >
656     <x>20</x>
657     <y>20</y>
658     </hint>
659     <hint type="destinationlabel" >
660     <x>20</x>
661     <y>20</y>
662     </hint>
663     </hints>
664     </connection>
665     <connection>
666     <sender>CancelPushButton</sender>
667     <signal>clicked()</signal>
668     <receiver>qsamplerInstrumentForm</receiver>
669     <slot>reject()</slot>
670     <hints>
671     <hint type="sourcelabel" >
672     <x>20</x>
673     <y>20</y>
674     </hint>
675     <hint type="destinationlabel" >
676     <x>20</x>
677     <y>20</y>
678     </hint>
679     </hints>
680     </connection>
681     </connections>
682     </ui>

  ViewVC Help
Powered by ViewVC