/[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 1460 by capela, Mon Jan 8 16:52:48 2007 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-2007, rncbc aka Rui Nuno Capela. All rights reserved.     Copyright (C) 2004-2007, rncbc aka Rui Nuno Capela. All rights reserved.
6    
# 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>452</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="focusPolicy">        </widget>
78          <enum>StrongFocus</enum>       </item>
79      </property>       <item row="2" column="0" >
80      <vbox>        <widget class="QLabel" name="EngineNameTextLabel" >
81          <property name="name">         <property name="text" >
82              <cstring>unnamed</cstring>          <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            </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>layout5</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="QComboBox" row="2" column="1" rowspan="1" colspan="9">       <item row="3" column="9" >
378                      <property name="name">        <widget class="QToolButton" name="InstrumentFileToolButton" >
379                          <cstring>EngineNameComboBox</cstring>         <property name="sizePolicy" >
380                      </property>          <sizepolicy>
381                      <property name="sizePolicy">           <hsizetype>0</hsizetype>
382                          <sizepolicy>           <vsizetype>0</vsizetype>
383                              <hsizetype>7</hsizetype>           <horstretch>0</horstretch>
384                              <vsizetype>0</vsizetype>           <verstretch>0</verstretch>
385                              <horstretch>0</horstretch>          </sizepolicy>
386                              <verstretch>0</verstretch>         </property>
387                          </sizepolicy>         <property name="minimumSize" >
388                      </property>          <size>
389                      <property name="toolTip" stdset="0">           <width>24</width>
390                          <string>Engine name</string>           <height>24</height>
391                      </property>          </size>
392                  </widget>         </property>
393                  <widget class="QLabel" row="2" column="0">         <property name="maximumSize" >
394                      <property name="name">          <size>
395                          <cstring>EngineNameTextLabel</cstring>           <width>26</width>
396                      </property>           <height>26</height>
397                      <property name="text">          </size>
398                          <string>&amp;Engine:</string>         </property>
399                      </property>         <property name="focusPolicy" >
400                      <property name="alignment">          <enum>Qt::TabFocus</enum>
401                          <set>AlignVCenter|AlignRight</set>         </property>
402                      </property>         <property name="toolTip" >
403                      <property name="buddy" stdset="0">          <string>Browse for instrument filename</string>
404                          <cstring>EngineNameComboBox</cstring>         </property>
405                      </property>         <property name="text" >
406                  </widget>          <string/>
407                  <widget class="QLabel" row="0" column="7">         </property>
408                      <property name="name">         <property name="icon" >
409                          <cstring>ProgTextLabel</cstring>          <iconset resource="../pixmaps.qrc" >:/qsampler/pixmaps/icons/fileOpen.png</iconset>
410                      </property>         </property>
411                      <property name="text">        </widget>
412                          <string>&amp;Prog:</string>       </item>
413                      </property>      </layout>
414                      <property name="alignment">     </item>
415                          <set>AlignVCenter|AlignRight</set>     <item>
416                      </property>      <layout class="QHBoxLayout" >
417                      <property name="buddy" stdset="0">       <property name="margin" >
418                          <cstring>ProgSpinBox</cstring>        <number>0</number>
419                      </property>       </property>
420                  </widget>       <property name="spacing" >
421                  <widget class="QSpinBox" row="0" column="8" rowspan="1" colspan="2">        <number>4</number>
422                      <property name="name">       </property>
423                          <cstring>ProgSpinBox</cstring>       <item>
424                      </property>        <spacer>
425                      <property name="maxValue">         <property name="orientation" >
426                          <number>128</number>          <enum>Qt::Horizontal</enum>
427                      </property>         </property>
428                      <property name="minValue">         <property name="sizeType" >
429                          <number>1</number>          <enum>QSizePolicy::Expanding</enum>
430                      </property>         </property>
431                      <property name="toolTip" stdset="0">         <property name="sizeHint" >
432                          <string>Program (0-127)</string>          <size>
433                      </property>           <width>8</width>
434                  </widget>           <height>8</height>
435                  <widget class="QLabel" row="5" column="0">          </size>
436                      <property name="name">         </property>
437                          <cstring>VolumeTextLabel</cstring>        </spacer>
438                      </property>       </item>
439                      <property name="text">       <item>
440                          <string>Vol&amp;ume:</string>        <widget class="QPushButton" name="OkPushButton" >
441                      </property>         <property name="text" >
442                      <property name="alignment">          <string>O&amp;K</string>
443                          <set>AlignVCenter|AlignRight</set>         </property>
444                      </property>         <property name="icon" >
445                      <property name="buddy" stdset="0">          <iconset resource="../pixmaps.qrc" >:/qsampler/pixmaps/icons/formAccept.png</iconset>
446                          <cstring>VolumeSpinBox</cstring>         </property>
447                      </property>         <property name="shortcut" >
448                  </widget>          <string>Alt+K</string>
449                  <widget class="QLabel" row="0" column="0">         </property>
450                      <property name="name">        </widget>
451                          <cstring>MapTextLabel</cstring>       </item>
452                      </property>       <item>
453                      <property name="text">        <widget class="QPushButton" name="CancelPushButton" >
454                          <string>&amp;Map:</string>         <property name="text" >
455                      </property>          <string>C&amp;ancel</string>
456                      <property name="alignment">         </property>
457                          <set>AlignVCenter|AlignRight</set>         <property name="icon" >
458                      </property>          <iconset resource="../pixmaps.qrc" >:/qsampler/pixmaps/icons/formReject.png</iconset>
459                      <property name="buddy" stdset="0">         </property>
460                          <cstring>MapComboBox</cstring>         <property name="shortcut" >
461                      </property>          <string>Alt+A</string>
462                  </widget>         </property>
463                  <widget class="QLabel" row="0" column="3" rowspan="1" colspan="2">        </widget>
464                      <property name="name">       </item>
465                          <cstring>BankTextLabel</cstring>      </layout>
466                      </property>     </item>
467                      <property name="text">    </layout>
468                          <string>&amp;Bank:</string>   </widget>
469                      </property>   <layoutdefault spacing="4" margin="4" />
470                      <property name="alignment">   <pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
471                          <set>AlignVCenter|AlignRight</set>   <tabstops>
472                      </property>    <tabstop>MapComboBox</tabstop>
473                      <property name="buddy" stdset="0">    <tabstop>BankSpinBox</tabstop>
474                          <cstring>BankSpinBox</cstring>    <tabstop>ProgSpinBox</tabstop>
475                      </property>    <tabstop>NameLineEdit</tabstop>
476                  </widget>    <tabstop>EngineNameComboBox</tabstop>
477                  <widget class="QSpinBox" row="0" column="5" rowspan="1" colspan="2">    <tabstop>InstrumentFileComboBox</tabstop>
478                      <property name="name">    <tabstop>InstrumentFileToolButton</tabstop>
479                          <cstring>BankSpinBox</cstring>    <tabstop>InstrumentNrComboBox</tabstop>
480                      </property>    <tabstop>VolumeSpinBox</tabstop>
481                      <property name="maxValue">    <tabstop>LoadModeComboBox</tabstop>
482                          <number>16383</number>    <tabstop>OkPushButton</tabstop>
483                      </property>    <tabstop>CancelPushButton</tabstop>
484                      <property name="toolTip" stdset="0">   </tabstops>
485                          <string>Bank (0-16383)</string>   <resources>
486                      </property>    <include location="../pixmaps.qrc" />
487                  </widget>   </resources>
488                  <widget class="QComboBox" row="3" column="1" rowspan="1" colspan="8">   <connections>
489                      <property name="name">    <connection>
490                          <cstring>InstrumentFileComboBox</cstring>     <sender>MapComboBox</sender>
491                      </property>     <signal>activated(int)</signal>
492                      <property name="sizePolicy">     <receiver>qsamplerInstrumentForm</receiver>
493                          <sizepolicy>     <slot>changed()</slot>
494                              <hsizetype>7</hsizetype>     <hints>
495                              <vsizetype>0</vsizetype>      <hint type="sourcelabel" >
496                              <horstretch>0</horstretch>       <x>20</x>
497                              <verstretch>0</verstretch>       <y>20</y>
498                          </sizepolicy>      </hint>
499                      </property>      <hint type="destinationlabel" >
500                      <property name="minimumSize">       <x>20</x>
501                          <size>       <y>20</y>
502                              <width>320</width>      </hint>
503                              <height>0</height>     </hints>
504                          </size>    </connection>
505                      </property>    <connection>
506                      <property name="editable">     <sender>BankSpinBox</sender>
507                          <bool>true</bool>     <signal>valueChanged(int)</signal>
508                      </property>     <receiver>qsamplerInstrumentForm</receiver>
509                      <property name="toolTip" stdset="0">     <slot>changed()</slot>
510                          <string>Instrument filename</string>     <hints>
511                      </property>      <hint type="sourcelabel" >
512                  </widget>       <x>20</x>
513                  <widget class="QLabel" row="5" column="4" rowspan="1" colspan="2">       <y>20</y>
514                      <property name="name">      </hint>
515                          <cstring>LoadModeNameTextLabel</cstring>      <hint type="destinationlabel" >
516                      </property>       <x>20</x>
517                      <property name="text">       <y>20</y>
518                          <string>M&amp;ode:</string>      </hint>
519                      </property>     </hints>
520                      <property name="alignment">    </connection>
521                          <set>AlignVCenter|AlignRight</set>    <connection>
522                      </property>     <sender>ProgSpinBox</sender>
523                      <property name="buddy" stdset="0">     <signal>valueChanged(int)</signal>
524                          <cstring>LoadModeComboBox</cstring>     <receiver>qsamplerInstrumentForm</receiver>
525                      </property>     <slot>changed()</slot>
526                  </widget>     <hints>
527                  <spacer row="5" column="2" rowspan="1" colspan="2">      <hint type="sourcelabel" >
528                      <property name="name">       <x>20</x>
529                          <cstring>spacer2</cstring>       <y>20</y>
530                      </property>      </hint>
531                      <property name="orientation">      <hint type="destinationlabel" >
532                          <enum>Horizontal</enum>       <x>20</x>
533                      </property>       <y>20</y>
534                      <property name="sizeType">      </hint>
535                          <enum>Expanding</enum>     </hints>
536                      </property>    </connection>
537                      <property name="sizeHint">    <connection>
538                          <size>     <sender>NameLineEdit</sender>
539                              <width>119</width>     <signal>textChanged(QString)</signal>
540                              <height>8</height>     <receiver>qsamplerInstrumentForm</receiver>
541                          </size>     <slot>nameChanged(QString)</slot>
542                      </property>     <hints>
543                  </spacer>      <hint type="sourcelabel" >
544                  <widget class="QLabel" row="3" column="0">       <x>20</x>
545                      <property name="name">       <y>20</y>
546                          <cstring>InstrumentFileTextLabel</cstring>      </hint>
547                      </property>      <hint type="destinationlabel" >
548                      <property name="text">       <x>20</x>
549                          <string>&amp;Filename:</string>       <y>20</y>
550                      </property>      </hint>
551                      <property name="alignment">     </hints>
552                          <set>AlignVCenter|AlignRight</set>    </connection>
553                      </property>    <connection>
554                      <property name="buddy" stdset="0">     <sender>EngineNameComboBox</sender>
555                          <cstring>InstrumentFileComboBox</cstring>     <signal>activated(int)</signal>
556                      </property>     <receiver>qsamplerInstrumentForm</receiver>
557                  </widget>     <slot>changed()</slot>
558                  <widget class="QLabel" row="1" column="0">     <hints>
559                      <property name="name">      <hint type="sourcelabel" >
560                          <cstring>NameTextLabe</cstring>       <x>20</x>
561                      </property>       <y>20</y>
562                      <property name="text">      </hint>
563                          <string>&amp;Name:</string>      <hint type="destinationlabel" >
564                      </property>       <x>20</x>
565                      <property name="alignment">       <y>20</y>
566                          <set>AlignVCenter|AlignRight</set>      </hint>
567                      </property>     </hints>
568                      <property name="buddy" stdset="0">    </connection>
569                          <cstring>NameLineEdit</cstring>    <connection>
570                      </property>     <sender>InstrumentFileComboBox</sender>
571                  </widget>     <signal>activated(QString)</signal>
572                  <widget class="QComboBox" row="0" column="1" rowspan="1" colspan="2">     <receiver>qsamplerInstrumentForm</receiver>
573                      <property name="name">     <slot>updateInstrumentName()</slot>
574                          <cstring>MapComboBox</cstring>     <hints>
575                      </property>      <hint type="sourcelabel" >
576                      <property name="sizePolicy">       <x>20</x>
577                          <sizepolicy>       <y>20</y>
578                              <hsizetype>7</hsizetype>      </hint>
579                              <vsizetype>0</vsizetype>      <hint type="destinationlabel" >
580                              <horstretch>0</horstretch>       <x>20</x>
581                              <verstretch>0</verstretch>       <y>20</y>
582                          </sizepolicy>      </hint>
583                      </property>     </hints>
584                      <property name="toolTip" stdset="0">    </connection>
585                          <string>Instrument map</string>    <connection>
586                      </property>     <sender>InstrumentFileToolButton</sender>
587                  </widget>     <signal>clicked()</signal>
588                  <widget class="QLabel" row="4" column="0">     <receiver>qsamplerInstrumentForm</receiver>
589                      <property name="name">     <slot>openInstrumentFile()</slot>
590                          <cstring>InstrumentNrTextLabel</cstring>     <hints>
591                      </property>      <hint type="sourcelabel" >
592                      <property name="text">       <x>20</x>
593                          <string>&amp;Instrument:</string>       <y>20</y>
594                      </property>      </hint>
595                      <property name="alignment">      <hint type="destinationlabel" >
596                          <set>AlignVCenter|AlignRight</set>       <x>20</x>
597                      </property>       <y>20</y>
598                      <property name="buddy" stdset="0">      </hint>
599                          <cstring>InstrumentNrComboBox</cstring>     </hints>
600                      </property>    </connection>
601                  </widget>    <connection>
602                  <widget class="QComboBox" row="4" column="1" rowspan="1" colspan="9">     <sender>InstrumentNrComboBox</sender>
603                      <property name="name">     <signal>activated(int)</signal>
604                          <cstring>InstrumentNrComboBox</cstring>     <receiver>qsamplerInstrumentForm</receiver>
605                      </property>     <slot>instrumentNrChanged()</slot>
606                      <property name="sizePolicy">     <hints>
607                          <sizepolicy>      <hint type="sourcelabel" >
608                              <hsizetype>7</hsizetype>       <x>20</x>
609                              <vsizetype>0</vsizetype>       <y>20</y>
610                              <horstretch>0</horstretch>      </hint>
611                              <verstretch>0</verstretch>      <hint type="destinationlabel" >
612                          </sizepolicy>       <x>20</x>
613                      </property>       <y>20</y>
614                      <property name="minimumSize">      </hint>
615                          <size>     </hints>
616                              <width>320</width>    </connection>
617                              <height>0</height>    <connection>
618                          </size>     <sender>VolumeSpinBox</sender>
619                      </property>     <signal>valueChanged(int)</signal>
620                      <property name="toolTip" stdset="0">     <receiver>qsamplerInstrumentForm</receiver>
621                          <string>Instrument name</string>     <slot>changed()</slot>
622                      </property>     <hints>
623                  </widget>      <hint type="sourcelabel" >
624                  <widget class="QSpinBox" row="5" column="1">       <x>20</x>
625                      <property name="name">       <y>20</y>
626                          <cstring>VolumeSpinBox</cstring>      </hint>
627                      </property>      <hint type="destinationlabel" >
628                      <property name="suffix">       <x>20</x>
629                          <string> %</string>       <y>20</y>
630                      </property>      </hint>
631                      <property name="maxValue">     </hints>
632                          <number>100</number>    </connection>
633                      </property>    <connection>
634                      <property name="toolTip" stdset="0">     <sender>LoadModeComboBox</sender>
635                          <string>Volume (%)</string>     <signal>activated(int)</signal>
636                      </property>     <receiver>qsamplerInstrumentForm</receiver>
637                  </widget>     <slot>changed()</slot>
638                  <widget class="QLineEdit" row="1" column="1" rowspan="1" colspan="9">     <hints>
639                      <property name="name">      <hint type="sourcelabel" >
640                          <cstring>NameLineEdit</cstring>       <x>20</x>
641                      </property>       <y>20</y>
642                      <property name="toolTip" stdset="0">      </hint>
643                          <string>Name</string>      <hint type="destinationlabel" >
644                      </property>       <x>20</x>
645                  </widget>       <y>20</y>
646                  <widget class="QComboBox" row="5" column="6" rowspan="1" colspan="4">      </hint>
647                      <item>     </hints>
648                          <property name="text">    </connection>
649                              <string>Default</string>    <connection>
650                          </property>     <sender>OkPushButton</sender>
651                      </item>     <signal>clicked()</signal>
652                      <item>     <receiver>qsamplerInstrumentForm</receiver>
653                          <property name="text">     <slot>accept()</slot>
654                              <string>On Demand</string>     <hints>
655                          </property>      <hint type="sourcelabel" >
656                      </item>       <x>20</x>
657                      <item>       <y>20</y>
658                          <property name="text">      </hint>
659                              <string>On Demand Hold</string>      <hint type="destinationlabel" >
660                          </property>       <x>20</x>
661                      </item>       <y>20</y>
662                      <item>      </hint>
663                          <property name="text">     </hints>
664                              <string>Persistent</string>    </connection>
665                          </property>    <connection>
666                      </item>     <sender>CancelPushButton</sender>
667                      <property name="name">     <signal>clicked()</signal>
668                          <cstring>LoadModeComboBox</cstring>     <receiver>qsamplerInstrumentForm</receiver>
669                      </property>     <slot>reject()</slot>
670                      <property name="sizePolicy">     <hints>
671                          <sizepolicy>      <hint type="sourcelabel" >
672                              <hsizetype>7</hsizetype>       <x>20</x>
673                              <vsizetype>0</vsizetype>       <y>20</y>
674                              <horstretch>0</horstretch>      </hint>
675                              <verstretch>0</verstretch>      <hint type="destinationlabel" >
676                          </sizepolicy>       <x>20</x>
677                      </property>       <y>20</y>
678                      <property name="toolTip" stdset="0">      </hint>
679                          <string>Load mode</string>     </hints>
680                      </property>    </connection>
681                  </widget>   </connections>
682                  <widget class="QToolButton" row="3" column="9">  </ui>
                     <property name="name">  
                         <cstring>InstrumentFileToolButton</cstring>  
                     </property>  
                     <property name="sizePolicy">  
                         <sizepolicy>  
                             <hsizetype>0</hsizetype>  
                             <vsizetype>0</vsizetype>  
                             <horstretch>0</horstretch>  
                             <verstretch>0</verstretch>  
                         </sizepolicy>  
                     </property>  
                     <property name="minimumSize">  
                         <size>  
                             <width>24</width>  
                             <height>24</height>  
                         </size>  
                     </property>  
                     <property name="maximumSize">  
                         <size>  
                             <width>26</width>  
                             <height>26</height>  
                         </size>  
                     </property>  
                     <property name="focusPolicy">  
                         <enum>TabFocus</enum>  
                     </property>  
                     <property name="text">  
                         <string></string>  
                     </property>  
                     <property name="iconSet">  
                         <iconset>fileOpen.png</iconset>  
                     </property>  
                     <property name="toolTip" stdset="0">  
                         <string>Browse for instrument filename</string>  
                     </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>O&amp;K</string>  
                     </property>  
                     <property name="accel">  
                         <string>Alt+K</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>C&amp;ancel</string>  
                     </property>  
                     <property name="accel">  
                         <string>Alt+A</string>  
                     </property>  
                     <property name="iconSet">  
                         <iconset>formReject.png</iconset>  
                     </property>  
                 </widget>  
             </hbox>  
         </widget>  
     </vbox>  
 </widget>  
 <connections>  
     <connection>  
         <sender>MapComboBox</sender>  
         <signal>activated(int)</signal>  
         <receiver>qsamplerInstrumentForm</receiver>  
         <slot>changed()</slot>  
     </connection>  
     <connection>  
         <sender>BankSpinBox</sender>  
         <signal>valueChanged(int)</signal>  
         <receiver>qsamplerInstrumentForm</receiver>  
         <slot>changed()</slot>  
     </connection>  
     <connection>  
         <sender>ProgSpinBox</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>MapComboBox</tabstop>  
     <tabstop>BankSpinBox</tabstop>  
     <tabstop>ProgSpinBox</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.1460  
changed lines
  Added in v.1461

  ViewVC Help
Powered by ViewVC