1 |
<ui version="4.0" > |
2 |
<author>rncbc aka Rui Nuno Capela</author> |
3 |
<comment>qsampler - A LinuxSampler Qt GUI Interface. |
4 |
|
5 |
Copyright (C) 2004-2009, rncbc aka Rui Nuno Capela. All rights reserved. |
6 |
Copyright (C) 2007, Christian Schoenebeck |
7 |
|
8 |
This program is free software; you can redistribute it and/or |
9 |
modify it under the terms of the GNU General Public License |
10 |
as published by the Free Software Foundation; either version 2 |
11 |
of the License, or (at your option) any later version. |
12 |
|
13 |
This program is distributed in the hope that it will be useful, |
14 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
15 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
16 |
GNU General Public License for more details. |
17 |
|
18 |
You should have received a copy of the GNU General Public License along |
19 |
with this program; if not, write to the Free Software Foundation, Inc., |
20 |
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. |
21 |
|
22 |
</comment> |
23 |
<class>qsamplerInstrumentForm</class> |
24 |
<widget class="QDialog" name="qsamplerInstrumentForm" > |
25 |
<property name="geometry" > |
26 |
<rect> |
27 |
<x>0</x> |
28 |
<y>0</y> |
29 |
<width>452</width> |
30 |
<height>226</height> |
31 |
</rect> |
32 |
</property> |
33 |
<property name="sizePolicy" > |
34 |
<sizepolicy> |
35 |
<hsizetype>7</hsizetype> |
36 |
<vsizetype>1</vsizetype> |
37 |
<horstretch>0</horstretch> |
38 |
<verstretch>0</verstretch> |
39 |
</sizepolicy> |
40 |
</property> |
41 |
<property name="focusPolicy" > |
42 |
<enum>Qt::StrongFocus</enum> |
43 |
</property> |
44 |
<property name="windowTitle" > |
45 |
<string>Qsampler: MIDI Instrument</string> |
46 |
</property> |
47 |
<property name="windowIcon" > |
48 |
<iconset resource="../icons/qsampler.qrc" >:/icons/qsamplerInstrument.png</iconset> |
49 |
</property> |
50 |
<layout class="QVBoxLayout" > |
51 |
<property name="margin" > |
52 |
<number>4</number> |
53 |
</property> |
54 |
<property name="spacing" > |
55 |
<number>4</number> |
56 |
</property> |
57 |
<item> |
58 |
<layout class="QGridLayout" > |
59 |
<property name="margin" > |
60 |
<number>0</number> |
61 |
</property> |
62 |
<property name="spacing" > |
63 |
<number>4</number> |
64 |
</property> |
65 |
<item row="2" column="1" colspan="8" > |
66 |
<widget class="QComboBox" name="EngineNameComboBox" > |
67 |
<property name="sizePolicy" > |
68 |
<sizepolicy> |
69 |
<hsizetype>7</hsizetype> |
70 |
<vsizetype>0</vsizetype> |
71 |
<horstretch>0</horstretch> |
72 |
<verstretch>0</verstretch> |
73 |
</sizepolicy> |
74 |
</property> |
75 |
<property name="toolTip" > |
76 |
<string>Engine name</string> |
77 |
</property> |
78 |
</widget> |
79 |
</item> |
80 |
<item row="2" column="0" > |
81 |
<widget class="QLabel" name="EngineNameTextLabel" > |
82 |
<property name="text" > |
83 |
<string>&Engine:</string> |
84 |
</property> |
85 |
<property name="alignment" > |
86 |
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
87 |
</property> |
88 |
<property name="wordWrap" > |
89 |
<bool>false</bool> |
90 |
</property> |
91 |
<property name="buddy" > |
92 |
<cstring>EngineNameComboBox</cstring> |
93 |
</property> |
94 |
</widget> |
95 |
</item> |
96 |
<item row="0" column="7" > |
97 |
<widget class="QLabel" name="ProgTextLabel" > |
98 |
<property name="text" > |
99 |
<string>&Prog:</string> |
100 |
</property> |
101 |
<property name="alignment" > |
102 |
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
103 |
</property> |
104 |
<property name="wordWrap" > |
105 |
<bool>false</bool> |
106 |
</property> |
107 |
<property name="buddy" > |
108 |
<cstring>ProgSpinBox</cstring> |
109 |
</property> |
110 |
</widget> |
111 |
</item> |
112 |
<item row="0" column="8" colspan="2" > |
113 |
<widget class="QSpinBox" name="ProgSpinBox" > |
114 |
<property name="toolTip" > |
115 |
<string>Program (0-127)</string> |
116 |
</property> |
117 |
<property name="maximum" > |
118 |
<number>128</number> |
119 |
</property> |
120 |
<property name="minimum" > |
121 |
<number>1</number> |
122 |
</property> |
123 |
</widget> |
124 |
</item> |
125 |
<item row="5" column="0" > |
126 |
<widget class="QLabel" name="VolumeTextLabel" > |
127 |
<property name="text" > |
128 |
<string>Vol&ume:</string> |
129 |
</property> |
130 |
<property name="alignment" > |
131 |
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
132 |
</property> |
133 |
<property name="wordWrap" > |
134 |
<bool>false</bool> |
135 |
</property> |
136 |
<property name="buddy" > |
137 |
<cstring>VolumeSpinBox</cstring> |
138 |
</property> |
139 |
</widget> |
140 |
</item> |
141 |
<item row="0" column="0" > |
142 |
<widget class="QLabel" name="MapTextLabel" > |
143 |
<property name="text" > |
144 |
<string>&Map:</string> |
145 |
</property> |
146 |
<property name="alignment" > |
147 |
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
148 |
</property> |
149 |
<property name="wordWrap" > |
150 |
<bool>false</bool> |
151 |
</property> |
152 |
<property name="buddy" > |
153 |
<cstring>MapComboBox</cstring> |
154 |
</property> |
155 |
</widget> |
156 |
</item> |
157 |
<item row="0" column="3" colspan="2" > |
158 |
<widget class="QLabel" name="BankTextLabel" > |
159 |
<property name="text" > |
160 |
<string>&Bank:</string> |
161 |
</property> |
162 |
<property name="alignment" > |
163 |
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
164 |
</property> |
165 |
<property name="wordWrap" > |
166 |
<bool>false</bool> |
167 |
</property> |
168 |
<property name="buddy" > |
169 |
<cstring>BankSpinBox</cstring> |
170 |
</property> |
171 |
</widget> |
172 |
</item> |
173 |
<item row="0" column="5" colspan="2" > |
174 |
<widget class="QSpinBox" name="BankSpinBox" > |
175 |
<property name="toolTip" > |
176 |
<string>Bank (0-16383)</string> |
177 |
</property> |
178 |
<property name="maximum" > |
179 |
<number>16383</number> |
180 |
</property> |
181 |
</widget> |
182 |
</item> |
183 |
<item row="3" column="1" colspan="8" > |
184 |
<widget class="QComboBox" name="InstrumentFileComboBox" > |
185 |
<property name="sizePolicy" > |
186 |
<sizepolicy> |
187 |
<hsizetype>7</hsizetype> |
188 |
<vsizetype>0</vsizetype> |
189 |
<horstretch>0</horstretch> |
190 |
<verstretch>0</verstretch> |
191 |
</sizepolicy> |
192 |
</property> |
193 |
<property name="minimumSize" > |
194 |
<size> |
195 |
<width>320</width> |
196 |
<height>0</height> |
197 |
</size> |
198 |
</property> |
199 |
<property name="toolTip" > |
200 |
<string>Instrument filename</string> |
201 |
</property> |
202 |
<property name="editable" > |
203 |
<bool>true</bool> |
204 |
</property> |
205 |
</widget> |
206 |
</item> |
207 |
<item row="5" column="4" colspan="2" > |
208 |
<widget class="QLabel" name="LoadModeNameTextLabel" > |
209 |
<property name="text" > |
210 |
<string>M&ode:</string> |
211 |
</property> |
212 |
<property name="alignment" > |
213 |
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
214 |
</property> |
215 |
<property name="wordWrap" > |
216 |
<bool>false</bool> |
217 |
</property> |
218 |
<property name="buddy" > |
219 |
<cstring>LoadModeComboBox</cstring> |
220 |
</property> |
221 |
</widget> |
222 |
</item> |
223 |
<item row="5" column="2" colspan="2" > |
224 |
<spacer> |
225 |
<property name="orientation" > |
226 |
<enum>Qt::Horizontal</enum> |
227 |
</property> |
228 |
<property name="sizeType" > |
229 |
<enum>QSizePolicy::Expanding</enum> |
230 |
</property> |
231 |
<property name="sizeHint" > |
232 |
<size> |
233 |
<width>119</width> |
234 |
<height>8</height> |
235 |
</size> |
236 |
</property> |
237 |
</spacer> |
238 |
</item> |
239 |
<item row="3" column="0" > |
240 |
<widget class="QLabel" name="InstrumentFileTextLabel" > |
241 |
<property name="text" > |
242 |
<string>&Filename:</string> |
243 |
</property> |
244 |
<property name="alignment" > |
245 |
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
246 |
</property> |
247 |
<property name="wordWrap" > |
248 |
<bool>false</bool> |
249 |
</property> |
250 |
<property name="buddy" > |
251 |
<cstring>InstrumentFileComboBox</cstring> |
252 |
</property> |
253 |
</widget> |
254 |
</item> |
255 |
<item row="1" column="0" > |
256 |
<widget class="QLabel" name="NameTextLabe" > |
257 |
<property name="text" > |
258 |
<string>&Name:</string> |
259 |
</property> |
260 |
<property name="alignment" > |
261 |
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
262 |
</property> |
263 |
<property name="wordWrap" > |
264 |
<bool>false</bool> |
265 |
</property> |
266 |
<property name="buddy" > |
267 |
<cstring>NameLineEdit</cstring> |
268 |
</property> |
269 |
</widget> |
270 |
</item> |
271 |
<item row="0" column="1" colspan="2" > |
272 |
<widget class="QComboBox" name="MapComboBox" > |
273 |
<property name="sizePolicy" > |
274 |
<sizepolicy> |
275 |
<hsizetype>7</hsizetype> |
276 |
<vsizetype>0</vsizetype> |
277 |
<horstretch>0</horstretch> |
278 |
<verstretch>0</verstretch> |
279 |
</sizepolicy> |
280 |
</property> |
281 |
<property name="toolTip" > |
282 |
<string>Instrument map</string> |
283 |
</property> |
284 |
</widget> |
285 |
</item> |
286 |
<item row="4" column="0" > |
287 |
<widget class="QLabel" name="InstrumentNrTextLabel" > |
288 |
<property name="text" > |
289 |
<string>&Instrument:</string> |
290 |
</property> |
291 |
<property name="alignment" > |
292 |
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
293 |
</property> |
294 |
<property name="wordWrap" > |
295 |
<bool>false</bool> |
296 |
</property> |
297 |
<property name="buddy" > |
298 |
<cstring>InstrumentNrComboBox</cstring> |
299 |
</property> |
300 |
</widget> |
301 |
</item> |
302 |
<item row="4" column="1" colspan="9" > |
303 |
<widget class="QComboBox" name="InstrumentNrComboBox" > |
304 |
<property name="sizePolicy" > |
305 |
<sizepolicy> |
306 |
<hsizetype>7</hsizetype> |
307 |
<vsizetype>0</vsizetype> |
308 |
<horstretch>0</horstretch> |
309 |
<verstretch>0</verstretch> |
310 |
</sizepolicy> |
311 |
</property> |
312 |
<property name="minimumSize" > |
313 |
<size> |
314 |
<width>320</width> |
315 |
<height>0</height> |
316 |
</size> |
317 |
</property> |
318 |
<property name="toolTip" > |
319 |
<string>Instrument name</string> |
320 |
</property> |
321 |
</widget> |
322 |
</item> |
323 |
<item row="5" column="1" > |
324 |
<widget class="QSpinBox" name="VolumeSpinBox" > |
325 |
<property name="toolTip" > |
326 |
<string>Volume (%)</string> |
327 |
</property> |
328 |
<property name="suffix" > |
329 |
<string> %</string> |
330 |
</property> |
331 |
<property name="maximum" > |
332 |
<number>100</number> |
333 |
</property> |
334 |
</widget> |
335 |
</item> |
336 |
<item row="1" column="1" colspan="9" > |
337 |
<widget class="QLineEdit" name="NameLineEdit" > |
338 |
<property name="toolTip" > |
339 |
<string>Name</string> |
340 |
</property> |
341 |
</widget> |
342 |
</item> |
343 |
<item row="5" column="6" colspan="4" > |
344 |
<widget class="QComboBox" name="LoadModeComboBox" > |
345 |
<property name="sizePolicy" > |
346 |
<sizepolicy> |
347 |
<hsizetype>7</hsizetype> |
348 |
<vsizetype>0</vsizetype> |
349 |
<horstretch>0</horstretch> |
350 |
<verstretch>0</verstretch> |
351 |
</sizepolicy> |
352 |
</property> |
353 |
<property name="toolTip" > |
354 |
<string>Load mode</string> |
355 |
</property> |
356 |
<item> |
357 |
<property name="text" > |
358 |
<string>Default</string> |
359 |
</property> |
360 |
</item> |
361 |
<item> |
362 |
<property name="text" > |
363 |
<string>On Demand</string> |
364 |
</property> |
365 |
</item> |
366 |
<item> |
367 |
<property name="text" > |
368 |
<string>On Demand Hold</string> |
369 |
</property> |
370 |
</item> |
371 |
<item> |
372 |
<property name="text" > |
373 |
<string>Persistent</string> |
374 |
</property> |
375 |
</item> |
376 |
</widget> |
377 |
</item> |
378 |
<item row="3" column="9" > |
379 |
<widget class="QToolButton" name="InstrumentFileToolButton" > |
380 |
<property name="sizePolicy" > |
381 |
<sizepolicy> |
382 |
<hsizetype>0</hsizetype> |
383 |
<vsizetype>0</vsizetype> |
384 |
<horstretch>0</horstretch> |
385 |
<verstretch>0</verstretch> |
386 |
</sizepolicy> |
387 |
</property> |
388 |
<property name="minimumSize" > |
389 |
<size> |
390 |
<width>24</width> |
391 |
<height>24</height> |
392 |
</size> |
393 |
</property> |
394 |
<property name="maximumSize" > |
395 |
<size> |
396 |
<width>26</width> |
397 |
<height>26</height> |
398 |
</size> |
399 |
</property> |
400 |
<property name="focusPolicy" > |
401 |
<enum>Qt::TabFocus</enum> |
402 |
</property> |
403 |
<property name="toolTip" > |
404 |
<string>Browse for instrument filename</string> |
405 |
</property> |
406 |
<property name="text" > |
407 |
<string/> |
408 |
</property> |
409 |
<property name="icon" > |
410 |
<iconset resource="../icons/qsampler.qrc" >:/icons/fileOpen.png</iconset> |
411 |
</property> |
412 |
</widget> |
413 |
</item> |
414 |
</layout> |
415 |
</item> |
416 |
<item> |
417 |
<layout class="QHBoxLayout" > |
418 |
<property name="margin" > |
419 |
<number>0</number> |
420 |
</property> |
421 |
<property name="spacing" > |
422 |
<number>4</number> |
423 |
</property> |
424 |
<item> |
425 |
<spacer> |
426 |
<property name="orientation" > |
427 |
<enum>Qt::Horizontal</enum> |
428 |
</property> |
429 |
<property name="sizeType" > |
430 |
<enum>QSizePolicy::Expanding</enum> |
431 |
</property> |
432 |
<property name="sizeHint" > |
433 |
<size> |
434 |
<width>8</width> |
435 |
<height>8</height> |
436 |
</size> |
437 |
</property> |
438 |
</spacer> |
439 |
</item> |
440 |
<item> |
441 |
<widget class="QPushButton" name="OkPushButton" > |
442 |
<property name="text" > |
443 |
<string>O&K</string> |
444 |
</property> |
445 |
<property name="icon" > |
446 |
<iconset resource="../icons/qsampler.qrc" >:/icons/formAccept.png</iconset> |
447 |
</property> |
448 |
<property name="shortcut" > |
449 |
<string>Alt+K</string> |
450 |
</property> |
451 |
</widget> |
452 |
</item> |
453 |
<item> |
454 |
<widget class="QPushButton" name="CancelPushButton" > |
455 |
<property name="text" > |
456 |
<string>C&ancel</string> |
457 |
</property> |
458 |
<property name="icon" > |
459 |
<iconset resource="../icons/qsampler.qrc" >:/icons/formReject.png</iconset> |
460 |
</property> |
461 |
<property name="shortcut" > |
462 |
<string>Alt+A</string> |
463 |
</property> |
464 |
</widget> |
465 |
</item> |
466 |
</layout> |
467 |
</item> |
468 |
</layout> |
469 |
</widget> |
470 |
<layoutdefault spacing="4" margin="4" /> |
471 |
<tabstops> |
472 |
<tabstop>MapComboBox</tabstop> |
473 |
<tabstop>BankSpinBox</tabstop> |
474 |
<tabstop>ProgSpinBox</tabstop> |
475 |
<tabstop>NameLineEdit</tabstop> |
476 |
<tabstop>EngineNameComboBox</tabstop> |
477 |
<tabstop>InstrumentFileComboBox</tabstop> |
478 |
<tabstop>InstrumentFileToolButton</tabstop> |
479 |
<tabstop>InstrumentNrComboBox</tabstop> |
480 |
<tabstop>VolumeSpinBox</tabstop> |
481 |
<tabstop>LoadModeComboBox</tabstop> |
482 |
<tabstop>OkPushButton</tabstop> |
483 |
<tabstop>CancelPushButton</tabstop> |
484 |
</tabstops> |
485 |
<resources> |
486 |
<include location="../icons/qsampler.qrc" /> |
487 |
</resources> |
488 |
</ui> |