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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1366 - (show annotations) (download)
Mon Oct 1 18:26:06 2007 UTC (10 years, 9 months ago) by schoenebeck
File size: 20795 byte(s)
* Added new button "Edit" to the channel strips, which probably
  does exactly what you think it does: it opens an appropriate
  instrument editor application.

1 <!DOCTYPE UI><UI version="3.3" stdsetdef="1">
2 <class>qsamplerChannelStrip</class>
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 <author>rncbc aka Rui Nuno Capela</author>
23 <widget class="QWidget">
24 <property name="name">
25 <cstring>qsamplerChannelStrip</cstring>
26 </property>
27 <property name="geometry">
28 <rect>
29 <x>0</x>
30 <y>0</y>
31 <width>795</width>
32 <height>56</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: 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 <hbox>
53 <property name="name">
54 <cstring>unnamed</cstring>
55 </property>
56 <property name="margin">
57 <number>4</number>
58 </property>
59 <property name="spacing">
60 <number>4</number>
61 </property>
62 <widget class="QPushButton">
63 <property name="name">
64 <cstring>ChannelSetupPushButton</cstring>
65 </property>
66 <property name="text">
67 <string>&amp;Channel</string>
68 </property>
69 <property name="accel">
70 <string>Alt+C</string>
71 </property>
72 <property name="iconSet">
73 <iconset>qsamplerChannel.png</iconset>
74 </property>
75 <property name="flat">
76 <bool>true</bool>
77 </property>
78 <property name="toolTip" stdset="0">
79 <string>Channel setup</string>
80 </property>
81 </widget>
82 <widget class="QFrame">
83 <property name="name">
84 <cstring>ChannelInfoFrame</cstring>
85 </property>
86 <property name="sizePolicy">
87 <sizepolicy>
88 <hsizetype>5</hsizetype>
89 <vsizetype>5</vsizetype>
90 <horstretch>0</horstretch>
91 <verstretch>0</verstretch>
92 </sizepolicy>
93 </property>
94 <property name="minimumSize">
95 <size>
96 <width>200</width>
97 <height>0</height>
98 </size>
99 </property>
100 <property name="maximumSize">
101 <size>
102 <width>320</width>
103 <height>64</height>
104 </size>
105 </property>
106 <property name="paletteBackgroundColor">
107 <color>
108 <red>0</red>
109 <green>0</green>
110 <blue>0</blue>
111 </color>
112 </property>
113 <property name="paletteBackgroundPixmap">
114 <pixmap>displaybg1.png</pixmap>
115 </property>
116 <property name="frameShape">
117 <enum>Panel</enum>
118 </property>
119 <property name="frameShadow">
120 <enum>Sunken</enum>
121 </property>
122 <grid>
123 <property name="name">
124 <cstring>unnamed</cstring>
125 </property>
126 <property name="margin">
127 <number>2</number>
128 </property>
129 <widget class="QLabel" row="0" column="0">
130 <property name="name">
131 <cstring>EngineNameTextLabel</cstring>
132 </property>
133 <property name="sizePolicy">
134 <sizepolicy>
135 <hsizetype>7</hsizetype>
136 <vsizetype>5</vsizetype>
137 <horstretch>0</horstretch>
138 <verstretch>0</verstretch>
139 </sizepolicy>
140 </property>
141 <property name="paletteForegroundColor">
142 <color>
143 <red>255</red>
144 <green>255</green>
145 <blue>127</blue>
146 </color>
147 </property>
148 <property name="paletteBackgroundPixmap">
149 <pixmap>displaybg1.png</pixmap>
150 </property>
151 <property name="backgroundOrigin">
152 <enum>ParentOrigin</enum>
153 </property>
154 <property name="text">
155 <string>--</string>
156 </property>
157 <property name="alignment">
158 <set>AlignTop</set>
159 </property>
160 <property name="toolTip" stdset="0">
161 <string>Engine name</string>
162 </property>
163 </widget>
164 <widget class="QLabel" row="1" column="0">
165 <property name="name">
166 <cstring>InstrumentNameTextLabel</cstring>
167 </property>
168 <property name="paletteForegroundColor">
169 <color>
170 <red>0</red>
171 <green>255</green>
172 <blue>0</blue>
173 </color>
174 </property>
175 <property name="paletteBackgroundPixmap">
176 <pixmap>displaybg1.png</pixmap>
177 </property>
178 <property name="backgroundOrigin">
179 <enum>ParentOrigin</enum>
180 </property>
181 <property name="text">
182 <string>--</string>
183 </property>
184 <property name="toolTip" stdset="0">
185 <string>Instrument name</string>
186 </property>
187 </widget>
188 <widget class="QLabel" row="0" column="1">
189 <property name="name">
190 <cstring>MidiPortChannelTextLabel</cstring>
191 </property>
192 <property name="minimumSize">
193 <size>
194 <width>20</width>
195 <height>0</height>
196 </size>
197 </property>
198 <property name="paletteForegroundColor">
199 <color>
200 <red>255</red>
201 <green>255</green>
202 <blue>127</blue>
203 </color>
204 </property>
205 <property name="paletteBackgroundPixmap">
206 <pixmap>displaybg1.png</pixmap>
207 </property>
208 <property name="backgroundOrigin">
209 <enum>ParentOrigin</enum>
210 </property>
211 <property name="text">
212 <string>-- / --</string>
213 </property>
214 <property name="alignment">
215 <set>AlignTop|AlignHCenter</set>
216 </property>
217 <property name="toolTip" stdset="0">
218 <string>MIDI port / channel</string>
219 </property>
220 </widget>
221 <widget class="QLabel" row="1" column="1">
222 <property name="name">
223 <cstring>InstrumentStatusTextLabel</cstring>
224 </property>
225 <property name="minimumSize">
226 <size>
227 <width>20</width>
228 <height>0</height>
229 </size>
230 </property>
231 <property name="paletteForegroundColor">
232 <color>
233 <red>0</red>
234 <green>255</green>
235 <blue>0</blue>
236 </color>
237 </property>
238 <property name="paletteBackgroundPixmap">
239 <pixmap>displaybg1.png</pixmap>
240 </property>
241 <property name="backgroundOrigin">
242 <enum>ParentOrigin</enum>
243 </property>
244 <property name="text">
245 <string>--</string>
246 </property>
247 <property name="alignment">
248 <set>AlignCenter</set>
249 </property>
250 <property name="toolTip" stdset="0">
251 <string>Instrument load status</string>
252 </property>
253 </widget>
254 </grid>
255 </widget>
256 <widget class="QPushButton">
257 <property name="name">
258 <cstring>ChannelMutePushButton</cstring>
259 </property>
260 <property name="maximumSize">
261 <size>
262 <width>48</width>
263 <height>64</height>
264 </size>
265 </property>
266 <property name="text">
267 <string>&amp;Mute</string>
268 </property>
269 <property name="accel">
270 <string>Alt+M</string>
271 </property>
272 <property name="toggleButton">
273 <bool>true</bool>
274 </property>
275 <property name="toolTip" stdset="0">
276 <string>Channel mute</string>
277 </property>
278 </widget>
279 <widget class="QPushButton">
280 <property name="name">
281 <cstring>ChannelSoloPushButton</cstring>
282 </property>
283 <property name="maximumSize">
284 <size>
285 <width>48</width>
286 <height>64</height>
287 </size>
288 </property>
289 <property name="text">
290 <string>&amp;Solo</string>
291 </property>
292 <property name="accel">
293 <string>Alt+S</string>
294 </property>
295 <property name="toggleButton">
296 <bool>true</bool>
297 </property>
298 <property name="toolTip" stdset="0">
299 <string>Channel solo</string>
300 </property>
301 </widget>
302 <widget class="QSlider">
303 <property name="name">
304 <cstring>VolumeSlider</cstring>
305 </property>
306 <property name="minimumSize">
307 <size>
308 <width>120</width>
309 <height>0</height>
310 </size>
311 </property>
312 <property name="maxValue">
313 <number>100</number>
314 </property>
315 <property name="orientation">
316 <enum>Horizontal</enum>
317 </property>
318 <property name="tickmarks">
319 <enum>Both</enum>
320 </property>
321 <property name="tickInterval">
322 <number>10</number>
323 </property>
324 <property name="toolTip" stdset="0">
325 <string>Channel volume</string>
326 </property>
327 </widget>
328 <widget class="QSpinBox">
329 <property name="name">
330 <cstring>VolumeSpinBox</cstring>
331 </property>
332 <property name="minimumSize">
333 <size>
334 <width>40</width>
335 <height>0</height>
336 </size>
337 </property>
338 <property name="maximumSize">
339 <size>
340 <width>60</width>
341 <height>32767</height>
342 </size>
343 </property>
344 <property name="suffix">
345 <string> %</string>
346 </property>
347 <property name="maxValue">
348 <number>100</number>
349 </property>
350 <property name="toolTip" stdset="0">
351 <string>Channel volume</string>
352 </property>
353 </widget>
354 <widget class="QPushButton">
355 <property name="name">
356 <cstring>ChannelEditPushButton</cstring>
357 </property>
358 <property name="maximumSize">
359 <size>
360 <width>48</width>
361 <height>64</height>
362 </size>
363 </property>
364 <property name="text">
365 <string>&amp;Edit</string>
366 </property>
367 <property name="accel">
368 <string>Alt+E</string>
369 </property>
370 </widget>
371 <widget class="QProgressBar">
372 <property name="name">
373 <cstring>StreamUsageProgressBar</cstring>
374 </property>
375 <property name="sizePolicy">
376 <sizepolicy>
377 <hsizetype>1</hsizetype>
378 <vsizetype>0</vsizetype>
379 <horstretch>0</horstretch>
380 <verstretch>0</verstretch>
381 </sizepolicy>
382 </property>
383 <property name="minimumSize">
384 <size>
385 <width>100</width>
386 <height>0</height>
387 </size>
388 </property>
389 <property name="maximumSize">
390 <size>
391 <width>32767</width>
392 <height>22</height>
393 </size>
394 </property>
395 <property name="indicatorFollowsStyle">
396 <bool>false</bool>
397 </property>
398 <property name="toolTip" stdset="0">
399 <string>Least buffer fill stream usage (%)</string>
400 </property>
401 </widget>
402 <widget class="QLabel">
403 <property name="name">
404 <cstring>StreamVoiceCountTextLabel</cstring>
405 </property>
406 <property name="minimumSize">
407 <size>
408 <width>60</width>
409 <height>0</height>
410 </size>
411 </property>
412 <property name="maximumSize">
413 <size>
414 <width>32767</width>
415 <height>22</height>
416 </size>
417 </property>
418 <property name="paletteForegroundColor">
419 <color>
420 <red>0</red>
421 <green>255</green>
422 <blue>0</blue>
423 </color>
424 </property>
425 <property name="paletteBackgroundColor">
426 <color>
427 <red>0</red>
428 <green>0</green>
429 <blue>0</blue>
430 </color>
431 </property>
432 <property name="frameShape">
433 <enum>Panel</enum>
434 </property>
435 <property name="frameShadow">
436 <enum>Sunken</enum>
437 </property>
438 <property name="text">
439 <string>--/--</string>
440 </property>
441 <property name="alignment">
442 <set>AlignCenter</set>
443 </property>
444 <property name="toolTip" stdset="0">
445 <string>Stream / Voice count</string>
446 </property>
447 </widget>
448 </hbox>
449 </widget>
450 <connections>
451 <connection>
452 <sender>ChannelSetupPushButton</sender>
453 <signal>clicked()</signal>
454 <receiver>qsamplerChannelStrip</receiver>
455 <slot>channelSetup()</slot>
456 </connection>
457 <connection>
458 <sender>ChannelMutePushButton</sender>
459 <signal>toggled(bool)</signal>
460 <receiver>qsamplerChannelStrip</receiver>
461 <slot>channelMute(bool)</slot>
462 </connection>
463 <connection>
464 <sender>ChannelSoloPushButton</sender>
465 <signal>toggled(bool)</signal>
466 <receiver>qsamplerChannelStrip</receiver>
467 <slot>channelSolo(bool)</slot>
468 </connection>
469 <connection>
470 <sender>VolumeSlider</sender>
471 <signal>valueChanged(int)</signal>
472 <receiver>qsamplerChannelStrip</receiver>
473 <slot>volumeChanged(int)</slot>
474 </connection>
475 <connection>
476 <sender>VolumeSpinBox</sender>
477 <signal>valueChanged(int)</signal>
478 <receiver>qsamplerChannelStrip</receiver>
479 <slot>volumeChanged(int)</slot>
480 </connection>
481 <connection>
482 <sender>ChannelEditPushButton</sender>
483 <signal>clicked()</signal>
484 <receiver>qsamplerChannelStrip</receiver>
485 <slot>channelEdit()</slot>
486 </connection>
487 </connections>
488 <tabstops>
489 <tabstop>ChannelSetupPushButton</tabstop>
490 <tabstop>ChannelMutePushButton</tabstop>
491 <tabstop>ChannelSoloPushButton</tabstop>
492 <tabstop>VolumeSlider</tabstop>
493 <tabstop>VolumeSpinBox</tabstop>
494 </tabstops>
495 <includes>
496 <include location="local" impldecl="in declaration">qsamplerChannel.h</include>
497 <include location="local" impldecl="in implementation">qsamplerChannelStrip.ui.h</include>
498 </includes>
499 <variables>
500 <variable access="private">qsamplerChannel *m_pChannel;</variable>
501 <variable access="private">int m_iDirtyChange;</variable>
502 <variable access="private">int m_iErrorCount;</variable>
503 </variables>
504 <signals>
505 <signal>channelChanged( qsamplerChannelStrip * )</signal>
506 </signals>
507 <slots>
508 <slot specifier="non virtual" returnType="bool">channelSetup( void )</slot>
509 <slot specifier="non virtual" returnType="bool">channelMute( bool bMute )</slot>
510 <slot specifier="non virtual" returnType="bool">channelSolo( bool bSolo )</slot>
511 <slot>channelEdit()</slot>
512 <slot specifier="non virtual" returnType="bool">channelReset( void )</slot>
513 <slot specifier="non virtual">volumeChanged( int iVolume )</slot>
514 </slots>
515 <functions>
516 <function access="private" specifier="non virtual">init( void )</function>
517 <function access="private" specifier="non virtual">destroy( void )</function>
518 <function access="private" specifier="non virtual" returnType="bool">decodeDragFile( const QMimeSource * pEvent, QString &amp; sInstrumentFile )</function>
519 <function access="private" specifier="non virtual">dragEnterEvent( QDragEnterEvent * pDragEnterEvent )</function>
520 <function access="private" specifier="non virtual">dropEvent( QDropEvent * pDropEvent )</function>
521 <function specifier="non virtual">setup( qsamplerChannel * pChannel )</function>
522 <function specifier="non virtual" returnType="qsamplerChannel *">channel( void )</function>
523 <function specifier="non virtual" returnType="QFont">displayFont( void )</function>
524 <function specifier="non virtual">setDisplayFont( const QFont &amp; font )</function>
525 <function specifier="non virtual">setDisplayEffect( bool bDisplayEffect )</function>
526 <function specifier="non virtual">setDisplayBackground( const QPixmap &amp; pm )</function>
527 <function specifier="non virtual">setMaxVolume( int iMaxVolume )</function>
528 <function specifier="non virtual" returnType="bool">updateInstrumentName( bool bForce )</function>
529 <function specifier="non virtual" returnType="bool">updateChannelVolume( void )</function>
530 <function specifier="non virtual" returnType="bool">updateChannelInfo( void )</function>
531 <function specifier="non virtual" returnType="bool">updateChannelUsage( void )</function>
532 <function access="private" specifier="non virtual">contextMenuEvent( QContextMenuEvent * pEvent )</function>
533 <function specifier="non virtual">resetErrorCount( void )</function>
534 </functions>
535 <pixmapinproject/>
536 <layoutdefaults spacing="0" margin="0"/>
537 </UI>

  ViewVC Help
Powered by ViewVC