--- qsampler/trunk/src/qsamplerChannelStrip.ui 2004/11/17 15:41:58 299 +++ qsampler/trunk/src/qsamplerChannelStrip.ui 2005/08/28 15:56:05 761 @@ -2,7 +2,7 @@ qsamplerChannelStrip qsampler - A LinuxSampler Qt GUI Interface. - Copyright (C) 2004, rncbc aka Rui Nuno Capela. All rights reserved. + Copyright (C) 2004-2005, rncbc aka Rui Nuno Capela. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License @@ -28,8 +28,8 @@ 0 0 - 694 - 47 + 737 + 46 @@ -41,7 +41,7 @@ - Channel + Qsampler: Channel qsamplerChannel.png @@ -248,18 +248,64 @@ AlignCenter - IInstrument load status + Instrument load status + + + ChannelMutePushButton + + + + 48 + 64 + + + + &Mute + + + Alt+M + + + true + + + Channel mute + + + + + ChannelSoloPushButton + + + + 48 + 64 + + + + &Solo + + + Alt+S + + + true + + + Channel solo + + VolumeSlider - 180 + 120 0 @@ -392,6 +438,18 @@ channelSetup() + ChannelMutePushButton + toggled(bool) + qsamplerChannelStrip + channelMute(bool) + + + ChannelSoloPushButton + toggled(bool) + qsamplerChannelStrip + channelSolo(bool) + + VolumeSlider valueChanged(int) qsamplerChannelStrip @@ -406,39 +464,48 @@ ChannelSetupPushButton + ChannelMutePushButton + ChannelSoloPushButton VolumeSlider VolumeSpinBox qsamplerChannel.h - qsamplerChannelStrip.ui.h - qsamplerMainForm *m_pMainForm; qsamplerChannel *m_pChannel; int m_iDirtyChange; + int m_iErrorCount; channelChanged( qsamplerChannelStrip * ) - volumeChanged(int) channelSetup() + channelMute( bool bMute ) + channelSolo( bool bSolo ) + channelReset() + volumeChanged(int) init() destroy() - setup( qsamplerMainForm *pMainForm, int iChannelID ) + decodeDragFile( const QMimeSource * pEvent, QString & sInstrumentFile ) + dragEnterEvent( QDragEnterEvent *pDragEnterEvent ) + dropEvent( QDropEvent *pDropEvent ) + contextMenuEvent( QContextMenuEvent *pEvent ) + setup( qsamplerChannel *pChannel ) channel ( void ) displayFont( void ) setDisplayFont( const QFont & font ) setDisplayEffect( bool bDisplayEffect ) setDisplayBackground( const QPixmap & pm ) - updateChannelInfo( void ) + setMaxVolume( int iMaxVolume ) + updateInstrumentName( bool bForce ) updateChannelVolume( void ) + updateChannelInfo( void ) updateChannelUsage( void ) - contextMenuEvent( QContextMenuEvent *pEvent ) - setMaxVolume( int iMaxVolume ) + resetErrorCount( void )