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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 95 - (show annotations) (download)
Sun May 30 15:38:06 2004 UTC (19 years, 10 months ago) by capela
File size: 22137 byte(s)
Initial alpha release.

1 <!DOCTYPE UI><UI version="3.1" stdsetdef="1">
2 <class>qsamplerChannelForm</class>
3 <comment>qsampler - A LinuxSampler Qt GUI Interface.
4
5 Copyright (C) 2004, 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
18 along with this program; if not, write to the Free Software
19 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
20
21 </comment>
22 <author>rncbc aka Rui Nuno Capela</author>
23 <widget class="QDialog">
24 <property name="name">
25 <cstring>qsamplerChannelForm</cstring>
26 </property>
27 <property name="geometry">
28 <rect>
29 <x>0</x>
30 <y>0</y>
31 <width>424</width>
32 <height>268</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>Channel</string>
45 </property>
46 <property name="icon">
47 <pixmap>qsamplerChannel.png</pixmap>
48 </property>
49 <property name="focusPolicy">
50 <enum>StrongFocus</enum>
51 </property>
52 <grid>
53 <property name="name">
54 <cstring>unnamed</cstring>
55 </property>
56 <widget class="QComboBox" row="0" column="1" rowspan="1" colspan="3">
57 <property name="name">
58 <cstring>EngineNameComboBox</cstring>
59 </property>
60 <property name="sizePolicy">
61 <sizepolicy>
62 <hsizetype>7</hsizetype>
63 <vsizetype>0</vsizetype>
64 <horstretch>0</horstretch>
65 <verstretch>0</verstretch>
66 </sizepolicy>
67 </property>
68 <property name="toolTip" stdset="0">
69 <string>Engine name</string>
70 </property>
71 </widget>
72 <widget class="QLabel" row="0" column="0">
73 <property name="name">
74 <cstring>EngineNameTextLabel</cstring>
75 </property>
76 <property name="sizePolicy">
77 <sizepolicy>
78 <hsizetype>1</hsizetype>
79 <vsizetype>5</vsizetype>
80 <horstretch>0</horstretch>
81 <verstretch>0</verstretch>
82 </sizepolicy>
83 </property>
84 <property name="text">
85 <string>&amp;Engine:</string>
86 </property>
87 <property name="alignment">
88 <set>AlignVCenter|AlignRight</set>
89 </property>
90 <property name="buddy" stdset="0">
91 <cstring>EngineNameComboBox</cstring>
92 </property>
93 </widget>
94 <widget class="QLabel" row="1" column="0">
95 <property name="name">
96 <cstring>InstrumentTextLabel</cstring>
97 </property>
98 <property name="sizePolicy">
99 <sizepolicy>
100 <hsizetype>1</hsizetype>
101 <vsizetype>5</vsizetype>
102 <horstretch>0</horstretch>
103 <verstretch>0</verstretch>
104 </sizepolicy>
105 </property>
106 <property name="text">
107 <string>&amp;Instrument:</string>
108 </property>
109 <property name="alignment">
110 <set>AlignVCenter|AlignRight</set>
111 </property>
112 <property name="buddy" stdset="0">
113 <cstring>InstrumentFileComboBox</cstring>
114 </property>
115 </widget>
116 <widget class="QPushButton" row="1" column="3">
117 <property name="name">
118 <cstring>InstrumentFilePushButton</cstring>
119 </property>
120 <property name="sizePolicy">
121 <sizepolicy>
122 <hsizetype>0</hsizetype>
123 <vsizetype>0</vsizetype>
124 <horstretch>0</horstretch>
125 <verstretch>0</verstretch>
126 </sizepolicy>
127 </property>
128 <property name="minimumSize">
129 <size>
130 <width>24</width>
131 <height>24</height>
132 </size>
133 </property>
134 <property name="maximumSize">
135 <size>
136 <width>26</width>
137 <height>26</height>
138 </size>
139 </property>
140 <property name="text">
141 <string></string>
142 </property>
143 <property name="pixmap">
144 <pixmap>fileOpen.png</pixmap>
145 </property>
146 <property name="toolTip" stdset="0">
147 <string>Browse for instrument filename</string>
148 </property>
149 </widget>
150 <widget class="QComboBox" row="1" column="1" rowspan="1" colspan="2">
151 <property name="name">
152 <cstring>InstrumentFileComboBox</cstring>
153 </property>
154 <property name="sizePolicy">
155 <sizepolicy>
156 <hsizetype>7</hsizetype>
157 <vsizetype>0</vsizetype>
158 <horstretch>0</horstretch>
159 <verstretch>0</verstretch>
160 </sizepolicy>
161 </property>
162 <property name="editable">
163 <bool>true</bool>
164 </property>
165 <property name="toolTip" stdset="0">
166 <string>Instrument filename</string>
167 </property>
168 </widget>
169 <spacer row="3" column="0" rowspan="2" colspan="1">
170 <property name="name">
171 <cstring>spacer1</cstring>
172 </property>
173 <property name="orientation">
174 <enum>Vertical</enum>
175 </property>
176 <property name="sizeType">
177 <enum>Expanding</enum>
178 </property>
179 <property name="sizeHint">
180 <size>
181 <width>8</width>
182 <height>8</height>
183 </size>
184 </property>
185 </spacer>
186 <widget class="QLayoutWidget" row="5" column="0" rowspan="1" colspan="4">
187 <property name="name">
188 <cstring>layout1</cstring>
189 </property>
190 <hbox>
191 <property name="name">
192 <cstring>unnamed</cstring>
193 </property>
194 <spacer>
195 <property name="name">
196 <cstring>spacer3</cstring>
197 </property>
198 <property name="orientation">
199 <enum>Horizontal</enum>
200 </property>
201 <property name="sizeType">
202 <enum>Expanding</enum>
203 </property>
204 <property name="sizeHint">
205 <size>
206 <width>8</width>
207 <height>8</height>
208 </size>
209 </property>
210 </spacer>
211 <widget class="QPushButton">
212 <property name="name">
213 <cstring>OkPushButton</cstring>
214 </property>
215 <property name="text">
216 <string>OK</string>
217 </property>
218 <property name="iconSet">
219 <iconset>formAccept.png</iconset>
220 </property>
221 </widget>
222 <widget class="QPushButton">
223 <property name="name">
224 <cstring>CancelPushButton</cstring>
225 </property>
226 <property name="text">
227 <string>Cancel</string>
228 </property>
229 <property name="iconSet">
230 <iconset>formReject.png</iconset>
231 </property>
232 </widget>
233 </hbox>
234 </widget>
235 <widget class="QSpinBox" row="2" column="1">
236 <property name="name">
237 <cstring>InstrumentNrSpinBox</cstring>
238 </property>
239 <property name="maximumSize">
240 <size>
241 <width>40</width>
242 <height>32767</height>
243 </size>
244 </property>
245 <property name="toolTip" stdset="0">
246 <string>Instrument index</string>
247 </property>
248 </widget>
249 <widget class="QLabel" row="2" column="0">
250 <property name="name">
251 <cstring>InstrumentNrTextLabel</cstring>
252 </property>
253 <property name="text">
254 <string>Inde&amp;x:</string>
255 </property>
256 <property name="alignment">
257 <set>AlignVCenter|AlignRight</set>
258 </property>
259 <property name="buddy" stdset="0">
260 <cstring>InstrumentNrSpinBox</cstring>
261 </property>
262 </widget>
263 <widget class="QLabel" row="2" column="2" rowspan="1" colspan="2">
264 <property name="name">
265 <cstring>InstrumentNameTextLabel</cstring>
266 </property>
267 <property name="sizePolicy">
268 <sizepolicy>
269 <hsizetype>1</hsizetype>
270 <vsizetype>5</vsizetype>
271 <horstretch>0</horstretch>
272 <verstretch>0</verstretch>
273 </sizepolicy>
274 </property>
275 <property name="toolTip" stdset="0">
276 <string>Instrument name</string>
277 </property>
278 </widget>
279 <widget class="QGroupBox" row="3" column="1" rowspan="1" colspan="3">
280 <property name="name">
281 <cstring>MidiGroupBox</cstring>
282 </property>
283 <property name="sizePolicy">
284 <sizepolicy>
285 <hsizetype>1</hsizetype>
286 <vsizetype>5</vsizetype>
287 <horstretch>0</horstretch>
288 <verstretch>0</verstretch>
289 </sizepolicy>
290 </property>
291 <property name="title">
292 <string>&amp;MIDI/Input</string>
293 </property>
294 <hbox>
295 <property name="name">
296 <cstring>unnamed</cstring>
297 </property>
298 <property name="margin">
299 <number>8</number>
300 </property>
301 <property name="spacing">
302 <number>8</number>
303 </property>
304 <widget class="QLabel">
305 <property name="name">
306 <cstring>MidiDriverTextLabel</cstring>
307 </property>
308 <property name="text">
309 <string>&amp;Type:</string>
310 </property>
311 <property name="alignment">
312 <set>AlignVCenter|AlignRight</set>
313 </property>
314 <property name="buddy" stdset="0">
315 <cstring>MidiDriverComboBox</cstring>
316 </property>
317 </widget>
318 <widget class="QComboBox">
319 <item>
320 <property name="text">
321 <string>ALSA</string>
322 </property>
323 </item>
324 <property name="name">
325 <cstring>MidiDriverComboBox</cstring>
326 </property>
327 <property name="toolTip" stdset="0">
328 <string>MIDI input driver type</string>
329 </property>
330 </widget>
331 <widget class="QLabel">
332 <property name="name">
333 <cstring>MidiPortTextLabel</cstring>
334 </property>
335 <property name="text">
336 <string>&amp;Port:</string>
337 </property>
338 <property name="alignment">
339 <set>AlignVCenter|AlignRight</set>
340 </property>
341 <property name="buddy" stdset="0">
342 <cstring>MidiPortSpinBox</cstring>
343 </property>
344 </widget>
345 <widget class="QSpinBox">
346 <property name="name">
347 <cstring>MidiPortSpinBox</cstring>
348 </property>
349 <property name="toolTip" stdset="0">
350 <string>MIDI input port number</string>
351 </property>
352 </widget>
353 <widget class="QLabel">
354 <property name="name">
355 <cstring>MidiChannelTextLabel</cstring>
356 </property>
357 <property name="text">
358 <string>&amp;Channel:</string>
359 </property>
360 <property name="alignment">
361 <set>AlignVCenter|AlignRight</set>
362 </property>
363 <property name="buddy" stdset="0">
364 <cstring>MidiChannelSpinBox</cstring>
365 </property>
366 </widget>
367 <widget class="QSpinBox">
368 <property name="name">
369 <cstring>MidiChannelSpinBox</cstring>
370 </property>
371 <property name="maxValue">
372 <number>16</number>
373 </property>
374 <property name="minValue">
375 <number>0</number>
376 </property>
377 <property name="toolTip" stdset="0">
378 <string>MIDI input channel</string>
379 </property>
380 </widget>
381 <spacer>
382 <property name="name">
383 <cstring>spacer2</cstring>
384 </property>
385 <property name="orientation">
386 <enum>Horizontal</enum>
387 </property>
388 <property name="sizeType">
389 <enum>Expanding</enum>
390 </property>
391 <property name="sizeHint">
392 <size>
393 <width>8</width>
394 <height>8</height>
395 </size>
396 </property>
397 </spacer>
398 </hbox>
399 </widget>
400 <widget class="QGroupBox" row="4" column="1" rowspan="1" colspan="3">
401 <property name="name">
402 <cstring>AudioGroupBox</cstring>
403 </property>
404 <property name="sizePolicy">
405 <sizepolicy>
406 <hsizetype>1</hsizetype>
407 <vsizetype>5</vsizetype>
408 <horstretch>0</horstretch>
409 <verstretch>0</verstretch>
410 </sizepolicy>
411 </property>
412 <property name="title">
413 <string>&amp;Audio/Output</string>
414 </property>
415 <property name="alignment">
416 <set>AlignAuto</set>
417 </property>
418 <hbox>
419 <property name="name">
420 <cstring>unnamed</cstring>
421 </property>
422 <property name="margin">
423 <number>8</number>
424 </property>
425 <property name="spacing">
426 <number>8</number>
427 </property>
428 <widget class="QLabel">
429 <property name="name">
430 <cstring>AudioDriverTextLabel</cstring>
431 </property>
432 <property name="text">
433 <string>&amp;Type:</string>
434 </property>
435 <property name="alignment">
436 <set>AlignVCenter|AlignRight</set>
437 </property>
438 <property name="buddy" stdset="0">
439 <cstring>AudioDriverComboBox</cstring>
440 </property>
441 </widget>
442 <widget class="QComboBox">
443 <item>
444 <property name="text">
445 <string>ALSA</string>
446 </property>
447 </item>
448 <item>
449 <property name="text">
450 <string>JACK</string>
451 </property>
452 </item>
453 <property name="name">
454 <cstring>AudioDriverComboBox</cstring>
455 </property>
456 <property name="toolTip" stdset="0">
457 <string>Audio output driver type</string>
458 </property>
459 </widget>
460 <spacer>
461 <property name="name">
462 <cstring>spacer3</cstring>
463 </property>
464 <property name="orientation">
465 <enum>Horizontal</enum>
466 </property>
467 <property name="sizeType">
468 <enum>Expanding</enum>
469 </property>
470 <property name="sizeHint">
471 <size>
472 <width>8</width>
473 <height>8</height>
474 </size>
475 </property>
476 </spacer>
477 </hbox>
478 </widget>
479 </grid>
480 </widget>
481 <connections>
482 <connection>
483 <sender>EngineNameComboBox</sender>
484 <signal>activated(int)</signal>
485 <receiver>qsamplerChannelForm</receiver>
486 <slot>optionsChanged()</slot>
487 </connection>
488 <connection>
489 <sender>InstrumentFileComboBox</sender>
490 <signal>textChanged(const QString &amp;)</signal>
491 <receiver>qsamplerChannelForm</receiver>
492 <slot>updateInstrumentName()</slot>
493 </connection>
494 <connection>
495 <sender>InstrumentFilePushButton</sender>
496 <signal>clicked()</signal>
497 <receiver>qsamplerChannelForm</receiver>
498 <slot>openInstrumentFile()</slot>
499 </connection>
500 <connection>
501 <sender>InstrumentNrSpinBox</sender>
502 <signal>valueChanged(int)</signal>
503 <receiver>qsamplerChannelForm</receiver>
504 <slot>updateInstrumentName()</slot>
505 </connection>
506 <connection>
507 <sender>MidiDriverComboBox</sender>
508 <signal>activated(int)</signal>
509 <receiver>qsamplerChannelForm</receiver>
510 <slot>optionsChanged()</slot>
511 </connection>
512 <connection>
513 <sender>MidiPortSpinBox</sender>
514 <signal>valueChanged(int)</signal>
515 <receiver>qsamplerChannelForm</receiver>
516 <slot>optionsChanged()</slot>
517 </connection>
518 <connection>
519 <sender>MidiChannelSpinBox</sender>
520 <signal>valueChanged(int)</signal>
521 <receiver>qsamplerChannelForm</receiver>
522 <slot>optionsChanged()</slot>
523 </connection>
524 <connection>
525 <sender>AudioDriverComboBox</sender>
526 <signal>activated(int)</signal>
527 <receiver>qsamplerChannelForm</receiver>
528 <slot>optionsChanged()</slot>
529 </connection>
530 <connection>
531 <sender>OkPushButton</sender>
532 <signal>clicked()</signal>
533 <receiver>qsamplerChannelForm</receiver>
534 <slot>accept()</slot>
535 </connection>
536 <connection>
537 <sender>CancelPushButton</sender>
538 <signal>clicked()</signal>
539 <receiver>qsamplerChannelForm</receiver>
540 <slot>reject()</slot>
541 </connection>
542 </connections>
543 <tabstops>
544 <tabstop>EngineNameComboBox</tabstop>
545 <tabstop>InstrumentFileComboBox</tabstop>
546 <tabstop>InstrumentFilePushButton</tabstop>
547 <tabstop>InstrumentNrSpinBox</tabstop>
548 <tabstop>MidiDriverComboBox</tabstop>
549 <tabstop>MidiPortSpinBox</tabstop>
550 <tabstop>MidiChannelSpinBox</tabstop>
551 <tabstop>AudioDriverComboBox</tabstop>
552 <tabstop>OkPushButton</tabstop>
553 <tabstop>CancelPushButton</tabstop>
554 </tabstops>
555 <includes>
556 <include location="local" impldecl="in implementation">qsamplerChannelForm.ui.h</include>
557 </includes>
558 <forwards>
559 <forward>class qsamplerChannelStrip;</forward>
560 </forwards>
561 <variables>
562 <variable access="private">qsamplerChannelStrip *m_pChannel;</variable>
563 <variable access="private">int m_iDirtySetup;</variable>
564 <variable access="private">int m_iDirtyCount;</variable>
565 </variables>
566 <slots>
567 <slot specifier="non virtual">accept()</slot>
568 <slot specifier="non virtual">reject()</slot>
569 <slot specifier="non virtual">openInstrumentFile()</slot>
570 <slot specifier="non virtual">updateInstrumentName()</slot>
571 <slot specifier="non virtual">optionsChanged()</slot>
572 <slot specifier="non virtual">stabilizeForm()</slot>
573 </slots>
574 <functions>
575 <function access="private" specifier="non virtual">init()</function>
576 <function access="private" specifier="non virtual">destroy()</function>
577 <function specifier="non virtual">setup( qsamplerChannelStrip *pChannel )</function>
578 </functions>
579 <pixmapinproject/>
580 <layoutdefaults spacing="8" margin="8"/>
581 </UI>

  ViewVC Help
Powered by ViewVC