--- qsampler/trunk/src/qsamplerChannelStrip.ui 2004/09/28 16:17:43 255 +++ qsampler/trunk/src/qsamplerChannelStrip.ui 2007/10/01 18:26:06 1366 @@ -1,8 +1,8 @@ - + 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 + 795 + 56 @@ -41,7 +41,7 @@ - Channel + Qsampler: Channel qsamplerChannel.png @@ -157,9 +157,6 @@ AlignTop - - 4 - Engine name @@ -184,11 +181,8 @@ -- - - 4 - - Instrument file [index] + Instrument name @@ -215,13 +209,13 @@ ParentOrigin - --/-- + -- / -- AlignTop|AlignHCenter - MIDI Port/Channel + MIDI port / channel @@ -254,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 @@ -311,6 +351,23 @@ Channel volume + + + ChannelEditPushButton + + + + 48 + 64 + + + + &Edit + + + Alt+E + + StreamUsageProgressBar @@ -392,6 +449,24 @@ + ChannelSetupPushButton + clicked() + qsamplerChannelStrip + channelSetup() + + + ChannelMutePushButton + toggled(bool) + qsamplerChannelStrip + channelMute(bool) + + + ChannelSoloPushButton + toggled(bool) + qsamplerChannelStrip + channelSolo(bool) + + VolumeSlider valueChanged(int) qsamplerChannelStrip @@ -403,84 +478,59 @@ qsamplerChannelStrip volumeChanged(int) + + ChannelEditPushButton + clicked() + qsamplerChannelStrip + channelEdit() + ChannelSetupPushButton + ChannelMutePushButton + ChannelSoloPushButton VolumeSlider VolumeSpinBox - lscp/client.h - lscp/device.h + qsamplerChannel.h qsamplerChannelStrip.ui.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 * ) - volumeChanged(int) - channelSetup(bool bNew = false) + channelSetup( void ) + channelMute( bool bMute ) + channelSolo( bool bSolo ) + channelEdit() + channelReset( void ) + volumeChanged( int iVolume ) - 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 ) + init( void ) + destroy( void ) + decodeDragFile( const QMimeSource * pEvent, QString & sInstrumentFile ) + dragEnterEvent( QDragEnterEvent * pDragEnterEvent ) + dropEvent( QDropEvent * pDropEvent ) + 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 ) + contextMenuEvent( QContextMenuEvent * pEvent ) + resetErrorCount( void )