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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 255 - (show annotations) (download)
Tue Sep 28 16:17:43 2004 UTC (15 years, 5 months ago) by capela
File size: 20467 byte(s)
* Sampler reset command action added to menu and toolbar.

* MIDI channel selection is now a dropdown list, allowing
  the explicit selection for "All" channels input per sampler
  channel (omni).

* Channel strip display glass effect has changed background
  color to black (was green).

* Minor configure fixes.

1 <!DOCTYPE UI><UI version="3.1" stdsetdef="1">
2 <class>qsamplerChannelStrip</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="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>694</width>
32 <height>47</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 <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="indent">
161 <number>4</number>
162 </property>
163 <property name="toolTip" stdset="0">
164 <string>Engine name</string>
165 </property>
166 </widget>
167 <widget class="QLabel" row="1" column="0">
168 <property name="name">
169 <cstring>InstrumentNameTextLabel</cstring>
170 </property>
171 <property name="paletteForegroundColor">
172 <color>
173 <red>0</red>
174 <green>255</green>
175 <blue>0</blue>
176 </color>
177 </property>
178 <property name="paletteBackgroundPixmap">
179 <pixmap>displaybg1.png</pixmap>
180 </property>
181 <property name="backgroundOrigin">
182 <enum>ParentOrigin</enum>
183 </property>
184 <property name="text">
185 <string>--</string>
186 </property>
187 <property name="indent">
188 <number>4</number>
189 </property>
190 <property name="toolTip" stdset="0">
191 <string>Instrument file [index]</string>
192 </property>
193 </widget>
194 <widget class="QLabel" row="0" column="1">
195 <property name="name">
196 <cstring>MidiPortChannelTextLabel</cstring>
197 </property>
198 <property name="minimumSize">
199 <size>
200 <width>20</width>
201 <height>0</height>
202 </size>
203 </property>
204 <property name="paletteForegroundColor">
205 <color>
206 <red>255</red>
207 <green>255</green>
208 <blue>127</blue>
209 </color>
210 </property>
211 <property name="paletteBackgroundPixmap">
212 <pixmap>displaybg1.png</pixmap>
213 </property>
214 <property name="backgroundOrigin">
215 <enum>ParentOrigin</enum>
216 </property>
217 <property name="text">
218 <string>--/--</string>
219 </property>
220 <property name="alignment">
221 <set>AlignTop|AlignHCenter</set>
222 </property>
223 <property name="toolTip" stdset="0">
224 <string>MIDI Port/Channel</string>
225 </property>
226 </widget>
227 <widget class="QLabel" row="1" column="1">
228 <property name="name">
229 <cstring>InstrumentStatusTextLabel</cstring>
230 </property>
231 <property name="minimumSize">
232 <size>
233 <width>20</width>
234 <height>0</height>
235 </size>
236 </property>
237 <property name="paletteForegroundColor">
238 <color>
239 <red>0</red>
240 <green>255</green>
241 <blue>0</blue>
242 </color>
243 </property>
244 <property name="paletteBackgroundPixmap">
245 <pixmap>displaybg1.png</pixmap>
246 </property>
247 <property name="backgroundOrigin">
248 <enum>ParentOrigin</enum>
249 </property>
250 <property name="text">
251 <string>--</string>
252 </property>
253 <property name="alignment">
254 <set>AlignCenter</set>
255 </property>
256 <property name="toolTip" stdset="0">
257 <string>IInstrument load status</string>
258 </property>
259 </widget>
260 </grid>
261 </widget>
262 <widget class="QSlider">
263 <property name="name">
264 <cstring>VolumeSlider</cstring>
265 </property>
266 <property name="minimumSize">
267 <size>
268 <width>180</width>
269 <height>0</height>
270 </size>
271 </property>
272 <property name="maxValue">
273 <number>100</number>
274 </property>
275 <property name="orientation">
276 <enum>Horizontal</enum>
277 </property>
278 <property name="tickmarks">
279 <enum>Both</enum>
280 </property>
281 <property name="tickInterval">
282 <number>10</number>
283 </property>
284 <property name="toolTip" stdset="0">
285 <string>Channel volume</string>
286 </property>
287 </widget>
288 <widget class="QSpinBox">
289 <property name="name">
290 <cstring>VolumeSpinBox</cstring>
291 </property>
292 <property name="minimumSize">
293 <size>
294 <width>40</width>
295 <height>0</height>
296 </size>
297 </property>
298 <property name="maximumSize">
299 <size>
300 <width>60</width>
301 <height>32767</height>
302 </size>
303 </property>
304 <property name="suffix">
305 <string> %</string>
306 </property>
307 <property name="maxValue">
308 <number>100</number>
309 </property>
310 <property name="toolTip" stdset="0">
311 <string>Channel volume</string>
312 </property>
313 </widget>
314 <widget class="QProgressBar">
315 <property name="name">
316 <cstring>StreamUsageProgressBar</cstring>
317 </property>
318 <property name="sizePolicy">
319 <sizepolicy>
320 <hsizetype>1</hsizetype>
321 <vsizetype>0</vsizetype>
322 <horstretch>0</horstretch>
323 <verstretch>0</verstretch>
324 </sizepolicy>
325 </property>
326 <property name="minimumSize">
327 <size>
328 <width>100</width>
329 <height>0</height>
330 </size>
331 </property>
332 <property name="maximumSize">
333 <size>
334 <width>32767</width>
335 <height>22</height>
336 </size>
337 </property>
338 <property name="indicatorFollowsStyle">
339 <bool>false</bool>
340 </property>
341 <property name="toolTip" stdset="0">
342 <string>Least buffer fill stream usage (%)</string>
343 </property>
344 </widget>
345 <widget class="QLabel">
346 <property name="name">
347 <cstring>StreamVoiceCountTextLabel</cstring>
348 </property>
349 <property name="minimumSize">
350 <size>
351 <width>60</width>
352 <height>0</height>
353 </size>
354 </property>
355 <property name="maximumSize">
356 <size>
357 <width>32767</width>
358 <height>22</height>
359 </size>
360 </property>
361 <property name="paletteForegroundColor">
362 <color>
363 <red>0</red>
364 <green>255</green>
365 <blue>0</blue>
366 </color>
367 </property>
368 <property name="paletteBackgroundColor">
369 <color>
370 <red>0</red>
371 <green>0</green>
372 <blue>0</blue>
373 </color>
374 </property>
375 <property name="frameShape">
376 <enum>Panel</enum>
377 </property>
378 <property name="frameShadow">
379 <enum>Sunken</enum>
380 </property>
381 <property name="text">
382 <string>--/--</string>
383 </property>
384 <property name="alignment">
385 <set>AlignCenter</set>
386 </property>
387 <property name="toolTip" stdset="0">
388 <string>Stream / Voice count</string>
389 </property>
390 </widget>
391 </hbox>
392 </widget>
393 <connections>
394 <connection>
395 <sender>VolumeSlider</sender>
396 <signal>valueChanged(int)</signal>
397 <receiver>qsamplerChannelStrip</receiver>
398 <slot>volumeChanged(int)</slot>
399 </connection>
400 <connection>
401 <sender>VolumeSpinBox</sender>
402 <signal>valueChanged(int)</signal>
403 <receiver>qsamplerChannelStrip</receiver>
404 <slot>volumeChanged(int)</slot>
405 </connection>
406 </connections>
407 <tabstops>
408 <tabstop>ChannelSetupPushButton</tabstop>
409 <tabstop>VolumeSlider</tabstop>
410 <tabstop>VolumeSpinBox</tabstop>
411 </tabstops>
412 <includes>
413 <include location="global" impldecl="in declaration">lscp/client.h</include>
414 <include location="global" impldecl="in declaration">lscp/device.h</include>
415 <include location="local" impldecl="in implementation">qsamplerChannelStrip.ui.h</include>
416 </includes>
417 <forwards>
418 <forward>class qsamplerOptions;</forward>
419 <forward>class qsamplerMainForm;</forward>
420 </forwards>
421 <variables>
422 <variable access="private">qsamplerMainForm *m_pMainForm;</variable>
423 <variable access="private">int m_iChannelID;</variable>
424 <variable access="private">QString m_sEngineName;</variable>
425 <variable access="private">QString m_sInstrumentFile;</variable>
426 <variable access="private">int m_iInstrumentNr;</variable>
427 <variable access="private">int m_iInstrumentStatus;</variable>
428 <variable access="private">QString m_sMidiDriver;</variable>
429 <variable access="private">int m_iMidiDevice;</variable>
430 <variable access="private">int m_iMidiPort;</variable>
431 <variable access="private">int m_iMidiChannel;</variable>
432 <variable access="private">QString m_sAudioDriver;</variable>
433 <variable access="private">int m_iAudioDevice;</variable>
434 <variable access="private">float m_fVolume;</variable>
435 <variable access="private">int m_iDirtyChange;</variable>
436 </variables>
437 <signals>
438 <signal>channelChanged( qsamplerChannelStrip * )</signal>
439 </signals>
440 <slots>
441 <slot specifier="non virtual">volumeChanged(int)</slot>
442 <slot specifier="non virtual">channelSetup(bool bNew = false)</slot>
443 </slots>
444 <functions>
445 <function access="private" specifier="non virtual">init()</function>
446 <function access="private" specifier="non virtual">destroy()</function>
447 <function specifier="non virtual">setup( qsamplerMainForm *pMainForm, int iChannelID )</function>
448 <function specifier="non virtual" returnType="qsamplerOptions *">options( void )</function>
449 <function specifier="non virtual" returnType="lscp_client_t *">client( void )</function>
450 <function specifier="non virtual" returnType="int">channelID( void )</function>
451 <function specifier="non virtual">setChannelID( int iChannelID )</function>
452 <function specifier="non virtual" returnType="QString&amp;">engineName( void )</function>
453 <function specifier="non virtual" returnType="bool">loadEngine( const QString&amp; sEngineName )</function>
454 <function specifier="non virtual" returnType="QString&amp;">instrumentFile( void )</function>
455 <function specifier="non virtual" returnType="int">instrumentNr( void )</function>
456 <function specifier="non virtual" returnType="int">instrumentStatus( void )</function>
457 <function specifier="non virtual" returnType="bool">loadInstrument( const QString&amp; sInstrumentFile, int iInstrumentNr )</function>
458 <function specifier="non virtual" returnType="QString&amp;">midiDriver( void )</function>
459 <function specifier="non virtual" returnType="bool">setMidiDriver( const QString&amp; sMidiDriver )</function>
460 <function specifier="non virtual" returnType="int">midiDevice( void )</function>
461 <function specifier="non virtual" returnType="bool">setMidiDevice( int iMidiDevice )</function>
462 <function specifier="non virtual" returnType="int">midiPort( void )</function>
463 <function specifier="non virtual" returnType="bool">setMidiPort( int iMidiPort )</function>
464 <function specifier="non virtual" returnType="int">midiChannel( void )</function>
465 <function specifier="non virtual" returnType="bool">setMidiChannel( int iMidiChannel )</function>
466 <function specifier="non virtual" returnType="int">audioDevice( void )</function>
467 <function specifier="non virtual" returnType="bool">setAudioDevice( int iAudioDevice )</function>
468 <function specifier="non virtual" returnType="QString&amp;">audioDriver( void )</function>
469 <function specifier="non virtual" returnType="bool">setAudioDriver( const QString&amp; sAudioDriver )</function>
470 <function specifier="non virtual" returnType="float">volume( void )</function>
471 <function specifier="non virtual" returnType="bool">setVolume( float fVolume )</function>
472 <function specifier="non virtual" returnType="QFont">displayFont( void )</function>
473 <function specifier="non virtual">setDisplayFont( const QFont &amp; font )</function>
474 <function specifier="non virtual">updateChannelInfo( void )</function>
475 <function specifier="non virtual">updateChannelVolume( void )</function>
476 <function specifier="non virtual">updateChannelUsage( void )</function>
477 <function specifier="non virtual">appendMessages( const QString &amp; s )</function>
478 <function specifier="non virtual">appendMessagesColor( const QString &amp; s, const QString &amp; c )</function>
479 <function specifier="non virtual">appendMessagesText( const QString &amp; s )</function>
480 <function specifier="non virtual">appendMessagesError( const QString &amp; s )</function>
481 <function specifier="non virtual">appendMessagesClient( const QString &amp; s )</function>
482 <function specifier="non virtual">contextMenuEvent( QContextMenuEvent *pEvent )</function>
483 <function specifier="non virtual">setMaxVolume( int iMaxVolume )</function>
484 </functions>
485 <pixmapinproject/>
486 <layoutdefaults spacing="0" margin="0"/>
487 </UI>

  ViewVC Help
Powered by ViewVC