/[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 980 by capela, Sun Dec 17 22:29:29 2006 UTC
# Line 28  Line 28 
28          <rect>          <rect>
29              <x>0</x>              <x>0</x>
30              <y>0</y>              <y>0</y>
31              <width>451</width>              <width>452</width>
32              <height>226</height>              <height>226</height>
33          </rect>          </rect>
34      </property>      </property>
# Line 43  Line 43 
43      <property name="caption">      <property name="caption">
44          <string>Qsampler: MIDI Instrument</string>          <string>Qsampler: MIDI Instrument</string>
45      </property>      </property>
     <property name="icon">  
         <pixmap>qsamplerInstrument.png</pixmap>  
     </property>  
46      <property name="focusPolicy">      <property name="focusPolicy">
47          <enum>StrongFocus</enum>          <enum>StrongFocus</enum>
48      </property>      </property>
# Line 55  Line 52 
52          </property>          </property>
53          <widget class="QLayoutWidget">          <widget class="QLayoutWidget">
54              <property name="name">              <property name="name">
55                  <cstring>layout1</cstring>                  <cstring>layout5</cstring>
56              </property>              </property>
57              <grid>              <grid>
58                  <property name="name">                  <property name="name">
59                      <cstring>unnamed</cstring>                      <cstring>unnamed</cstring>
60                  </property>                  </property>
61                  <widget class="QSpinBox" row="0" column="3">                  <widget class="QComboBox" row="2" column="1" rowspan="1" colspan="9">
62                      <property name="name">                      <property name="name">
63                          <cstring>ProgramSpinBox</cstring>                          <cstring>EngineNameComboBox</cstring>
                     </property>  
                     <property name="minValue">  
                         <number>1</number>  
64                      </property>                      </property>
65                      <property name="maxValue">                      <property name="sizePolicy">
66                          <number>128</number>                          <sizepolicy>
67                                <hsizetype>7</hsizetype>
68                                <vsizetype>0</vsizetype>
69                                <horstretch>0</horstretch>
70                                <verstretch>0</verstretch>
71                            </sizepolicy>
72                      </property>                      </property>
73                      <property name="toolTip" stdset="0">                      <property name="toolTip" stdset="0">
74                          <string>Program (0-127)</string>                          <string>Engine name</string>
75                      </property>                      </property>
76                  </widget>                  </widget>
77                  <widget class="QSpinBox" row="0" column="1">                  <widget class="QLabel" row="2" column="0">
78                      <property name="name">                      <property name="name">
79                          <cstring>BankSpinBox</cstring>                          <cstring>EngineNameTextLabel</cstring>
80                      </property>                      </property>
81                      <property name="maxValue">                      <property name="text">
82                          <number>16383</number>                          <string>&amp;Engine:</string>
83                      </property>                      </property>
84                      <property name="toolTip" stdset="0">                      <property name="alignment">
85                          <string>Bank (0-16383)</string>                          <set>AlignVCenter|AlignRight</set>
86                        </property>
87                        <property name="buddy" stdset="0">
88                            <cstring>EngineNameComboBox</cstring>
89                      </property>                      </property>
90                  </widget>                  </widget>
91                  <widget class="QSpinBox" row="5" column="1">                  <widget class="QLabel" row="0" column="7">
92                      <property name="name">                      <property name="name">
93                          <cstring>VolumeSpinBox</cstring>                          <cstring>ProgTextLabel</cstring>
94                      </property>                      </property>
95                      <property name="suffix">                      <property name="text">
96                          <string> %</string>                          <string>&amp;Prog:</string>
97                        </property>
98                        <property name="alignment">
99                            <set>AlignVCenter|AlignRight</set>
100                        </property>
101                        <property name="buddy" stdset="0">
102                            <cstring>ProgSpinBox</cstring>
103                        </property>
104                    </widget>
105                    <widget class="QSpinBox" row="0" column="8" rowspan="1" colspan="2">
106                        <property name="name">
107                            <cstring>ProgSpinBox</cstring>
108                      </property>                      </property>
109                      <property name="maxValue">                      <property name="maxValue">
110                          <number>100</number>                          <number>128</number>
111                        </property>
112                        <property name="minValue">
113                            <number>1</number>
114                      </property>                      </property>
115                      <property name="toolTip" stdset="0">                      <property name="toolTip" stdset="0">
116                          <string>Volume (%)</string>                          <string>Program (0-127)</string>
117                      </property>                      </property>
118                  </widget>                  </widget>
119                  <widget class="QLabel" row="1" column="0">                  <widget class="QLabel" row="5" column="0">
120                      <property name="name">                      <property name="name">
121                          <cstring>NameTextLabe</cstring>                          <cstring>VolumeTextLabel</cstring>
122                      </property>                      </property>
123                      <property name="text">                      <property name="text">
124                          <string>&amp;Name:</string>                          <string>Vol&amp;ume:</string>
125                      </property>                      </property>
126                      <property name="alignment">                      <property name="alignment">
127                          <set>AlignVCenter|AlignRight</set>                          <set>AlignVCenter|AlignRight</set>
128                      </property>                      </property>
129                      <property name="buddy" stdset="0">                      <property name="buddy" stdset="0">
130                          <cstring>NameLineEdit</cstring>                          <cstring>VolumeSpinBox</cstring>
131                      </property>                      </property>
132                  </widget>                  </widget>
133                  <widget class="QLabel" row="0" column="0">                  <widget class="QLabel" row="0" column="0">
134                      <property name="name">                      <property name="name">
135                            <cstring>MapTextLabel</cstring>
136                        </property>
137                        <property name="text">
138                            <string>&amp;Map:</string>
139                        </property>
140                        <property name="alignment">
141                            <set>AlignVCenter|AlignRight</set>
142                        </property>
143                        <property name="buddy" stdset="0">
144                            <cstring>MapComboBox</cstring>
145                        </property>
146                    </widget>
147                    <widget class="QLabel" row="0" column="3" rowspan="1" colspan="2">
148                        <property name="name">
149                          <cstring>BankTextLabel</cstring>                          <cstring>BankTextLabel</cstring>
150                      </property>                      </property>
151                      <property name="text">                      <property name="text">
# Line 128  Line 158 
158                          <cstring>BankSpinBox</cstring>                          <cstring>BankSpinBox</cstring>
159                      </property>                      </property>
160                  </widget>                  </widget>
161                  <widget class="QToolButton" row="3" column="6">                  <widget class="QSpinBox" row="0" column="5" rowspan="1" colspan="2">
162                      <property name="name">                      <property name="name">
163                          <cstring>InstrumentFileToolButton</cstring>                          <cstring>BankSpinBox</cstring>
164                        </property>
165                        <property name="maxValue">
166                            <number>16383</number>
167                        </property>
168                        <property name="toolTip" stdset="0">
169                            <string>Bank (0-16383)</string>
170                        </property>
171                    </widget>
172                    <widget class="QComboBox" row="3" column="1" rowspan="1" colspan="8">
173                        <property name="name">
174                            <cstring>InstrumentFileComboBox</cstring>
175                      </property>                      </property>
176                      <property name="sizePolicy">                      <property name="sizePolicy">
177                          <sizepolicy>                          <sizepolicy>
178                              <hsizetype>0</hsizetype>                              <hsizetype>7</hsizetype>
179                              <vsizetype>0</vsizetype>                              <vsizetype>0</vsizetype>
180                              <horstretch>0</horstretch>                              <horstretch>0</horstretch>
181                              <verstretch>0</verstretch>                              <verstretch>0</verstretch>
# Line 142  Line 183 
183                      </property>                      </property>
184                      <property name="minimumSize">                      <property name="minimumSize">
185                          <size>                          <size>
186                              <width>24</width>                              <width>320</width>
187                              <height>24</height>                              <height>0</height>
188                          </size>                          </size>
189                      </property>                      </property>
190                      <property name="maximumSize">                      <property name="editable">
191                          <size>                          <bool>true</bool>
                             <width>26</width>  
                             <height>26</height>  
                         </size>  
192                      </property>                      </property>
193                      <property name="focusPolicy">                      <property name="toolTip" stdset="0">
194                          <enum>TabFocus</enum>                          <string>Instrument filename</string>
195                        </property>
196                    </widget>
197                    <widget class="QLabel" row="5" column="4" rowspan="1" colspan="2">
198                        <property name="name">
199                            <cstring>LoadModeNameTextLabel</cstring>
200                      </property>                      </property>
201                      <property name="text">                      <property name="text">
202                          <string></string>                          <string>M&amp;ode:</string>
203                      </property>                      </property>
204                      <property name="iconSet">                      <property name="alignment">
205                          <iconset>fileOpen.png</iconset>                          <set>AlignVCenter|AlignRight</set>
206                      </property>                      </property>
207                      <property name="toolTip" stdset="0">                      <property name="buddy" stdset="0">
208                          <string>Browse for instrument filename</string>                          <cstring>LoadModeComboBox</cstring>
209                      </property>                      </property>
210                  </widget>                  </widget>
211                  <widget class="QComboBox" row="2" column="1" rowspan="1" colspan="6">                  <spacer row="5" column="2" rowspan="1" colspan="2">
212                      <property name="name">                      <property name="name">
213                          <cstring>EngineNameComboBox</cstring>                          <cstring>spacer2</cstring>
214                      </property>                      </property>
215                      <property name="sizePolicy">                      <property name="orientation">
216                          <sizepolicy>                          <enum>Horizontal</enum>
                             <hsizetype>7</hsizetype>  
                             <vsizetype>0</vsizetype>  
                             <horstretch>0</horstretch>  
                             <verstretch>0</verstretch>  
                         </sizepolicy>  
217                      </property>                      </property>
218                      <property name="toolTip" stdset="0">                      <property name="sizeType">
219                          <string>Engine name</string>                          <enum>Expanding</enum>
220                      </property>                      </property>
221                  </widget>                      <property name="sizeHint">
222                            <size>
223                                <width>119</width>
224                                <height>8</height>
225                            </size>
226                        </property>
227                    </spacer>
228                  <widget class="QLabel" row="3" column="0">                  <widget class="QLabel" row="3" column="0">
229                      <property name="name">                      <property name="name">
230                          <cstring>InstrumentFileTextLabel</cstring>                          <cstring>InstrumentFileTextLabel</cstring>
# Line 195  Line 239 
239                          <cstring>InstrumentFileComboBox</cstring>                          <cstring>InstrumentFileComboBox</cstring>
240                      </property>                      </property>
241                  </widget>                  </widget>
242                  <widget class="QLabel" row="5" column="0">                  <widget class="QLabel" row="1" column="0">
243                      <property name="name">                      <property name="name">
244                          <cstring>VolumeTextLabel</cstring>                          <cstring>NameTextLabe</cstring>
245                      </property>                      </property>
246                      <property name="text">                      <property name="text">
247                          <string>&amp;Volume:</string>                          <string>&amp;Name:</string>
248                      </property>                      </property>
249                      <property name="alignment">                      <property name="alignment">
250                          <set>AlignVCenter|AlignRight</set>                          <set>AlignVCenter|AlignRight</set>
251                      </property>                      </property>
252                      <property name="buddy" stdset="0">                      <property name="buddy" stdset="0">
253                          <cstring>VolumeSpinBox</cstring>                          <cstring>NameLineEdit</cstring>
254                      </property>                      </property>
255                  </widget>                  </widget>
256                  <spacer row="0" column="4" rowspan="1" colspan="3">                  <widget class="QComboBox" row="0" column="1" rowspan="1" colspan="2">
                     <property name="name">  
                         <cstring>spacer1</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="QComboBox" row="5" column="5" rowspan="1" colspan="2">  
                     <item>  
                         <property name="text">  
                             <string>Default</string>  
                         </property>  
                     </item>  
                     <item>  
                         <property name="text">  
                             <string>On Demand</string>  
                         </property>  
                     </item>  
                     <item>  
                         <property name="text">  
                             <string>On Demand Hold</string>  
                         </property>  
                     </item>  
                     <item>  
                         <property name="text">  
                             <string>Persistent</string>  
                         </property>  
                     </item>  
257                      <property name="name">                      <property name="name">
258                          <cstring>LoadModeComboBox</cstring>                          <cstring>MapComboBox</cstring>
259                      </property>                      </property>
260                      <property name="sizePolicy">                      <property name="sizePolicy">
261                          <sizepolicy>                          <sizepolicy>
# Line 262  Line 269 
269                          <string>Load mode</string>                          <string>Load mode</string>
270                      </property>                      </property>
271                  </widget>                  </widget>
272                  <widget class="QLabel" row="5" column="4">                  <widget class="QLabel" row="4" column="0">
273                      <property name="name">                      <property name="name">
274                          <cstring>LoadModeNameTextLabel</cstring>                          <cstring>InstrumentNrTextLabel</cstring>
275                      </property>                      </property>
276                      <property name="text">                      <property name="text">
277                          <string>&amp;Mode:</string>                          <string>&amp;Instrument:</string>
278                      </property>                      </property>
279                      <property name="alignment">                      <property name="alignment">
280                          <set>AlignVCenter|AlignRight</set>                          <set>AlignVCenter|AlignRight</set>
281                      </property>                      </property>
282                      <property name="buddy" stdset="0">                      <property name="buddy" stdset="0">
283                          <cstring>LoadModeComboBox</cstring>                          <cstring>InstrumentNrComboBox</cstring>
284                      </property>                      </property>
285                  </widget>                  </widget>
286                  <widget class="QComboBox" row="4" column="1" rowspan="1" colspan="6">                  <widget class="QComboBox" row="4" column="1" rowspan="1" colspan="9">
287                      <property name="name">                      <property name="name">
288                          <cstring>InstrumentNrComboBox</cstring>                          <cstring>InstrumentNrComboBox</cstring>
289                      </property>                      </property>
# Line 298  Line 305 
305                          <string>Instrument name</string>                          <string>Instrument name</string>
306                      </property>                      </property>
307                  </widget>                  </widget>
308                  <widget class="QComboBox" row="3" column="1" rowspan="1" colspan="5">                  <widget class="QSpinBox" row="5" column="1">
309                      <property name="name">                      <property name="name">
310                          <cstring>InstrumentFileComboBox</cstring>                          <cstring>VolumeSpinBox</cstring>
                     </property>  
                     <property name="sizePolicy">  
                         <sizepolicy>  
                             <hsizetype>7</hsizetype>  
                             <vsizetype>0</vsizetype>  
                             <horstretch>0</horstretch>  
                             <verstretch>0</verstretch>  
                         </sizepolicy>  
311                      </property>                      </property>
312                      <property name="minimumSize">                      <property name="suffix">
313                          <size>                          <string> %</string>
                             <width>320</width>  
                             <height>0</height>  
                         </size>  
314                      </property>                      </property>
315                      <property name="editable">                      <property name="maxValue">
316                          <bool>true</bool>                          <number>100</number>
317                      </property>                      </property>
318                      <property name="toolTip" stdset="0">                      <property name="toolTip" stdset="0">
319                          <string>Instrument filename</string>                          <string>Volume (%)</string>
320                      </property>                      </property>
321                  </widget>                  </widget>
322                  <widget class="QLabel" row="4" column="0">                  <widget class="QLineEdit" row="1" column="1" rowspan="1" colspan="9">
323                      <property name="name">                      <property name="name">
324                          <cstring>InstrumentNrTextLabel</cstring>                          <cstring>NameLineEdit</cstring>
                     </property>  
                     <property name="text">  
                         <string>&amp;Instrument:</string>  
                     </property>  
                     <property name="alignment">  
                         <set>AlignVCenter|AlignRight</set>  
325                      </property>                      </property>
326                      <property name="buddy" stdset="0">                      <property name="toolTip" stdset="0">
327                          <cstring>InstrumentNrComboBox</cstring>                          <string>Name</string>
328                      </property>                      </property>
329                  </widget>                  </widget>
330                  <widget class="QLabel" row="2" column="0">                  <widget class="QComboBox" row="5" column="6" rowspan="1" colspan="4">
331                        <item>
332                            <property name="text">
333                                <string>Default</string>
334                            </property>
335                        </item>
336                        <item>
337                            <property name="text">
338                                <string>On Demand</string>
339                            </property>
340                        </item>
341                        <item>
342                            <property name="text">
343                                <string>On Demand Hold</string>
344                            </property>
345                        </item>
346                        <item>
347                            <property name="text">
348                                <string>Persistent</string>
349                            </property>
350                        </item>
351                      <property name="name">                      <property name="name">
352                          <cstring>EngineNameTextLabel</cstring>                          <cstring>LoadModeComboBox</cstring>
                     </property>  
                     <property name="text">  
                         <string>&amp;Engine:</string>  
                     </property>  
                     <property name="alignment">  
                         <set>AlignVCenter|AlignRight</set>  
                     </property>  
                     <property name="buddy" stdset="0">  
                         <cstring>EngineNameComboBox</cstring>  
353                      </property>                      </property>
354                  </widget>                      <property name="sizePolicy">
355                  <widget class="QLineEdit" row="1" column="1" rowspan="1" colspan="6">                          <sizepolicy>
356                      <property name="name">                              <hsizetype>7</hsizetype>
357                          <cstring>NameLineEdit</cstring>                              <vsizetype>0</vsizetype>
358                                <horstretch>0</horstretch>
359                                <verstretch>0</verstretch>
360                            </sizepolicy>
361                      </property>                      </property>
362                      <property name="toolTip" stdset="0">                      <property name="toolTip" stdset="0">
363                          <string>Name</string>                          <string>Load mode</string>
364                      </property>                      </property>
365                  </widget>                  </widget>
366                  <spacer row="5" column="2" rowspan="1" colspan="2">                  <widget class="QToolButton" row="3" column="9">
367                      <property name="name">                      <property name="name">
368                          <cstring>spacer2</cstring>                          <cstring>InstrumentFileToolButton</cstring>
369                      </property>                      </property>
370                      <property name="orientation">                      <property name="sizePolicy">
371                          <enum>Horizontal</enum>                          <sizepolicy>
372                                <hsizetype>0</hsizetype>
373                                <vsizetype>0</vsizetype>
374                                <horstretch>0</horstretch>
375                                <verstretch>0</verstretch>
376                            </sizepolicy>
377                      </property>                      </property>
378                      <property name="sizeType">                      <property name="minimumSize">
379                          <enum>Expanding</enum>                          <size>
380                                <width>24</width>
381                                <height>24</height>
382                            </size>
383                      </property>                      </property>
384                      <property name="sizeHint">                      <property name="maximumSize">
385                          <size>                          <size>
386                              <width>8</width>                              <width>26</width>
387                              <height>8</height>                              <height>26</height>
388                          </size>                          </size>
389                      </property>                      </property>
390                  </spacer>                      <property name="focusPolicy">
391                  <widget class="QLabel" row="0" column="2">                          <enum>TabFocus</enum>
                     <property name="name">  
                         <cstring>ProgramTextLabel</cstring>  
392                      </property>                      </property>
393                      <property name="text">                      <property name="text">
394                          <string>&amp;Program:</string>                          <string></string>
395                      </property>                      </property>
396                      <property name="alignment">                      <property name="iconSet">
397                          <set>AlignVCenter|AlignRight</set>                          <iconset>fileOpen.png</iconset>
398                      </property>                      </property>
399                      <property name="buddy" stdset="0">                      <property name="toolTip" stdset="0">
400                          <cstring>ProgramSpinBox</cstring>                          <string>Browse for instrument filename</string>
401                      </property>                      </property>
402                  </widget>                  </widget>
403              </grid>              </grid>
# Line 422  Line 432 
432                          <cstring>OkPushButton</cstring>                          <cstring>OkPushButton</cstring>
433                      </property>                      </property>
434                      <property name="text">                      <property name="text">
435                          <string>OK</string>                          <string>O&amp;K</string>
436                        </property>
437                        <property name="accel">
438                            <string>Alt+K</string>
439                      </property>                      </property>
440                      <property name="iconSet">                      <property name="iconSet">
441                          <iconset>formAccept.png</iconset>                          <iconset>formAccept.png</iconset>
# Line 433  Line 446 
446                          <cstring>CancelPushButton</cstring>                          <cstring>CancelPushButton</cstring>
447                      </property>                      </property>
448                      <property name="text">                      <property name="text">
449                          <string>Cancel</string>                          <string>C&amp;ancel</string>
450                        </property>
451                        <property name="accel">
452                            <string>Alt+A</string>
453                      </property>                      </property>
454                      <property name="iconSet">                      <property name="iconSet">
455                          <iconset>formReject.png</iconset>                          <iconset>formReject.png</iconset>
# Line 445  Line 461 
461  </widget>  </widget>
462  <connections>  <connections>
463      <connection>      <connection>
464            <sender>MapComboBox</sender>
465            <signal>activated(int)</signal>
466            <receiver>qsamplerInstrumentForm</receiver>
467            <slot>changed()</slot>
468        </connection>
469        <connection>
470          <sender>BankSpinBox</sender>          <sender>BankSpinBox</sender>
471          <signal>valueChanged(int)</signal>          <signal>valueChanged(int)</signal>
472          <receiver>qsamplerInstrumentForm</receiver>          <receiver>qsamplerInstrumentForm</receiver>
473          <slot>changed()</slot>          <slot>changed()</slot>
474      </connection>      </connection>
475      <connection>      <connection>
476          <sender>ProgramSpinBox</sender>          <sender>ProgSpinBox</sender>
477          <signal>valueChanged(int)</signal>          <signal>valueChanged(int)</signal>
478          <receiver>qsamplerInstrumentForm</receiver>          <receiver>qsamplerInstrumentForm</receiver>
479          <slot>changed()</slot>          <slot>changed()</slot>
# Line 512  Line 534 
534      </connection>      </connection>
535  </connections>  </connections>
536  <tabstops>  <tabstops>
537        <tabstop>MapComboBox</tabstop>
538      <tabstop>BankSpinBox</tabstop>      <tabstop>BankSpinBox</tabstop>
539      <tabstop>ProgramSpinBox</tabstop>      <tabstop>ProgSpinBox</tabstop>
540      <tabstop>NameLineEdit</tabstop>      <tabstop>NameLineEdit</tabstop>
541      <tabstop>EngineNameComboBox</tabstop>      <tabstop>EngineNameComboBox</tabstop>
542      <tabstop>InstrumentFileComboBox</tabstop>      <tabstop>InstrumentFileComboBox</tabstop>

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

  ViewVC Help
Powered by ViewVC