--- qsampler/trunk/src/qsamplerChannelStrip.ui 2004/09/29 07:43:26 261 +++ qsampler/trunk/src/qsamplerChannelStrip.ui 2007/01/10 19:39:00 1018 @@ -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-2007, 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 @@ -14,9 +14,9 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. rncbc aka Rui Nuno Capela @@ -28,8 +28,8 @@ 0 0 - 694 - 47 + 720 + 48 @@ -41,7 +41,7 @@ - Channel + Qsampler: Channel qsamplerChannel.png @@ -182,7 +182,7 @@ -- - Instrument file [index] + Instrument name @@ -209,13 +209,13 @@ ParentOrigin - --/-- + -- / -- AlignTop|AlignHCenter - MIDI Port/Channel + MIDI port / channel @@ -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 @@ -386,6 +432,24 @@ + ChannelSetupPushButton + clicked() + qsamplerChannelStrip + channelSetup() + + + ChannelMutePushButton + toggled(bool) + qsamplerChannelStrip + channelMute(bool) + + + ChannelSoloPushButton + toggled(bool) + qsamplerChannelStrip + channelSolo(bool) + + VolumeSlider valueChanged(int) qsamplerChannelStrip @@ -400,81 +464,48 @@ ChannelSetupPushButton + ChannelMutePushButton + ChannelSoloPushButton VolumeSlider VolumeSpinBox - lscp/client.h - lscp/device.h - qsamplerChannelStrip.ui.h + qsamplerChannel.h - - class qsamplerOptions; - class qsamplerMainForm; - - qsamplerMainForm *m_pMainForm; - int m_iChannelID; - QString m_sEngineName; - QString m_sInstrumentFile; - int m_iInstrumentNr; - int m_iInstrumentStatus; - QString m_sMidiDriver; - int m_iMidiDevice; - int m_iMidiPort; - int m_iMidiChannel; - QString m_sAudioDriver; - int m_iAudioDevice; - float m_fVolume; + qsamplerChannel *m_pChannel; int m_iDirtyChange; + int m_iErrorCount; channelChanged( qsamplerChannelStrip * ) + channelSetup() + channelMute( bool bMute ) + channelSolo( bool bSolo ) + channelReset() volumeChanged(int) - channelSetup(bool bNew = false) init() destroy() - setup( qsamplerMainForm *pMainForm, int iChannelID ) - options( void ) - client( void ) - channelID( void ) - setChannelID( int iChannelID ) - engineName( void ) - loadEngine( const QString& sEngineName ) - instrumentFile( void ) - instrumentNr( void ) - instrumentStatus( void ) - loadInstrument( const QString& sInstrumentFile, int iInstrumentNr ) - midiDriver( void ) - setMidiDriver( const QString& sMidiDriver ) - midiDevice( void ) - setMidiDevice( int iMidiDevice ) - midiPort( void ) - setMidiPort( int iMidiPort ) - midiChannel( void ) - setMidiChannel( int iMidiChannel ) - audioDevice( void ) - setAudioDevice( int iAudioDevice ) - audioDriver( void ) - setAudioDriver( const QString& sAudioDriver ) - volume( void ) - setVolume( float fVolume ) + 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 ) - updateChannelInfo( void ) - updateChannelVolume( void ) - updateChannelUsage( void ) - appendMessages( const QString & s ) - appendMessagesColor( const QString & s, const QString & c ) - appendMessagesText( const QString & s ) - appendMessagesError( const QString & s ) - appendMessagesClient( const QString & s ) - contextMenuEvent( QContextMenuEvent *pEvent ) + setDisplayEffect( bool bDisplayEffect ) + setDisplayBackground( const QPixmap & pm ) setMaxVolume( int iMaxVolume ) + updateInstrumentName( bool bForce ) + updateChannelVolume( void ) + updateChannelInfo( void ) + updateChannelUsage( void ) + resetErrorCount( void )