2 |
<class>qsamplerChannelStrip</class> |
<class>qsamplerChannelStrip</class> |
3 |
<comment>qsampler - A LinuxSampler Qt GUI Interface. |
<comment>qsampler - A LinuxSampler Qt GUI Interface. |
4 |
|
|
5 |
Copyright (C) 2004, rncbc aka Rui Nuno Capela. All rights reserved. |
Copyright (C) 2004-2005, rncbc aka Rui Nuno Capela. All rights reserved. |
6 |
|
|
7 |
This program is free software; you can redistribute it and/or |
This program is free software; you can redistribute it and/or |
8 |
modify it under the terms of the GNU General Public License |
modify it under the terms of the GNU General Public License |
28 |
<rect> |
<rect> |
29 |
<x>0</x> |
<x>0</x> |
30 |
<y>0</y> |
<y>0</y> |
31 |
<width>693</width> |
<width>737</width> |
32 |
<height>43</height> |
<height>46</height> |
33 |
</rect> |
</rect> |
34 |
</property> |
</property> |
35 |
<property name="sizePolicy"> |
<property name="sizePolicy"> |
126 |
<property name="margin"> |
<property name="margin"> |
127 |
<number>2</number> |
<number>2</number> |
128 |
</property> |
</property> |
129 |
<widget class="QLabel" row="1" column="0" rowspan="1" colspan="2"> |
<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"> |
<property name="name"> |
166 |
<cstring>InstrumentNameTextLabel</cstring> |
<cstring>InstrumentNameTextLabel</cstring> |
167 |
</property> |
</property> |
182 |
<string>--</string> |
<string>--</string> |
183 |
</property> |
</property> |
184 |
<property name="toolTip" stdset="0"> |
<property name="toolTip" stdset="0"> |
185 |
<string>Instrument file [index]</string> |
<string>Instrument name</string> |
186 |
</property> |
</property> |
187 |
</widget> |
</widget> |
188 |
<widget class="QLabel" row="0" column="0"> |
<widget class="QLabel" row="0" column="1"> |
189 |
<property name="name"> |
<property name="name"> |
190 |
<cstring>EngineNameTextLabel</cstring> |
<cstring>MidiPortChannelTextLabel</cstring> |
191 |
</property> |
</property> |
192 |
<property name="sizePolicy"> |
<property name="minimumSize"> |
193 |
<sizepolicy> |
<size> |
194 |
<hsizetype>7</hsizetype> |
<width>20</width> |
195 |
<vsizetype>5</vsizetype> |
<height>0</height> |
196 |
<horstretch>0</horstretch> |
</size> |
|
<verstretch>0</verstretch> |
|
|
</sizepolicy> |
|
197 |
</property> |
</property> |
198 |
<property name="paletteForegroundColor"> |
<property name="paletteForegroundColor"> |
199 |
<color> |
<color> |
209 |
<enum>ParentOrigin</enum> |
<enum>ParentOrigin</enum> |
210 |
</property> |
</property> |
211 |
<property name="text"> |
<property name="text"> |
212 |
<string>--</string> |
<string>--/--</string> |
213 |
</property> |
</property> |
214 |
<property name="alignment"> |
<property name="alignment"> |
215 |
<set>AlignTop</set> |
<set>AlignTop|AlignHCenter</set> |
216 |
</property> |
</property> |
217 |
<property name="toolTip" stdset="0"> |
<property name="toolTip" stdset="0"> |
218 |
<string>Engine name</string> |
<string>MIDI Port/Channel</string> |
219 |
</property> |
</property> |
220 |
</widget> |
</widget> |
221 |
<widget class="QLabel" row="0" column="1"> |
<widget class="QLabel" row="1" column="1"> |
222 |
<property name="name"> |
<property name="name"> |
223 |
<cstring>MidiPortChannelTextLabel</cstring> |
<cstring>InstrumentStatusTextLabel</cstring> |
224 |
</property> |
</property> |
225 |
<property name="minimumSize"> |
<property name="minimumSize"> |
226 |
<size> |
<size> |
230 |
</property> |
</property> |
231 |
<property name="paletteForegroundColor"> |
<property name="paletteForegroundColor"> |
232 |
<color> |
<color> |
233 |
<red>255</red> |
<red>0</red> |
234 |
<green>255</green> |
<green>255</green> |
235 |
<blue>127</blue> |
<blue>0</blue> |
236 |
</color> |
</color> |
237 |
</property> |
</property> |
238 |
<property name="paletteBackgroundPixmap"> |
<property name="paletteBackgroundPixmap"> |
242 |
<enum>ParentOrigin</enum> |
<enum>ParentOrigin</enum> |
243 |
</property> |
</property> |
244 |
<property name="text"> |
<property name="text"> |
245 |
<string>--/--</string> |
<string>--</string> |
246 |
</property> |
</property> |
247 |
<property name="alignment"> |
<property name="alignment"> |
248 |
<set>AlignTop</set> |
<set>AlignCenter</set> |
249 |
</property> |
</property> |
250 |
<property name="toolTip" stdset="0"> |
<property name="toolTip" stdset="0"> |
251 |
<string>MIDI Port/Channel</string> |
<string>Instrument load status</string> |
252 |
</property> |
</property> |
253 |
</widget> |
</widget> |
254 |
</grid> |
</grid> |
255 |
</widget> |
</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>&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>&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"> |
<widget class="QSlider"> |
303 |
<property name="name"> |
<property name="name"> |
304 |
<cstring>VolumeSlider</cstring> |
<cstring>VolumeSlider</cstring> |
305 |
</property> |
</property> |
306 |
<property name="minimumSize"> |
<property name="minimumSize"> |
307 |
<size> |
<size> |
308 |
<width>180</width> |
<width>120</width> |
309 |
<height>0</height> |
<height>0</height> |
310 |
</size> |
</size> |
311 |
</property> |
</property> |
341 |
<height>32767</height> |
<height>32767</height> |
342 |
</size> |
</size> |
343 |
</property> |
</property> |
344 |
|
<property name="suffix"> |
345 |
|
<string> %</string> |
346 |
|
</property> |
347 |
<property name="maxValue"> |
<property name="maxValue"> |
348 |
<number>100</number> |
<number>100</number> |
349 |
</property> |
</property> |
438 |
<slot>channelSetup()</slot> |
<slot>channelSetup()</slot> |
439 |
</connection> |
</connection> |
440 |
<connection> |
<connection> |
441 |
|
<sender>ChannelMutePushButton</sender> |
442 |
|
<signal>toggled(bool)</signal> |
443 |
|
<receiver>qsamplerChannelStrip</receiver> |
444 |
|
<slot>channelMute(bool)</slot> |
445 |
|
</connection> |
446 |
|
<connection> |
447 |
|
<sender>ChannelSoloPushButton</sender> |
448 |
|
<signal>toggled(bool)</signal> |
449 |
|
<receiver>qsamplerChannelStrip</receiver> |
450 |
|
<slot>channelSolo(bool)</slot> |
451 |
|
</connection> |
452 |
|
<connection> |
453 |
<sender>VolumeSlider</sender> |
<sender>VolumeSlider</sender> |
454 |
<signal>valueChanged(int)</signal> |
<signal>valueChanged(int)</signal> |
455 |
<receiver>qsamplerChannelStrip</receiver> |
<receiver>qsamplerChannelStrip</receiver> |
464 |
</connections> |
</connections> |
465 |
<tabstops> |
<tabstops> |
466 |
<tabstop>ChannelSetupPushButton</tabstop> |
<tabstop>ChannelSetupPushButton</tabstop> |
467 |
|
<tabstop>ChannelMutePushButton</tabstop> |
468 |
|
<tabstop>ChannelSoloPushButton</tabstop> |
469 |
<tabstop>VolumeSlider</tabstop> |
<tabstop>VolumeSlider</tabstop> |
470 |
<tabstop>VolumeSpinBox</tabstop> |
<tabstop>VolumeSpinBox</tabstop> |
471 |
</tabstops> |
</tabstops> |
472 |
<includes> |
<includes> |
473 |
<include location="global" impldecl="in declaration">lscp/client.h</include> |
<include location="local" impldecl="in declaration">qsamplerChannel.h</include> |
|
<include location="local" impldecl="in implementation">qsamplerChannelStrip.ui.h</include> |
|
474 |
</includes> |
</includes> |
|
<forwards> |
|
|
<forward>class qsamplerOptions;</forward> |
|
|
<forward>class qsamplerMainForm;</forward> |
|
|
</forwards> |
|
475 |
<variables> |
<variables> |
476 |
<variable access="private">qsamplerMainForm *m_pMainForm;</variable> |
<variable access="private">qsamplerChannel *m_pChannel;</variable> |
|
<variable access="private">int m_iChannelID;</variable> |
|
|
<variable access="private">QString m_sEngineName;</variable> |
|
|
<variable access="private">QString m_sInstrumentFile;</variable> |
|
|
<variable access="private">int m_iInstrumentNr;</variable> |
|
|
<variable access="private">QString m_sMidiDriver;</variable> |
|
|
<variable access="private">int m_iMidiDevice;</variable> |
|
|
<variable access="private">int m_iMidiPort;</variable> |
|
|
<variable access="private">int m_iMidiChannel;</variable> |
|
|
<variable access="private">QString m_sAudioDriver;</variable> |
|
|
<variable access="private">int m_iAudioDevice;</variable> |
|
|
<variable access="private">float m_fVolume;</variable> |
|
477 |
<variable access="private">int m_iDirtyChange;</variable> |
<variable access="private">int m_iDirtyChange;</variable> |
478 |
|
<variable access="private">int m_iErrorCount;</variable> |
479 |
</variables> |
</variables> |
480 |
<signals> |
<signals> |
481 |
<signal>channelChanged( qsamplerChannelStrip * )</signal> |
<signal>channelChanged( qsamplerChannelStrip * )</signal> |
482 |
</signals> |
</signals> |
483 |
<slots> |
<slots> |
484 |
<slot specifier="non virtual">channelSetup()</slot> |
<slot specifier="non virtual" returnType="bool">channelSetup()</slot> |
485 |
|
<slot specifier="non virtual" returnType="bool">channelMute( bool bMute )</slot> |
486 |
|
<slot specifier="non virtual" returnType="bool">channelSolo( bool bSolo )</slot> |
487 |
|
<slot specifier="non virtual" returnType="bool">channelReset()</slot> |
488 |
<slot specifier="non virtual">volumeChanged(int)</slot> |
<slot specifier="non virtual">volumeChanged(int)</slot> |
489 |
</slots> |
</slots> |
490 |
<functions> |
<functions> |
491 |
<function access="private" specifier="non virtual">init()</function> |
<function access="private" specifier="non virtual">init()</function> |
492 |
<function access="private" specifier="non virtual">destroy()</function> |
<function access="private" specifier="non virtual">destroy()</function> |
493 |
<function specifier="non virtual">setup( qsamplerMainForm *pMainForm, int iChannelID )</function> |
<function access="private" specifier="non virtual" returnType="bool">decodeDragFile( const QMimeSource * pEvent, QString & sInstrumentFile )</function> |
494 |
<function specifier="non virtual" returnType="qsamplerOptions *">options( void )</function> |
<function access="private" specifier="non virtual">dragEnterEvent( QDragEnterEvent *pDragEnterEvent )</function> |
495 |
<function specifier="non virtual" returnType="lscp_client_t *">client( void )</function> |
<function access="private" specifier="non virtual">dropEvent( QDropEvent *pDropEvent )</function> |
496 |
<function specifier="non virtual" returnType="int">channelID( void )</function> |
<function access="private" specifier="non virtual">contextMenuEvent( QContextMenuEvent *pEvent )</function> |
497 |
<function specifier="non virtual">setChannelID( int iChannelID )</function> |
<function specifier="non virtual">setup( qsamplerChannel *pChannel )</function> |
498 |
<function specifier="non virtual" returnType="QString&">engineName( void )</function> |
<function specifier="non virtual" returnType="qsamplerChannel *">channel ( void )</function> |
|
<function specifier="non virtual" returnType="bool">loadEngine( const QString& sEngineName )</function> |
|
|
<function specifier="non virtual" returnType="QString&">instrumentFile( void )</function> |
|
|
<function specifier="non virtual" returnType="int">instrumentNr( void )</function> |
|
|
<function specifier="non virtual" returnType="bool">loadInstrument( const QString& sInstrumentFile, int iInstrumentNr )</function> |
|
|
<function specifier="non virtual" returnType="QString&">midiDriver( void )</function> |
|
|
<function specifier="non virtual" returnType="bool">setMidiDriver( const QString& sMidiDriver )</function> |
|
|
<function specifier="non virtual" returnType="int">midiDevice( void )</function> |
|
|
<function specifier="non virtual" returnType="bool">setMidiDevice( int iMidiDevice )</function> |
|
|
<function specifier="non virtual" returnType="int">midiPort( void )</function> |
|
|
<function specifier="non virtual" returnType="bool">setMidiPort( int iMidiPort )</function> |
|
|
<function specifier="non virtual" returnType="int">midiChannel( void )</function> |
|
|
<function specifier="non virtual" returnType="bool">setMidiChannel( int iMidiChannel )</function> |
|
|
<function specifier="non virtual" returnType="int">audioDevice( void )</function> |
|
|
<function specifier="non virtual" returnType="bool">setAudioDevice( int iAudioDevice )</function> |
|
|
<function specifier="non virtual" returnType="QString&">audioDriver( void )</function> |
|
|
<function specifier="non virtual" returnType="bool">setAudioDriver( const QString& sAudioDriver )</function> |
|
|
<function specifier="non virtual" returnType="float">volume( void )</function> |
|
|
<function specifier="non virtual" returnType="bool">setVolume( float fVolume )</function> |
|
499 |
<function specifier="non virtual" returnType="QFont">displayFont( void )</function> |
<function specifier="non virtual" returnType="QFont">displayFont( void )</function> |
500 |
<function specifier="non virtual">setDisplayFont( const QFont & font )</function> |
<function specifier="non virtual">setDisplayFont( const QFont & font )</function> |
501 |
<function specifier="non virtual">updateChannelInfo( void )</function> |
<function specifier="non virtual">setDisplayEffect( bool bDisplayEffect )</function> |
502 |
<function specifier="non virtual">updateChannelVolume( void )</function> |
<function specifier="non virtual">setDisplayBackground( const QPixmap & pm )</function> |
503 |
<function specifier="non virtual">updateChannelUsage( void )</function> |
<function specifier="non virtual">setMaxVolume( int iMaxVolume )</function> |
504 |
<function specifier="non virtual">appendMessages( const QString & s )</function> |
<function specifier="non virtual" returnType="bool">updateInstrumentName( bool bForce )</function> |
505 |
<function specifier="non virtual">appendMessagesColor( const QString & s, const QString & c )</function> |
<function specifier="non virtual" returnType="bool">updateChannelVolume( void )</function> |
506 |
<function specifier="non virtual">appendMessagesText( const QString & s )</function> |
<function specifier="non virtual" returnType="bool">updateChannelInfo( void )</function> |
507 |
<function specifier="non virtual">appendMessagesError( const QString & s )</function> |
<function specifier="non virtual" returnType="bool">updateChannelUsage( void )</function> |
508 |
<function specifier="non virtual">appendMessagesClient( const QString & s )</function> |
<function specifier="non virtual">resetErrorCount( void )</function> |
509 |
</functions> |
</functions> |
510 |
<pixmapinproject/> |
<pixmapinproject/> |
511 |
<layoutdefaults spacing="0" margin="0"/> |
<layoutdefaults spacing="0" margin="0"/> |