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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1463 - (show annotations) (download)
Thu Nov 1 13:01:27 2007 UTC (16 years, 5 months ago) by capela
File size: 21125 byte(s)
* Qt4 migration: configure and icon/pixmaps resource arrangement.

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-2007, 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 <class>qsamplerChannelStrip</class>
23 <widget class="QWidget" name="qsamplerChannelStrip" >
24 <property name="geometry" >
25 <rect>
26 <x>0</x>
27 <y>0</y>
28 <width>795</width>
29 <height>56</height>
30 </rect>
31 </property>
32 <property name="sizePolicy" >
33 <sizepolicy>
34 <hsizetype>7</hsizetype>
35 <vsizetype>1</vsizetype>
36 <horstretch>0</horstretch>
37 <verstretch>0</verstretch>
38 </sizepolicy>
39 </property>
40 <property name="focusPolicy" >
41 <enum>Qt::StrongFocus</enum>
42 </property>
43 <property name="windowTitle" >
44 <string>Qsampler: Channel</string>
45 </property>
46 <property name="windowIcon" >
47 <iconset/>
48 </property>
49 <layout class="QHBoxLayout" >
50 <property name="margin" >
51 <number>4</number>
52 </property>
53 <property name="spacing" >
54 <number>4</number>
55 </property>
56 <item>
57 <widget class="QPushButton" name="ChannelSetupPushButton" >
58 <property name="toolTip" >
59 <string>Channel setup</string>
60 </property>
61 <property name="text" >
62 <string>&amp;Channel</string>
63 </property>
64 <property name="icon" >
65 <iconset resource="../icons/qsampler.qrc" >:/icons/qsamplerChannel.png</iconset>
66 </property>
67 <property name="shortcut" >
68 <string>Alt+C</string>
69 </property>
70 <property name="flat" >
71 <bool>true</bool>
72 </property>
73 </widget>
74 </item>
75 <item>
76 <widget class="QFrame" name="ChannelInfoFrame" >
77 <property name="sizePolicy" >
78 <sizepolicy>
79 <hsizetype>5</hsizetype>
80 <vsizetype>5</vsizetype>
81 <horstretch>0</horstretch>
82 <verstretch>0</verstretch>
83 </sizepolicy>
84 </property>
85 <property name="minimumSize" >
86 <size>
87 <width>200</width>
88 <height>0</height>
89 </size>
90 </property>
91 <property name="maximumSize" >
92 <size>
93 <width>320</width>
94 <height>64</height>
95 </size>
96 </property>
97 <property name="palette" >
98 <palette>
99 <active>
100 <colorrole role="Base" >
101 <brush brushstyle="SolidPattern" >
102 <color alpha="255" >
103 <red>255</red>
104 <green>255</green>
105 <blue>255</blue>
106 </color>
107 </brush>
108 </colorrole>
109 <colorrole role="Window" >
110 <brush brushstyle="SolidPattern" >
111 <color alpha="255" >
112 <red>0</red>
113 <green>0</green>
114 <blue>0</blue>
115 </color>
116 </brush>
117 </colorrole>
118 </active>
119 <inactive>
120 <colorrole role="Base" >
121 <brush brushstyle="SolidPattern" >
122 <color alpha="255" >
123 <red>255</red>
124 <green>255</green>
125 <blue>255</blue>
126 </color>
127 </brush>
128 </colorrole>
129 <colorrole role="Window" >
130 <brush brushstyle="SolidPattern" >
131 <color alpha="255" >
132 <red>0</red>
133 <green>0</green>
134 <blue>0</blue>
135 </color>
136 </brush>
137 </colorrole>
138 </inactive>
139 <disabled>
140 <colorrole role="Base" >
141 <brush brushstyle="SolidPattern" >
142 <color alpha="255" >
143 <red>0</red>
144 <green>0</green>
145 <blue>0</blue>
146 </color>
147 </brush>
148 </colorrole>
149 <colorrole role="Window" >
150 <brush brushstyle="SolidPattern" >
151 <color alpha="255" >
152 <red>0</red>
153 <green>0</green>
154 <blue>0</blue>
155 </color>
156 </brush>
157 </colorrole>
158 </disabled>
159 </palette>
160 </property>
161 <property name="frameShape" >
162 <enum>QFrame::Panel</enum>
163 </property>
164 <property name="frameShadow" >
165 <enum>QFrame::Sunken</enum>
166 </property>
167 <layout class="QGridLayout" >
168 <property name="margin" >
169 <number>2</number>
170 </property>
171 <property name="spacing" >
172 <number>0</number>
173 </property>
174 <item row="0" column="0" >
175 <widget class="QLabel" name="EngineNameTextLabel" >
176 <property name="sizePolicy" >
177 <sizepolicy>
178 <hsizetype>7</hsizetype>
179 <vsizetype>5</vsizetype>
180 <horstretch>0</horstretch>
181 <verstretch>0</verstretch>
182 </sizepolicy>
183 </property>
184 <property name="palette" >
185 <palette>
186 <active>
187 <colorrole role="WindowText" >
188 <brush brushstyle="SolidPattern" >
189 <color alpha="255" >
190 <red>255</red>
191 <green>255</green>
192 <blue>0</blue>
193 </color>
194 </brush>
195 </colorrole>
196 </active>
197 <inactive>
198 <colorrole role="WindowText" >
199 <brush brushstyle="SolidPattern" >
200 <color alpha="255" >
201 <red>255</red>
202 <green>255</green>
203 <blue>0</blue>
204 </color>
205 </brush>
206 </colorrole>
207 </inactive>
208 <disabled>
209 <colorrole role="WindowText" >
210 <brush brushstyle="SolidPattern" >
211 <color alpha="255" >
212 <red>119</red>
213 <green>119</green>
214 <blue>119</blue>
215 </color>
216 </brush>
217 </colorrole>
218 </disabled>
219 </palette>
220 </property>
221 <property name="toolTip" >
222 <string>Engine name</string>
223 </property>
224 <property name="text" >
225 <string>--</string>
226 </property>
227 <property name="alignment" >
228 <set>Qt::AlignTop</set>
229 </property>
230 <property name="wordWrap" >
231 <bool>false</bool>
232 </property>
233 </widget>
234 </item>
235 <item row="1" column="0" >
236 <widget class="QLabel" name="InstrumentNameTextLabel" >
237 <property name="palette" >
238 <palette>
239 <active>
240 <colorrole role="WindowText" >
241 <brush brushstyle="SolidPattern" >
242 <color alpha="255" >
243 <red>85</red>
244 <green>255</green>
245 <blue>0</blue>
246 </color>
247 </brush>
248 </colorrole>
249 </active>
250 <inactive>
251 <colorrole role="WindowText" >
252 <brush brushstyle="SolidPattern" >
253 <color alpha="255" >
254 <red>85</red>
255 <green>255</green>
256 <blue>0</blue>
257 </color>
258 </brush>
259 </colorrole>
260 </inactive>
261 <disabled>
262 <colorrole role="WindowText" >
263 <brush brushstyle="SolidPattern" >
264 <color alpha="255" >
265 <red>119</red>
266 <green>119</green>
267 <blue>119</blue>
268 </color>
269 </brush>
270 </colorrole>
271 </disabled>
272 </palette>
273 </property>
274 <property name="toolTip" >
275 <string>Instrument name</string>
276 </property>
277 <property name="text" >
278 <string>--</string>
279 </property>
280 <property name="wordWrap" >
281 <bool>false</bool>
282 </property>
283 </widget>
284 </item>
285 <item row="0" column="1" >
286 <widget class="QLabel" name="MidiPortChannelTextLabel" >
287 <property name="minimumSize" >
288 <size>
289 <width>20</width>
290 <height>0</height>
291 </size>
292 </property>
293 <property name="palette" >
294 <palette>
295 <active>
296 <colorrole role="WindowText" >
297 <brush brushstyle="SolidPattern" >
298 <color alpha="255" >
299 <red>255</red>
300 <green>255</green>
301 <blue>0</blue>
302 </color>
303 </brush>
304 </colorrole>
305 </active>
306 <inactive>
307 <colorrole role="WindowText" >
308 <brush brushstyle="SolidPattern" >
309 <color alpha="255" >
310 <red>255</red>
311 <green>255</green>
312 <blue>0</blue>
313 </color>
314 </brush>
315 </colorrole>
316 </inactive>
317 <disabled>
318 <colorrole role="WindowText" >
319 <brush brushstyle="SolidPattern" >
320 <color alpha="255" >
321 <red>119</red>
322 <green>119</green>
323 <blue>119</blue>
324 </color>
325 </brush>
326 </colorrole>
327 </disabled>
328 </palette>
329 </property>
330 <property name="toolTip" >
331 <string>MIDI port / channel</string>
332 </property>
333 <property name="text" >
334 <string>-- / --</string>
335 </property>
336 <property name="alignment" >
337 <set>Qt::AlignHCenter|Qt::AlignTop</set>
338 </property>
339 <property name="wordWrap" >
340 <bool>false</bool>
341 </property>
342 </widget>
343 </item>
344 <item row="1" column="1" >
345 <widget class="QLabel" name="InstrumentStatusTextLabel" >
346 <property name="minimumSize" >
347 <size>
348 <width>20</width>
349 <height>0</height>
350 </size>
351 </property>
352 <property name="palette" >
353 <palette>
354 <active>
355 <colorrole role="WindowText" >
356 <brush brushstyle="SolidPattern" >
357 <color alpha="255" >
358 <red>85</red>
359 <green>255</green>
360 <blue>0</blue>
361 </color>
362 </brush>
363 </colorrole>
364 </active>
365 <inactive>
366 <colorrole role="WindowText" >
367 <brush brushstyle="SolidPattern" >
368 <color alpha="255" >
369 <red>85</red>
370 <green>255</green>
371 <blue>0</blue>
372 </color>
373 </brush>
374 </colorrole>
375 </inactive>
376 <disabled>
377 <colorrole role="WindowText" >
378 <brush brushstyle="SolidPattern" >
379 <color alpha="255" >
380 <red>119</red>
381 <green>119</green>
382 <blue>119</blue>
383 </color>
384 </brush>
385 </colorrole>
386 </disabled>
387 </palette>
388 </property>
389 <property name="toolTip" >
390 <string>Instrument load status</string>
391 </property>
392 <property name="text" >
393 <string>--</string>
394 </property>
395 <property name="alignment" >
396 <set>Qt::AlignCenter</set>
397 </property>
398 <property name="wordWrap" >
399 <bool>false</bool>
400 </property>
401 </widget>
402 </item>
403 </layout>
404 </widget>
405 </item>
406 <item>
407 <widget class="QPushButton" name="ChannelMutePushButton" >
408 <property name="maximumSize" >
409 <size>
410 <width>48</width>
411 <height>64</height>
412 </size>
413 </property>
414 <property name="toolTip" >
415 <string>Channel mute</string>
416 </property>
417 <property name="text" >
418 <string>&amp;Mute</string>
419 </property>
420 <property name="shortcut" >
421 <string>Alt+M</string>
422 </property>
423 <property name="checkable" >
424 <bool>true</bool>
425 </property>
426 </widget>
427 </item>
428 <item>
429 <widget class="QPushButton" name="ChannelSoloPushButton" >
430 <property name="maximumSize" >
431 <size>
432 <width>48</width>
433 <height>64</height>
434 </size>
435 </property>
436 <property name="toolTip" >
437 <string>Channel solo</string>
438 </property>
439 <property name="text" >
440 <string>&amp;Solo</string>
441 </property>
442 <property name="shortcut" >
443 <string>Alt+S</string>
444 </property>
445 <property name="checkable" >
446 <bool>true</bool>
447 </property>
448 </widget>
449 </item>
450 <item>
451 <widget class="QSlider" name="VolumeSlider" >
452 <property name="minimumSize" >
453 <size>
454 <width>120</width>
455 <height>0</height>
456 </size>
457 </property>
458 <property name="toolTip" >
459 <string>Channel volume</string>
460 </property>
461 <property name="maximum" >
462 <number>100</number>
463 </property>
464 <property name="orientation" >
465 <enum>Qt::Horizontal</enum>
466 </property>
467 <property name="tickPosition" >
468 <enum>QSlider::TicksBothSides</enum>
469 </property>
470 <property name="tickInterval" >
471 <number>10</number>
472 </property>
473 </widget>
474 </item>
475 <item>
476 <widget class="QSpinBox" name="VolumeSpinBox" >
477 <property name="minimumSize" >
478 <size>
479 <width>40</width>
480 <height>0</height>
481 </size>
482 </property>
483 <property name="maximumSize" >
484 <size>
485 <width>60</width>
486 <height>32767</height>
487 </size>
488 </property>
489 <property name="toolTip" >
490 <string>Channel volume</string>
491 </property>
492 <property name="suffix" >
493 <string> %</string>
494 </property>
495 <property name="maximum" >
496 <number>100</number>
497 </property>
498 </widget>
499 </item>
500 <item>
501 <widget class="QPushButton" name="ChannelEditPushButton" >
502 <property name="maximumSize" >
503 <size>
504 <width>48</width>
505 <height>64</height>
506 </size>
507 </property>
508 <property name="toolTip" >
509 <string>Edit channel</string>
510 </property>
511 <property name="text" >
512 <string>&amp;Edit</string>
513 </property>
514 <property name="shortcut" >
515 <string>Alt+E</string>
516 </property>
517 </widget>
518 </item>
519 <item>
520 <widget class="QProgressBar" name="StreamUsageProgressBar" >
521 <property name="sizePolicy" >
522 <sizepolicy>
523 <hsizetype>1</hsizetype>
524 <vsizetype>0</vsizetype>
525 <horstretch>0</horstretch>
526 <verstretch>0</verstretch>
527 </sizepolicy>
528 </property>
529 <property name="minimumSize" >
530 <size>
531 <width>100</width>
532 <height>0</height>
533 </size>
534 </property>
535 <property name="maximumSize" >
536 <size>
537 <width>32767</width>
538 <height>22</height>
539 </size>
540 </property>
541 <property name="toolTip" >
542 <string>Least buffer fill stream usage (%)</string>
543 </property>
544 <property name="orientation" >
545 <enum>Qt::Horizontal</enum>
546 </property>
547 </widget>
548 </item>
549 <item>
550 <widget class="QLabel" name="StreamVoiceCountTextLabel" >
551 <property name="minimumSize" >
552 <size>
553 <width>60</width>
554 <height>0</height>
555 </size>
556 </property>
557 <property name="maximumSize" >
558 <size>
559 <width>32767</width>
560 <height>22</height>
561 </size>
562 </property>
563 <property name="palette" >
564 <palette>
565 <active>
566 <colorrole role="WindowText" >
567 <brush brushstyle="SolidPattern" >
568 <color alpha="255" >
569 <red>85</red>
570 <green>255</green>
571 <blue>0</blue>
572 </color>
573 </brush>
574 </colorrole>
575 <colorrole role="Base" >
576 <brush brushstyle="SolidPattern" >
577 <color alpha="255" >
578 <red>255</red>
579 <green>255</green>
580 <blue>255</blue>
581 </color>
582 </brush>
583 </colorrole>
584 <colorrole role="Window" >
585 <brush brushstyle="SolidPattern" >
586 <color alpha="255" >
587 <red>0</red>
588 <green>0</green>
589 <blue>0</blue>
590 </color>
591 </brush>
592 </colorrole>
593 </active>
594 <inactive>
595 <colorrole role="WindowText" >
596 <brush brushstyle="SolidPattern" >
597 <color alpha="255" >
598 <red>85</red>
599 <green>255</green>
600 <blue>0</blue>
601 </color>
602 </brush>
603 </colorrole>
604 <colorrole role="Base" >
605 <brush brushstyle="SolidPattern" >
606 <color alpha="255" >
607 <red>255</red>
608 <green>255</green>
609 <blue>255</blue>
610 </color>
611 </brush>
612 </colorrole>
613 <colorrole role="Window" >
614 <brush brushstyle="SolidPattern" >
615 <color alpha="255" >
616 <red>0</red>
617 <green>0</green>
618 <blue>0</blue>
619 </color>
620 </brush>
621 </colorrole>
622 </inactive>
623 <disabled>
624 <colorrole role="WindowText" >
625 <brush brushstyle="SolidPattern" >
626 <color alpha="255" >
627 <red>119</red>
628 <green>119</green>
629 <blue>119</blue>
630 </color>
631 </brush>
632 </colorrole>
633 <colorrole role="Base" >
634 <brush brushstyle="SolidPattern" >
635 <color alpha="255" >
636 <red>0</red>
637 <green>0</green>
638 <blue>0</blue>
639 </color>
640 </brush>
641 </colorrole>
642 <colorrole role="Window" >
643 <brush brushstyle="SolidPattern" >
644 <color alpha="255" >
645 <red>0</red>
646 <green>0</green>
647 <blue>0</blue>
648 </color>
649 </brush>
650 </colorrole>
651 </disabled>
652 </palette>
653 </property>
654 <property name="toolTip" >
655 <string>Stream / Voice count</string>
656 </property>
657 <property name="frameShape" >
658 <enum>QFrame::Panel</enum>
659 </property>
660 <property name="frameShadow" >
661 <enum>QFrame::Sunken</enum>
662 </property>
663 <property name="text" >
664 <string>--/--</string>
665 </property>
666 <property name="alignment" >
667 <set>Qt::AlignCenter</set>
668 </property>
669 <property name="wordWrap" >
670 <bool>false</bool>
671 </property>
672 </widget>
673 </item>
674 </layout>
675 </widget>
676 <layoutdefault spacing="0" margin="0" />
677 <pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
678 <tabstops>
679 <tabstop>ChannelSetupPushButton</tabstop>
680 <tabstop>ChannelMutePushButton</tabstop>
681 <tabstop>ChannelSoloPushButton</tabstop>
682 <tabstop>VolumeSlider</tabstop>
683 <tabstop>VolumeSpinBox</tabstop>
684 </tabstops>
685 <includes>
686 <include location="local" >qsamplerChannel.h</include>
687 </includes>
688 <resources>
689 <include location="../icons/qsampler.qrc" />
690 </resources>
691 <connections>
692 <connection>
693 <sender>ChannelSetupPushButton</sender>
694 <signal>clicked()</signal>
695 <receiver>qsamplerChannelStrip</receiver>
696 <slot>channelSetup()</slot>
697 <hints>
698 <hint type="sourcelabel" >
699 <x>20</x>
700 <y>20</y>
701 </hint>
702 <hint type="destinationlabel" >
703 <x>20</x>
704 <y>20</y>
705 </hint>
706 </hints>
707 </connection>
708 <connection>
709 <sender>ChannelMutePushButton</sender>
710 <signal>toggled(bool)</signal>
711 <receiver>qsamplerChannelStrip</receiver>
712 <slot>channelMute(bool)</slot>
713 <hints>
714 <hint type="sourcelabel" >
715 <x>20</x>
716 <y>20</y>
717 </hint>
718 <hint type="destinationlabel" >
719 <x>20</x>
720 <y>20</y>
721 </hint>
722 </hints>
723 </connection>
724 <connection>
725 <sender>ChannelSoloPushButton</sender>
726 <signal>toggled(bool)</signal>
727 <receiver>qsamplerChannelStrip</receiver>
728 <slot>channelSolo(bool)</slot>
729 <hints>
730 <hint type="sourcelabel" >
731 <x>20</x>
732 <y>20</y>
733 </hint>
734 <hint type="destinationlabel" >
735 <x>20</x>
736 <y>20</y>
737 </hint>
738 </hints>
739 </connection>
740 <connection>
741 <sender>VolumeSlider</sender>
742 <signal>valueChanged(int)</signal>
743 <receiver>qsamplerChannelStrip</receiver>
744 <slot>volumeChanged(int)</slot>
745 <hints>
746 <hint type="sourcelabel" >
747 <x>20</x>
748 <y>20</y>
749 </hint>
750 <hint type="destinationlabel" >
751 <x>20</x>
752 <y>20</y>
753 </hint>
754 </hints>
755 </connection>
756 <connection>
757 <sender>VolumeSpinBox</sender>
758 <signal>valueChanged(int)</signal>
759 <receiver>qsamplerChannelStrip</receiver>
760 <slot>volumeChanged(int)</slot>
761 <hints>
762 <hint type="sourcelabel" >
763 <x>20</x>
764 <y>20</y>
765 </hint>
766 <hint type="destinationlabel" >
767 <x>20</x>
768 <y>20</y>
769 </hint>
770 </hints>
771 </connection>
772 <connection>
773 <sender>ChannelEditPushButton</sender>
774 <signal>clicked()</signal>
775 <receiver>qsamplerChannelStrip</receiver>
776 <slot>channelEdit()</slot>
777 <hints>
778 <hint type="sourcelabel" >
779 <x>20</x>
780 <y>20</y>
781 </hint>
782 <hint type="destinationlabel" >
783 <x>20</x>
784 <y>20</y>
785 </hint>
786 </hints>
787 </connection>
788 </connections>
789 </ui>

  ViewVC Help
Powered by ViewVC