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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 295 - (show annotations) (download)
Tue Nov 16 15:26:18 2004 UTC (19 years, 4 months ago) by capela
File size: 24661 byte(s)
* Sampler channels strips are just created if, and only if,
  the respective channel setup dialog is actually accepted,
  following common user-interface guidelines.

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>430</width>
32 <height>255</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="minimumSize">
163 <size>
164 <width>320</width>
165 <height>0</height>
166 </size>
167 </property>
168 <property name="editable">
169 <bool>true</bool>
170 </property>
171 <property name="toolTip" stdset="0">
172 <string>Instrument filename</string>
173 </property>
174 </widget>
175 <widget class="QLayoutWidget" row="5" column="0" rowspan="1" colspan="4">
176 <property name="name">
177 <cstring>layout1</cstring>
178 </property>
179 <hbox>
180 <property name="name">
181 <cstring>unnamed</cstring>
182 </property>
183 <spacer>
184 <property name="name">
185 <cstring>spacer3</cstring>
186 </property>
187 <property name="orientation">
188 <enum>Horizontal</enum>
189 </property>
190 <property name="sizeType">
191 <enum>Expanding</enum>
192 </property>
193 <property name="sizeHint">
194 <size>
195 <width>8</width>
196 <height>8</height>
197 </size>
198 </property>
199 </spacer>
200 <widget class="QPushButton">
201 <property name="name">
202 <cstring>OkPushButton</cstring>
203 </property>
204 <property name="text">
205 <string>OK</string>
206 </property>
207 <property name="iconSet">
208 <iconset>formAccept.png</iconset>
209 </property>
210 </widget>
211 <widget class="QPushButton">
212 <property name="name">
213 <cstring>CancelPushButton</cstring>
214 </property>
215 <property name="text">
216 <string>Cancel</string>
217 </property>
218 <property name="iconSet">
219 <iconset>formReject.png</iconset>
220 </property>
221 </widget>
222 </hbox>
223 </widget>
224 <widget class="QSpinBox" row="2" column="1">
225 <property name="name">
226 <cstring>InstrumentNrSpinBox</cstring>
227 </property>
228 <property name="maximumSize">
229 <size>
230 <width>40</width>
231 <height>32767</height>
232 </size>
233 </property>
234 <property name="toolTip" stdset="0">
235 <string>Instrument index</string>
236 </property>
237 </widget>
238 <widget class="QLabel" row="2" column="0">
239 <property name="name">
240 <cstring>InstrumentNrTextLabel</cstring>
241 </property>
242 <property name="text">
243 <string>Inde&amp;x:</string>
244 </property>
245 <property name="alignment">
246 <set>AlignVCenter|AlignRight</set>
247 </property>
248 <property name="buddy" stdset="0">
249 <cstring>InstrumentNrSpinBox</cstring>
250 </property>
251 </widget>
252 <widget class="QLabel" row="2" column="2" rowspan="1" colspan="2">
253 <property name="name">
254 <cstring>InstrumentNameTextLabel</cstring>
255 </property>
256 <property name="sizePolicy">
257 <sizepolicy>
258 <hsizetype>1</hsizetype>
259 <vsizetype>5</vsizetype>
260 <horstretch>0</horstretch>
261 <verstretch>0</verstretch>
262 </sizepolicy>
263 </property>
264 <property name="toolTip" stdset="0">
265 <string>Instrument name</string>
266 </property>
267 </widget>
268 <widget class="QGroupBox" row="3" column="1" rowspan="1" colspan="3">
269 <property name="name">
270 <cstring>MidiGroupBox</cstring>
271 </property>
272 <property name="sizePolicy">
273 <sizepolicy>
274 <hsizetype>1</hsizetype>
275 <vsizetype>5</vsizetype>
276 <horstretch>0</horstretch>
277 <verstretch>0</verstretch>
278 </sizepolicy>
279 </property>
280 <property name="title">
281 <string>MIDI / Input</string>
282 </property>
283 <hbox>
284 <property name="name">
285 <cstring>unnamed</cstring>
286 </property>
287 <property name="margin">
288 <number>8</number>
289 </property>
290 <property name="spacing">
291 <number>8</number>
292 </property>
293 <widget class="QLabel">
294 <property name="name">
295 <cstring>MidiDriverTextLabel</cstring>
296 </property>
297 <property name="text">
298 <string>&amp;Type:</string>
299 </property>
300 <property name="alignment">
301 <set>AlignVCenter|AlignRight</set>
302 </property>
303 <property name="buddy" stdset="0">
304 <cstring>MidiDriverComboBox</cstring>
305 </property>
306 </widget>
307 <widget class="QComboBox">
308 <item>
309 <property name="text">
310 <string>ALSA</string>
311 </property>
312 </item>
313 <property name="name">
314 <cstring>MidiDriverComboBox</cstring>
315 </property>
316 <property name="toolTip" stdset="0">
317 <string>MIDI input driver type</string>
318 </property>
319 </widget>
320 <widget class="QLabel">
321 <property name="name">
322 <cstring>MidiPortTextLabel</cstring>
323 </property>
324 <property name="text">
325 <string>&amp;Port:</string>
326 </property>
327 <property name="alignment">
328 <set>AlignVCenter|AlignRight</set>
329 </property>
330 <property name="buddy" stdset="0">
331 <cstring>MidiPortSpinBox</cstring>
332 </property>
333 </widget>
334 <widget class="QSpinBox">
335 <property name="name">
336 <cstring>MidiPortSpinBox</cstring>
337 </property>
338 <property name="toolTip" stdset="0">
339 <string>MIDI input port number</string>
340 </property>
341 </widget>
342 <widget class="QLabel">
343 <property name="name">
344 <cstring>MidiChannelTextLabel</cstring>
345 </property>
346 <property name="text">
347 <string>&amp;Channel:</string>
348 </property>
349 <property name="alignment">
350 <set>AlignVCenter|AlignRight</set>
351 </property>
352 <property name="buddy" stdset="0">
353 <cstring>MidiChannelComboBox</cstring>
354 </property>
355 </widget>
356 <widget class="QComboBox">
357 <item>
358 <property name="text">
359 <string>1</string>
360 </property>
361 </item>
362 <item>
363 <property name="text">
364 <string>2</string>
365 </property>
366 </item>
367 <item>
368 <property name="text">
369 <string>3</string>
370 </property>
371 </item>
372 <item>
373 <property name="text">
374 <string>4</string>
375 </property>
376 </item>
377 <item>
378 <property name="text">
379 <string>5</string>
380 </property>
381 </item>
382 <item>
383 <property name="text">
384 <string>6</string>
385 </property>
386 </item>
387 <item>
388 <property name="text">
389 <string>7</string>
390 </property>
391 </item>
392 <item>
393 <property name="text">
394 <string>8</string>
395 </property>
396 </item>
397 <item>
398 <property name="text">
399 <string>9</string>
400 </property>
401 </item>
402 <item>
403 <property name="text">
404 <string>10</string>
405 </property>
406 </item>
407 <item>
408 <property name="text">
409 <string>11</string>
410 </property>
411 </item>
412 <item>
413 <property name="text">
414 <string>12</string>
415 </property>
416 </item>
417 <item>
418 <property name="text">
419 <string>13</string>
420 </property>
421 </item>
422 <item>
423 <property name="text">
424 <string>14</string>
425 </property>
426 </item>
427 <item>
428 <property name="text">
429 <string>15</string>
430 </property>
431 </item>
432 <item>
433 <property name="text">
434 <string>16</string>
435 </property>
436 </item>
437 <item>
438 <property name="text">
439 <string>All</string>
440 </property>
441 </item>
442 <property name="name">
443 <cstring>MidiChannelComboBox</cstring>
444 </property>
445 <property name="toolTip" stdset="0">
446 <string>MIDI input channel</string>
447 </property>
448 </widget>
449 <spacer>
450 <property name="name">
451 <cstring>spacer2</cstring>
452 </property>
453 <property name="orientation">
454 <enum>Horizontal</enum>
455 </property>
456 <property name="sizeType">
457 <enum>Expanding</enum>
458 </property>
459 <property name="sizeHint">
460 <size>
461 <width>8</width>
462 <height>8</height>
463 </size>
464 </property>
465 </spacer>
466 </hbox>
467 </widget>
468 <widget class="QGroupBox" row="4" column="1" rowspan="1" colspan="3">
469 <property name="name">
470 <cstring>AudioGroupBox</cstring>
471 </property>
472 <property name="sizePolicy">
473 <sizepolicy>
474 <hsizetype>1</hsizetype>
475 <vsizetype>5</vsizetype>
476 <horstretch>0</horstretch>
477 <verstretch>0</verstretch>
478 </sizepolicy>
479 </property>
480 <property name="title">
481 <string>Audio / Output</string>
482 </property>
483 <property name="alignment">
484 <set>AlignAuto</set>
485 </property>
486 <hbox>
487 <property name="name">
488 <cstring>unnamed</cstring>
489 </property>
490 <property name="margin">
491 <number>8</number>
492 </property>
493 <property name="spacing">
494 <number>8</number>
495 </property>
496 <widget class="QLabel">
497 <property name="name">
498 <cstring>AudioDriverTextLabel</cstring>
499 </property>
500 <property name="text">
501 <string>&amp;Type:</string>
502 </property>
503 <property name="alignment">
504 <set>AlignVCenter|AlignRight</set>
505 </property>
506 <property name="buddy" stdset="0">
507 <cstring>AudioDriverComboBox</cstring>
508 </property>
509 </widget>
510 <widget class="QComboBox">
511 <item>
512 <property name="text">
513 <string>ALSA</string>
514 </property>
515 </item>
516 <item>
517 <property name="text">
518 <string>JACK</string>
519 </property>
520 </item>
521 <property name="name">
522 <cstring>AudioDriverComboBox</cstring>
523 </property>
524 <property name="toolTip" stdset="0">
525 <string>Audio output driver type</string>
526 </property>
527 </widget>
528 <spacer>
529 <property name="name">
530 <cstring>spacer3</cstring>
531 </property>
532 <property name="orientation">
533 <enum>Horizontal</enum>
534 </property>
535 <property name="sizeType">
536 <enum>Expanding</enum>
537 </property>
538 <property name="sizeHint">
539 <size>
540 <width>8</width>
541 <height>8</height>
542 </size>
543 </property>
544 </spacer>
545 </hbox>
546 </widget>
547 </grid>
548 </widget>
549 <connections>
550 <connection>
551 <sender>EngineNameComboBox</sender>
552 <signal>activated(int)</signal>
553 <receiver>qsamplerChannelForm</receiver>
554 <slot>optionsChanged()</slot>
555 </connection>
556 <connection>
557 <sender>InstrumentFileComboBox</sender>
558 <signal>textChanged(const QString &amp;)</signal>
559 <receiver>qsamplerChannelForm</receiver>
560 <slot>updateInstrumentName()</slot>
561 </connection>
562 <connection>
563 <sender>InstrumentFilePushButton</sender>
564 <signal>clicked()</signal>
565 <receiver>qsamplerChannelForm</receiver>
566 <slot>openInstrumentFile()</slot>
567 </connection>
568 <connection>
569 <sender>InstrumentNrSpinBox</sender>
570 <signal>valueChanged(int)</signal>
571 <receiver>qsamplerChannelForm</receiver>
572 <slot>updateInstrumentName()</slot>
573 </connection>
574 <connection>
575 <sender>MidiDriverComboBox</sender>
576 <signal>activated(int)</signal>
577 <receiver>qsamplerChannelForm</receiver>
578 <slot>optionsChanged()</slot>
579 </connection>
580 <connection>
581 <sender>MidiPortSpinBox</sender>
582 <signal>valueChanged(int)</signal>
583 <receiver>qsamplerChannelForm</receiver>
584 <slot>optionsChanged()</slot>
585 </connection>
586 <connection>
587 <sender>MidiChannelComboBox</sender>
588 <signal>activated(int)</signal>
589 <receiver>qsamplerChannelForm</receiver>
590 <slot>optionsChanged()</slot>
591 </connection>
592 <connection>
593 <sender>AudioDriverComboBox</sender>
594 <signal>activated(int)</signal>
595 <receiver>qsamplerChannelForm</receiver>
596 <slot>optionsChanged()</slot>
597 </connection>
598 <connection>
599 <sender>OkPushButton</sender>
600 <signal>clicked()</signal>
601 <receiver>qsamplerChannelForm</receiver>
602 <slot>accept()</slot>
603 </connection>
604 <connection>
605 <sender>CancelPushButton</sender>
606 <signal>clicked()</signal>
607 <receiver>qsamplerChannelForm</receiver>
608 <slot>reject()</slot>
609 </connection>
610 </connections>
611 <tabstops>
612 <tabstop>EngineNameComboBox</tabstop>
613 <tabstop>InstrumentFileComboBox</tabstop>
614 <tabstop>InstrumentFilePushButton</tabstop>
615 <tabstop>InstrumentNrSpinBox</tabstop>
616 <tabstop>MidiDriverComboBox</tabstop>
617 <tabstop>MidiPortSpinBox</tabstop>
618 <tabstop>MidiChannelComboBox</tabstop>
619 <tabstop>AudioDriverComboBox</tabstop>
620 <tabstop>OkPushButton</tabstop>
621 <tabstop>CancelPushButton</tabstop>
622 </tabstops>
623 <includes>
624 <include location="local" impldecl="in declaration">qsamplerChannel.h</include>
625 <include location="local" impldecl="in implementation">qsamplerChannelForm.ui.h</include>
626 </includes>
627 <variables>
628 <variable access="private">qsamplerChannel *m_pChannel;</variable>
629 <variable access="private">int m_iDirtySetup;</variable>
630 <variable access="private">int m_iDirtyCount;</variable>
631 </variables>
632 <slots>
633 <slot specifier="non virtual">accept()</slot>
634 <slot specifier="non virtual">reject()</slot>
635 <slot specifier="non virtual">openInstrumentFile()</slot>
636 <slot specifier="non virtual">updateInstrumentName()</slot>
637 <slot specifier="non virtual">optionsChanged()</slot>
638 <slot specifier="non virtual">stabilizeForm()</slot>
639 </slots>
640 <functions>
641 <function access="private" specifier="non virtual">init()</function>
642 <function access="private" specifier="non virtual">destroy()</function>
643 <function specifier="non virtual">setup( qsamplerChannel *pChannel )</function>
644 </functions>
645 <pixmapinproject/>
646 <layoutdefaults spacing="8" margin="8"/>
647 </UI>

  ViewVC Help
Powered by ViewVC