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-2007, 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 |
14 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
15 |
GNU General Public License for more details. |
GNU General Public License for more details. |
16 |
|
|
17 |
You should have received a copy of the GNU General Public License |
You should have received a copy of the GNU General Public License along |
18 |
along with this program; if not, write to the Free Software |
with this program; if not, write to the Free Software Foundation, Inc., |
19 |
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. |
20 |
|
|
21 |
</comment> |
</comment> |
22 |
<author>rncbc aka Rui Nuno Capela</author> |
<author>rncbc aka Rui Nuno Capela</author> |
28 |
<rect> |
<rect> |
29 |
<x>0</x> |
<x>0</x> |
30 |
<y>0</y> |
<y>0</y> |
31 |
<width>694</width> |
<width>795</width> |
32 |
<height>47</height> |
<height>56</height> |
33 |
</rect> |
</rect> |
34 |
</property> |
</property> |
35 |
<property name="sizePolicy"> |
<property name="sizePolicy"> |
41 |
</sizepolicy> |
</sizepolicy> |
42 |
</property> |
</property> |
43 |
<property name="caption"> |
<property name="caption"> |
44 |
<string>Channel</string> |
<string>Qsampler: Channel</string> |
45 |
</property> |
</property> |
46 |
<property name="icon"> |
<property name="icon"> |
47 |
<pixmap>qsamplerChannel.png</pixmap> |
<pixmap>qsamplerChannel.png</pixmap> |
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="1"> |
<widget class="QLabel" row="0" column="1"> |
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|AlignHCenter</set> |
<set>AlignTop|AlignHCenter</set> |
216 |
</property> |
</property> |
217 |
<property name="toolTip" stdset="0"> |
<property name="toolTip" stdset="0"> |
218 |
<string>MIDI Port/Channel</string> |
<string>MIDI port / channel</string> |
219 |
</property> |
</property> |
220 |
</widget> |
</widget> |
221 |
<widget class="QLabel" row="1" column="1"> |
<widget class="QLabel" row="1" column="1"> |
248 |
<set>AlignCenter</set> |
<set>AlignCenter</set> |
249 |
</property> |
</property> |
250 |
<property name="toolTip" stdset="0"> |
<property name="toolTip" stdset="0"> |
251 |
<string>IInstrument load status</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> |
351 |
<string>Channel volume</string> |
<string>Channel volume</string> |
352 |
</property> |
</property> |
353 |
</widget> |
</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>&Edit</string> |
366 |
|
</property> |
367 |
|
<property name="accel"> |
368 |
|
<string>Alt+E</string> |
369 |
|
</property> |
370 |
|
<property name="toolTip" stdset="0"> |
371 |
|
<string>Edit channel</string> |
372 |
|
</property> |
373 |
|
</widget> |
374 |
<widget class="QProgressBar"> |
<widget class="QProgressBar"> |
375 |
<property name="name"> |
<property name="name"> |
376 |
<cstring>StreamUsageProgressBar</cstring> |
<cstring>StreamUsageProgressBar</cstring> |
458 |
<slot>channelSetup()</slot> |
<slot>channelSetup()</slot> |
459 |
</connection> |
</connection> |
460 |
<connection> |
<connection> |
461 |
|
<sender>ChannelMutePushButton</sender> |
462 |
|
<signal>toggled(bool)</signal> |
463 |
|
<receiver>qsamplerChannelStrip</receiver> |
464 |
|
<slot>channelMute(bool)</slot> |
465 |
|
</connection> |
466 |
|
<connection> |
467 |
|
<sender>ChannelSoloPushButton</sender> |
468 |
|
<signal>toggled(bool)</signal> |
469 |
|
<receiver>qsamplerChannelStrip</receiver> |
470 |
|
<slot>channelSolo(bool)</slot> |
471 |
|
</connection> |
472 |
|
<connection> |
473 |
<sender>VolumeSlider</sender> |
<sender>VolumeSlider</sender> |
474 |
<signal>valueChanged(int)</signal> |
<signal>valueChanged(int)</signal> |
475 |
<receiver>qsamplerChannelStrip</receiver> |
<receiver>qsamplerChannelStrip</receiver> |
481 |
<receiver>qsamplerChannelStrip</receiver> |
<receiver>qsamplerChannelStrip</receiver> |
482 |
<slot>volumeChanged(int)</slot> |
<slot>volumeChanged(int)</slot> |
483 |
</connection> |
</connection> |
484 |
|
<connection> |
485 |
|
<sender>ChannelEditPushButton</sender> |
486 |
|
<signal>clicked()</signal> |
487 |
|
<receiver>qsamplerChannelStrip</receiver> |
488 |
|
<slot>channelEdit()</slot> |
489 |
|
</connection> |
490 |
</connections> |
</connections> |
491 |
<tabstops> |
<tabstops> |
492 |
<tabstop>ChannelSetupPushButton</tabstop> |
<tabstop>ChannelSetupPushButton</tabstop> |
493 |
|
<tabstop>ChannelMutePushButton</tabstop> |
494 |
|
<tabstop>ChannelSoloPushButton</tabstop> |
495 |
<tabstop>VolumeSlider</tabstop> |
<tabstop>VolumeSlider</tabstop> |
496 |
<tabstop>VolumeSpinBox</tabstop> |
<tabstop>VolumeSpinBox</tabstop> |
497 |
</tabstops> |
</tabstops> |
500 |
<include location="local" impldecl="in implementation">qsamplerChannelStrip.ui.h</include> |
<include location="local" impldecl="in implementation">qsamplerChannelStrip.ui.h</include> |
501 |
</includes> |
</includes> |
502 |
<variables> |
<variables> |
|
<variable access="private">qsamplerMainForm *m_pMainForm;</variable> |
|
503 |
<variable access="private">qsamplerChannel *m_pChannel;</variable> |
<variable access="private">qsamplerChannel *m_pChannel;</variable> |
504 |
<variable access="private">int m_iDirtyChange;</variable> |
<variable access="private">int m_iDirtyChange;</variable> |
505 |
|
<variable access="private">int m_iErrorCount;</variable> |
506 |
</variables> |
</variables> |
507 |
<signals> |
<signals> |
508 |
<signal>channelChanged( qsamplerChannelStrip * )</signal> |
<signal>channelChanged( qsamplerChannelStrip * )</signal> |
509 |
</signals> |
</signals> |
510 |
<slots> |
<slots> |
|
<slot specifier="non virtual">volumeChanged(int)</slot> |
|
511 |
<slot specifier="non virtual" returnType="bool">channelSetup()</slot> |
<slot specifier="non virtual" returnType="bool">channelSetup()</slot> |
512 |
|
<slot specifier="non virtual" returnType="bool">channelMute( bool bMute )</slot> |
513 |
|
<slot specifier="non virtual" returnType="bool">channelSolo( bool bSolo )</slot> |
514 |
|
<slot>channelEdit()</slot> |
515 |
|
<slot specifier="non virtual" returnType="bool">channelReset()</slot> |
516 |
|
<slot specifier="non virtual">volumeChanged( int iVolume )</slot> |
517 |
</slots> |
</slots> |
518 |
<functions> |
<functions> |
519 |
<function access="private" specifier="non virtual">init()</function> |
<function access="private" specifier="non virtual">init()</function> |
520 |
<function access="private" specifier="non virtual">destroy()</function> |
<function access="private" specifier="non virtual">destroy()</function> |
521 |
<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> |
522 |
<function specifier="non virtual" returnType="qsamplerChannel *">channel ( void )</function> |
<function access="private" specifier="non virtual">dragEnterEvent( QDragEnterEvent * pDragEnterEvent )</function> |
523 |
<function specifier="non virtual" returnType="QFont">displayFont( void )</function> |
<function access="private" specifier="non virtual">dropEvent( QDropEvent * pDropEvent )</function> |
524 |
|
<function specifier="non virtual">setup( qsamplerChannel * pChannel )</function> |
525 |
|
<function specifier="non virtual" returnType="qsamplerChannel *">channel()</function> |
526 |
|
<function specifier="non virtual" returnType="QFont">displayFont()</function> |
527 |
<function specifier="non virtual">setDisplayFont( const QFont & font )</function> |
<function specifier="non virtual">setDisplayFont( const QFont & font )</function> |
528 |
<function specifier="non virtual">setDisplayEffect( bool bDisplayEffect )</function> |
<function specifier="non virtual">setDisplayEffect( bool bDisplayEffect )</function> |
529 |
<function specifier="non virtual">setDisplayBackground( const QPixmap & pm )</function> |
<function specifier="non virtual">setDisplayBackground( const QPixmap & pm )</function> |
|
<function specifier="non virtual" returnType="bool">updateChannelInfo( void )</function> |
|
|
<function specifier="non virtual" returnType="bool">updateChannelVolume( void )</function> |
|
|
<function specifier="non virtual" returnType="bool">updateChannelUsage( void )</function> |
|
|
<function specifier="non virtual">contextMenuEvent( QContextMenuEvent *pEvent )</function> |
|
530 |
<function specifier="non virtual">setMaxVolume( int iMaxVolume )</function> |
<function specifier="non virtual">setMaxVolume( int iMaxVolume )</function> |
531 |
|
<function specifier="non virtual" returnType="bool">updateInstrumentName( bool bForce )</function> |
532 |
|
<function specifier="non virtual" returnType="bool">updateChannelVolume()</function> |
533 |
|
<function specifier="non virtual" returnType="bool">updateChannelInfo()</function> |
534 |
|
<function specifier="non virtual" returnType="bool">updateChannelUsage()</function> |
535 |
|
<function access="private" specifier="non virtual">contextMenuEvent( QContextMenuEvent * pEvent )</function> |
536 |
|
<function specifier="non virtual">resetErrorCount()</function> |
537 |
</functions> |
</functions> |
538 |
<pixmapinproject/> |
<pixmapinproject/> |
539 |
<layoutdefaults spacing="0" margin="0"/> |
<layoutdefaults spacing="0" margin="0"/> |