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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 971 by capela, Thu Dec 7 10:36:26 2006 UTC revision 1461 by schoenebeck, Sun Oct 28 23:30:36 2007 UTC
# Line 1  Line 1 
1  <!DOCTYPE UI><UI version="3.1" stdsetdef="1">  <ui version="4.0" >
2  <class>qsamplerInstrumentForm</class>   <author>rncbc aka Rui Nuno Capela</author>
3  <comment>qsampler - A LinuxSampler Qt GUI Interface.   <comment>qsampler - A LinuxSampler Qt GUI Interface.
4    
5     Copyright (C) 2004-2006, rncbc aka Rui Nuno Capela. All rights reserved.     Copyright (C) 2004-2007, rncbc aka Rui Nuno Capela. All rights reserved.
6    
7     This program is free software; you can redistribute it and/or     This program is free software; you can redistribute it and/or
8     modify it under the terms of the GNU General Public License     modify it under the terms of the GNU General Public License
# Line 19  Line 19 
19     51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.     51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
20    
21  </comment>  </comment>
22  <author>rncbc aka Rui Nuno Capela</author>   <class>qsamplerInstrumentForm</class>
23  <widget class="QDialog">   <widget class="QDialog" name="qsamplerInstrumentForm" >
24      <property name="name">    <property name="geometry" >
25          <cstring>qsamplerInstrumentForm</cstring>     <rect>
26      </property>      <x>0</x>
27      <property name="geometry">      <y>0</y>
28          <rect>      <width>452</width>
29              <x>0</x>      <height>226</height>
30              <y>0</y>     </rect>
31              <width>451</width>    </property>
32              <height>226</height>    <property name="sizePolicy" >
33          </rect>     <sizepolicy>
34      </property>      <hsizetype>7</hsizetype>
35      <property name="sizePolicy">      <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       <iconset resource="../pixmaps.qrc" >:/qsampler/pixmaps/icons/qsamplerInstrument.png</iconset>
48      </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          <sizepolicy>          <sizepolicy>
68              <hsizetype>7</hsizetype>           <hsizetype>7</hsizetype>
69              <vsizetype>1</vsizetype>           <vsizetype>0</vsizetype>
70              <horstretch>0</horstretch>           <horstretch>0</horstretch>
71              <verstretch>0</verstretch>           <verstretch>0</verstretch>
72          </sizepolicy>          </sizepolicy>
73      </property>         </property>
74      <property name="caption">         <property name="toolTip" >
75          <string>Qsampler: MIDI Instrument</string>          <string>Engine name</string>
76      </property>         </property>
77      <property name="icon">        </widget>
78          <pixmap>qsamplerInstrument.png</pixmap>       </item>
79      </property>       <item row="2" column="0" >
80      <property name="focusPolicy">        <widget class="QLabel" name="EngineNameTextLabel" >
81          <enum>StrongFocus</enum>         <property name="text" >
82      </property>          <string>&amp;Engine:</string>
83      <vbox>         </property>
84          <property name="name">         <property name="alignment" >
85              <cstring>unnamed</cstring>          <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            </property>
359           </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>          </property>
369          <widget class="QLayoutWidget">         </item>
370              <property name="name">         <item>
371                  <cstring>layout1</cstring>          <property name="text" >
372              </property>           <string>Persistent</string>
373              <grid>          </property>
374                  <property name="name">         </item>
375                      <cstring>unnamed</cstring>        </widget>
376                  </property>       </item>
377                  <widget class="QSpinBox" row="0" column="3">       <item row="3" column="9" >
378                      <property name="name">        <widget class="QToolButton" name="InstrumentFileToolButton" >
379                          <cstring>ProgramSpinBox</cstring>         <property name="sizePolicy" >
380                      </property>          <sizepolicy>
381                      <property name="minValue">           <hsizetype>0</hsizetype>
382                          <number>1</number>           <vsizetype>0</vsizetype>
383                      </property>           <horstretch>0</horstretch>
384                      <property name="maxValue">           <verstretch>0</verstretch>
385                          <number>128</number>          </sizepolicy>
386                      </property>         </property>
387                      <property name="toolTip" stdset="0">         <property name="minimumSize" >
388                          <string>Program (0-127)</string>          <size>
389                      </property>           <width>24</width>
390                  </widget>           <height>24</height>
391                  <widget class="QSpinBox" row="0" column="1">          </size>
392                      <property name="name">         </property>
393                          <cstring>BankSpinBox</cstring>         <property name="maximumSize" >
394                      </property>          <size>
395                      <property name="maxValue">           <width>26</width>
396                          <number>16383</number>           <height>26</height>
397                      </property>          </size>
398                      <property name="toolTip" stdset="0">         </property>
399                          <string>Bank (0-16383)</string>         <property name="focusPolicy" >
400                      </property>          <enum>Qt::TabFocus</enum>
401                  </widget>         </property>
402                  <widget class="QSpinBox" row="5" column="1">         <property name="toolTip" >
403                      <property name="name">          <string>Browse for instrument filename</string>
404                          <cstring>VolumeSpinBox</cstring>         </property>
405                      </property>         <property name="text" >
406                      <property name="suffix">          <string/>
407                          <string> %</string>         </property>
408                      </property>         <property name="icon" >
409                      <property name="maxValue">          <iconset resource="../pixmaps.qrc" >:/qsampler/pixmaps/icons/fileOpen.png</iconset>
410                          <number>100</number>         </property>
411                      </property>        </widget>
412                      <property name="toolTip" stdset="0">       </item>
413                          <string>Volume (%)</string>      </layout>
414                      </property>     </item>
415                  </widget>     <item>
416                  <widget class="QLabel" row="1" column="0">      <layout class="QHBoxLayout" >
417                      <property name="name">       <property name="margin" >
418                          <cstring>NameTextLabe</cstring>        <number>0</number>
419                      </property>       </property>
420                      <property name="text">       <property name="spacing" >
421                          <string>&amp;Name:</string>        <number>4</number>
422                      </property>       </property>
423                      <property name="alignment">       <item>
424                          <set>AlignVCenter|AlignRight</set>        <spacer>
425                      </property>         <property name="orientation" >
426                      <property name="buddy" stdset="0">          <enum>Qt::Horizontal</enum>
427                          <cstring>NameLineEdit</cstring>         </property>
428                      </property>         <property name="sizeType" >
429                  </widget>          <enum>QSizePolicy::Expanding</enum>
430                  <widget class="QLabel" row="0" column="0">         </property>
431                      <property name="name">         <property name="sizeHint" >
432                          <cstring>BankTextLabel</cstring>          <size>
433                      </property>           <width>8</width>
434                      <property name="text">           <height>8</height>
435                          <string>&amp;Bank:</string>          </size>
436                      </property>         </property>
437                      <property name="alignment">        </spacer>
438                          <set>AlignVCenter|AlignRight</set>       </item>
439                      </property>       <item>
440                      <property name="buddy" stdset="0">        <widget class="QPushButton" name="OkPushButton" >
441                          <cstring>BankSpinBox</cstring>         <property name="text" >
442                      </property>          <string>O&amp;K</string>
443                  </widget>         </property>
444                  <widget class="QToolButton" row="3" column="6">         <property name="icon" >
445                      <property name="name">          <iconset resource="../pixmaps.qrc" >:/qsampler/pixmaps/icons/formAccept.png</iconset>
446                          <cstring>InstrumentFileToolButton</cstring>         </property>
447                      </property>         <property name="shortcut" >
448                      <property name="sizePolicy">          <string>Alt+K</string>
449                          <sizepolicy>         </property>
450                              <hsizetype>0</hsizetype>        </widget>
451                              <vsizetype>0</vsizetype>       </item>
452                              <horstretch>0</horstretch>       <item>
453                              <verstretch>0</verstretch>        <widget class="QPushButton" name="CancelPushButton" >
454                          </sizepolicy>         <property name="text" >
455                      </property>          <string>C&amp;ancel</string>
456                      <property name="minimumSize">         </property>
457                          <size>         <property name="icon" >
458                              <width>24</width>          <iconset resource="../pixmaps.qrc" >:/qsampler/pixmaps/icons/formReject.png</iconset>
459                              <height>24</height>         </property>
460                          </size>         <property name="shortcut" >
461                      </property>          <string>Alt+A</string>
462                      <property name="maximumSize">         </property>
463                          <size>        </widget>
464                              <width>26</width>       </item>
465                              <height>26</height>      </layout>
466                          </size>     </item>
467                      </property>    </layout>
468                      <property name="focusPolicy">   </widget>
469                          <enum>TabFocus</enum>   <layoutdefault spacing="4" margin="4" />
470                      </property>   <pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
471                      <property name="text">   <tabstops>
472                          <string></string>    <tabstop>MapComboBox</tabstop>
473                      </property>    <tabstop>BankSpinBox</tabstop>
474                      <property name="iconSet">    <tabstop>ProgSpinBox</tabstop>
475                          <iconset>fileOpen.png</iconset>    <tabstop>NameLineEdit</tabstop>
476                      </property>    <tabstop>EngineNameComboBox</tabstop>
477                      <property name="toolTip" stdset="0">    <tabstop>InstrumentFileComboBox</tabstop>
478                          <string>Browse for instrument filename</string>    <tabstop>InstrumentFileToolButton</tabstop>
479                      </property>    <tabstop>InstrumentNrComboBox</tabstop>
480                  </widget>    <tabstop>VolumeSpinBox</tabstop>
481                  <widget class="QComboBox" row="2" column="1" rowspan="1" colspan="6">    <tabstop>LoadModeComboBox</tabstop>
482                      <property name="name">    <tabstop>OkPushButton</tabstop>
483                          <cstring>EngineNameComboBox</cstring>    <tabstop>CancelPushButton</tabstop>
484                      </property>   </tabstops>
485                      <property name="sizePolicy">   <resources>
486                          <sizepolicy>    <include location="../pixmaps.qrc" />
487                              <hsizetype>7</hsizetype>   </resources>
488                              <vsizetype>0</vsizetype>   <connections>
489                              <horstretch>0</horstretch>    <connection>
490                              <verstretch>0</verstretch>     <sender>MapComboBox</sender>
491                          </sizepolicy>     <signal>activated(int)</signal>
492                      </property>     <receiver>qsamplerInstrumentForm</receiver>
493                      <property name="toolTip" stdset="0">     <slot>changed()</slot>
494                          <string>Engine name</string>     <hints>
495                      </property>      <hint type="sourcelabel" >
496                  </widget>       <x>20</x>
497                  <widget class="QLabel" row="3" column="0">       <y>20</y>
498                      <property name="name">      </hint>
499                          <cstring>InstrumentFileTextLabel</cstring>      <hint type="destinationlabel" >
500                      </property>       <x>20</x>
501                      <property name="text">       <y>20</y>
502                          <string>&amp;Filename:</string>      </hint>
503                      </property>     </hints>
504                      <property name="alignment">    </connection>
505                          <set>AlignVCenter|AlignRight</set>    <connection>
506                      </property>     <sender>BankSpinBox</sender>
507                      <property name="buddy" stdset="0">     <signal>valueChanged(int)</signal>
508                          <cstring>InstrumentFileComboBox</cstring>     <receiver>qsamplerInstrumentForm</receiver>
509                      </property>     <slot>changed()</slot>
510                  </widget>     <hints>
511                  <widget class="QLabel" row="5" column="0">      <hint type="sourcelabel" >
512                      <property name="name">       <x>20</x>
513                          <cstring>VolumeTextLabel</cstring>       <y>20</y>
514                      </property>      </hint>
515                      <property name="text">      <hint type="destinationlabel" >
516                          <string>&amp;Volume:</string>       <x>20</x>
517                      </property>       <y>20</y>
518                      <property name="alignment">      </hint>
519                          <set>AlignVCenter|AlignRight</set>     </hints>
520                      </property>    </connection>
521                      <property name="buddy" stdset="0">    <connection>
522                          <cstring>VolumeSpinBox</cstring>     <sender>ProgSpinBox</sender>
523                      </property>     <signal>valueChanged(int)</signal>
524                  </widget>     <receiver>qsamplerInstrumentForm</receiver>
525                  <spacer row="0" column="4" rowspan="1" colspan="3">     <slot>changed()</slot>
526                      <property name="name">     <hints>
527                          <cstring>spacer1</cstring>      <hint type="sourcelabel" >
528                      </property>       <x>20</x>
529                      <property name="orientation">       <y>20</y>
530                          <enum>Horizontal</enum>      </hint>
531                      </property>      <hint type="destinationlabel" >
532                      <property name="sizeType">       <x>20</x>
533                          <enum>Expanding</enum>       <y>20</y>
534                      </property>      </hint>
535                      <property name="sizeHint">     </hints>
536                          <size>    </connection>
537                              <width>8</width>    <connection>
538                              <height>8</height>     <sender>NameLineEdit</sender>
539                          </size>     <signal>textChanged(QString)</signal>
540                      </property>     <receiver>qsamplerInstrumentForm</receiver>
541                  </spacer>     <slot>nameChanged(QString)</slot>
542                  <widget class="QComboBox" row="5" column="5" rowspan="1" colspan="2">     <hints>
543                      <item>      <hint type="sourcelabel" >
544                          <property name="text">       <x>20</x>
545                              <string>Default</string>       <y>20</y>
546                          </property>      </hint>
547                      </item>      <hint type="destinationlabel" >
548                      <item>       <x>20</x>
549                          <property name="text">       <y>20</y>
550                              <string>On Demand</string>      </hint>
551                          </property>     </hints>
552                      </item>    </connection>
553                      <item>    <connection>
554                          <property name="text">     <sender>EngineNameComboBox</sender>
555                              <string>On Demand Hold</string>     <signal>activated(int)</signal>
556                          </property>     <receiver>qsamplerInstrumentForm</receiver>
557                      </item>     <slot>changed()</slot>
558                      <item>     <hints>
559                          <property name="text">      <hint type="sourcelabel" >
560                              <string>Persistent</string>       <x>20</x>
561                          </property>       <y>20</y>
562                      </item>      </hint>
563                      <property name="name">      <hint type="destinationlabel" >
564                          <cstring>LoadModeComboBox</cstring>       <x>20</x>
565                      </property>       <y>20</y>
566                      <property name="sizePolicy">      </hint>
567                          <sizepolicy>     </hints>
568                              <hsizetype>7</hsizetype>    </connection>
569                              <vsizetype>0</vsizetype>    <connection>
570                              <horstretch>0</horstretch>     <sender>InstrumentFileComboBox</sender>
571                              <verstretch>0</verstretch>     <signal>activated(QString)</signal>
572                          </sizepolicy>     <receiver>qsamplerInstrumentForm</receiver>
573                      </property>     <slot>updateInstrumentName()</slot>
574                      <property name="toolTip" stdset="0">     <hints>
575                          <string>Load mode</string>      <hint type="sourcelabel" >
576                      </property>       <x>20</x>
577                  </widget>       <y>20</y>
578                  <widget class="QLabel" row="5" column="4">      </hint>
579                      <property name="name">      <hint type="destinationlabel" >
580                          <cstring>LoadModeNameTextLabel</cstring>       <x>20</x>
581                      </property>       <y>20</y>
582                      <property name="text">      </hint>
583                          <string>&amp;Mode:</string>     </hints>
584                      </property>    </connection>
585                      <property name="alignment">    <connection>
586                          <set>AlignVCenter|AlignRight</set>     <sender>InstrumentFileToolButton</sender>
587                      </property>     <signal>clicked()</signal>
588                      <property name="buddy" stdset="0">     <receiver>qsamplerInstrumentForm</receiver>
589                          <cstring>LoadModeComboBox</cstring>     <slot>openInstrumentFile()</slot>
590                      </property>     <hints>
591                  </widget>      <hint type="sourcelabel" >
592                  <widget class="QComboBox" row="4" column="1" rowspan="1" colspan="6">       <x>20</x>
593                      <property name="name">       <y>20</y>
594                          <cstring>InstrumentNrComboBox</cstring>      </hint>
595                      </property>      <hint type="destinationlabel" >
596                      <property name="sizePolicy">       <x>20</x>
597                          <sizepolicy>       <y>20</y>
598                              <hsizetype>7</hsizetype>      </hint>
599                              <vsizetype>0</vsizetype>     </hints>
600                              <horstretch>0</horstretch>    </connection>
601                              <verstretch>0</verstretch>    <connection>
602                          </sizepolicy>     <sender>InstrumentNrComboBox</sender>
603                      </property>     <signal>activated(int)</signal>
604                      <property name="minimumSize">     <receiver>qsamplerInstrumentForm</receiver>
605                          <size>     <slot>instrumentNrChanged()</slot>
606                              <width>320</width>     <hints>
607                              <height>0</height>      <hint type="sourcelabel" >
608                          </size>       <x>20</x>
609                      </property>       <y>20</y>
610                      <property name="toolTip" stdset="0">      </hint>
611                          <string>Instrument name</string>      <hint type="destinationlabel" >
612                      </property>       <x>20</x>
613                  </widget>       <y>20</y>
614                  <widget class="QComboBox" row="3" column="1" rowspan="1" colspan="5">      </hint>
615                      <property name="name">     </hints>
616                          <cstring>InstrumentFileComboBox</cstring>    </connection>
617                      </property>    <connection>
618                      <property name="sizePolicy">     <sender>VolumeSpinBox</sender>
619                          <sizepolicy>     <signal>valueChanged(int)</signal>
620                              <hsizetype>7</hsizetype>     <receiver>qsamplerInstrumentForm</receiver>
621                              <vsizetype>0</vsizetype>     <slot>changed()</slot>
622                              <horstretch>0</horstretch>     <hints>
623                              <verstretch>0</verstretch>      <hint type="sourcelabel" >
624                          </sizepolicy>       <x>20</x>
625                      </property>       <y>20</y>
626                      <property name="minimumSize">      </hint>
627                          <size>      <hint type="destinationlabel" >
628                              <width>320</width>       <x>20</x>
629                              <height>0</height>       <y>20</y>
630                          </size>      </hint>
631                      </property>     </hints>
632                      <property name="editable">    </connection>
633                          <bool>true</bool>    <connection>
634                      </property>     <sender>LoadModeComboBox</sender>
635                      <property name="toolTip" stdset="0">     <signal>activated(int)</signal>
636                          <string>Instrument filename</string>     <receiver>qsamplerInstrumentForm</receiver>
637                      </property>     <slot>changed()</slot>
638                  </widget>     <hints>
639                  <widget class="QLabel" row="4" column="0">      <hint type="sourcelabel" >
640                      <property name="name">       <x>20</x>
641                          <cstring>InstrumentNrTextLabel</cstring>       <y>20</y>
642                      </property>      </hint>
643                      <property name="text">      <hint type="destinationlabel" >
644                          <string>&amp;Instrument:</string>       <x>20</x>
645                      </property>       <y>20</y>
646                      <property name="alignment">      </hint>
647                          <set>AlignVCenter|AlignRight</set>     </hints>
648                      </property>    </connection>
649                      <property name="buddy" stdset="0">    <connection>
650                          <cstring>InstrumentNrComboBox</cstring>     <sender>OkPushButton</sender>
651                      </property>     <signal>clicked()</signal>
652                  </widget>     <receiver>qsamplerInstrumentForm</receiver>
653                  <widget class="QLabel" row="2" column="0">     <slot>accept()</slot>
654                      <property name="name">     <hints>
655                          <cstring>EngineNameTextLabel</cstring>      <hint type="sourcelabel" >
656                      </property>       <x>20</x>
657                      <property name="text">       <y>20</y>
658                          <string>&amp;Engine:</string>      </hint>
659                      </property>      <hint type="destinationlabel" >
660                      <property name="alignment">       <x>20</x>
661                          <set>AlignVCenter|AlignRight</set>       <y>20</y>
662                      </property>      </hint>
663                      <property name="buddy" stdset="0">     </hints>
664                          <cstring>EngineNameComboBox</cstring>    </connection>
665                      </property>    <connection>
666                  </widget>     <sender>CancelPushButton</sender>
667                  <widget class="QLineEdit" row="1" column="1" rowspan="1" colspan="6">     <signal>clicked()</signal>
668                      <property name="name">     <receiver>qsamplerInstrumentForm</receiver>
669                          <cstring>NameLineEdit</cstring>     <slot>reject()</slot>
670                      </property>     <hints>
671                      <property name="toolTip" stdset="0">      <hint type="sourcelabel" >
672                          <string>Name</string>       <x>20</x>
673                      </property>       <y>20</y>
674                  </widget>      </hint>
675                  <spacer row="5" column="2" rowspan="1" colspan="2">      <hint type="destinationlabel" >
676                      <property name="name">       <x>20</x>
677                          <cstring>spacer2</cstring>       <y>20</y>
678                      </property>      </hint>
679                      <property name="orientation">     </hints>
680                          <enum>Horizontal</enum>    </connection>
681                      </property>   </connections>
682                      <property name="sizeType">  </ui>
                         <enum>Expanding</enum>  
                     </property>  
                     <property name="sizeHint">  
                         <size>  
                             <width>8</width>  
                             <height>8</height>  
                         </size>  
                     </property>  
                 </spacer>  
                 <widget class="QLabel" row="0" column="2">  
                     <property name="name">  
                         <cstring>ProgramTextLabel</cstring>  
                     </property>  
                     <property name="text">  
                         <string>&amp;Program:</string>  
                     </property>  
                     <property name="alignment">  
                         <set>AlignVCenter|AlignRight</set>  
                     </property>  
                     <property name="buddy" stdset="0">  
                         <cstring>ProgramSpinBox</cstring>  
                     </property>  
                 </widget>  
             </grid>  
         </widget>  
         <widget class="QLayoutWidget">  
             <property name="name">  
                 <cstring>layout2</cstring>  
             </property>  
             <hbox>  
                 <property name="name">  
                     <cstring>unnamed</cstring>  
                 </property>  
                 <spacer>  
                     <property name="name">  
                         <cstring>spacer3</cstring>  
                     </property>  
                     <property name="orientation">  
                         <enum>Horizontal</enum>  
                     </property>  
                     <property name="sizeType">  
                         <enum>Expanding</enum>  
                     </property>  
                     <property name="sizeHint">  
                         <size>  
                             <width>8</width>  
                             <height>8</height>  
                         </size>  
                     </property>  
                 </spacer>  
                 <widget class="QPushButton">  
                     <property name="name">  
                         <cstring>OkPushButton</cstring>  
                     </property>  
                     <property name="text">  
                         <string>OK</string>  
                     </property>  
                     <property name="iconSet">  
                         <iconset>formAccept.png</iconset>  
                     </property>  
                 </widget>  
                 <widget class="QPushButton">  
                     <property name="name">  
                         <cstring>CancelPushButton</cstring>  
                     </property>  
                     <property name="text">  
                         <string>Cancel</string>  
                     </property>  
                     <property name="iconSet">  
                         <iconset>formReject.png</iconset>  
                     </property>  
                 </widget>  
             </hbox>  
         </widget>  
     </vbox>  
 </widget>  
 <connections>  
     <connection>  
         <sender>BankSpinBox</sender>  
         <signal>valueChanged(int)</signal>  
         <receiver>qsamplerInstrumentForm</receiver>  
         <slot>changed()</slot>  
     </connection>  
     <connection>  
         <sender>ProgramSpinBox</sender>  
         <signal>valueChanged(int)</signal>  
         <receiver>qsamplerInstrumentForm</receiver>  
         <slot>changed()</slot>  
     </connection>  
     <connection>  
         <sender>NameLineEdit</sender>  
         <signal>textChanged(const QString&amp;)</signal>  
         <receiver>qsamplerInstrumentForm</receiver>  
         <slot>nameChanged(const QString&amp;)</slot>  
     </connection>  
     <connection>  
         <sender>EngineNameComboBox</sender>  
         <signal>activated(int)</signal>  
         <receiver>qsamplerInstrumentForm</receiver>  
         <slot>changed()</slot>  
     </connection>  
     <connection>  
         <sender>InstrumentFileComboBox</sender>  
         <signal>activated(const QString&amp;)</signal>  
         <receiver>qsamplerInstrumentForm</receiver>  
         <slot>updateInstrumentName()</slot>  
     </connection>  
     <connection>  
         <sender>InstrumentFileToolButton</sender>  
         <signal>clicked()</signal>  
         <receiver>qsamplerInstrumentForm</receiver>  
         <slot>openInstrumentFile()</slot>  
     </connection>  
     <connection>  
         <sender>InstrumentNrComboBox</sender>  
         <signal>activated(int)</signal>  
         <receiver>qsamplerInstrumentForm</receiver>  
         <slot>instrumentNrChanged()</slot>  
     </connection>  
     <connection>  
         <sender>VolumeSpinBox</sender>  
         <signal>valueChanged(int)</signal>  
         <receiver>qsamplerInstrumentForm</receiver>  
         <slot>changed()</slot>  
     </connection>  
     <connection>  
         <sender>LoadModeComboBox</sender>  
         <signal>activated(int)</signal>  
         <receiver>qsamplerInstrumentForm</receiver>  
         <slot>changed()</slot>  
     </connection>  
     <connection>  
         <sender>OkPushButton</sender>  
         <signal>clicked()</signal>  
         <receiver>qsamplerInstrumentForm</receiver>  
         <slot>accept()</slot>  
     </connection>  
     <connection>  
         <sender>CancelPushButton</sender>  
         <signal>clicked()</signal>  
         <receiver>qsamplerInstrumentForm</receiver>  
         <slot>reject()</slot>  
     </connection>  
 </connections>  
 <tabstops>  
     <tabstop>BankSpinBox</tabstop>  
     <tabstop>ProgramSpinBox</tabstop>  
     <tabstop>NameLineEdit</tabstop>  
     <tabstop>EngineNameComboBox</tabstop>  
     <tabstop>InstrumentFileComboBox</tabstop>  
     <tabstop>InstrumentFileToolButton</tabstop>  
     <tabstop>InstrumentNrComboBox</tabstop>  
     <tabstop>VolumeSpinBox</tabstop>  
     <tabstop>LoadModeComboBox</tabstop>  
     <tabstop>OkPushButton</tabstop>  
     <tabstop>CancelPushButton</tabstop>  
 </tabstops>  
 <forwards>  
     <forward>class qsamplerInstrument;</forward>  
 </forwards>  
 <variables>  
     <variable access="private">qsamplerInstrument *m_pInstrument;</variable>  
     <variable access="private">int m_iDirtySetup;</variable>  
     <variable access="private">int m_iDirtyCount;</variable>  
     <variable access="private">int m_iDirtyName;</variable>  
 </variables>  
 <slots>  
     <slot specifier="non virtual">nameChanged( const QString&amp; sName )</slot>  
     <slot specifier="non virtual">openInstrumentFile()</slot>  
     <slot specifier="non virtual">updateInstrumentName()</slot>  
     <slot specifier="non virtual">instrumentNrChanged()</slot>  
     <slot specifier="non virtual">accept()</slot>  
     <slot specifier="non virtual">reject()</slot>  
     <slot specifier="non virtual">changed()</slot>  
     <slot specifier="non virtual">stabilizeForm()</slot>  
 </slots>  
 <functions>  
     <function access="private" specifier="non virtual">init()</function>  
     <function access="private" specifier="non virtual">destroy()</function>  
     <function specifier="non virtual">setup( qsamplerInstrument *pInstrument )</function>  
 </functions>  
 <pixmapinproject/>  
 <layoutdefaults spacing="4" margin="4"/>  
 </UI>  

Legend:
Removed from v.971  
changed lines
  Added in v.1461

  ViewVC Help
Powered by ViewVC