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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 971 - (show annotations) (download)
Thu Dec 7 10:36:26 2006 UTC (15 years, 1 month ago) by capela
File size: 22753 byte(s)
* MIDI instrumeent map program numbers are now displayed in
  the range 1-128, instead of the internal 0-127.

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

  ViewVC Help
Powered by ViewVC