--- qsampler/trunk/src/qsamplerChannelStrip.ui 2004/06/08 18:40:06 118 +++ qsampler/trunk/src/qsamplerChannelStrip.ui 2005/08/19 17:10:16 751 @@ -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 - 693 - 43 + 737 + 46 @@ -126,7 +126,42 @@ 2 - + + + EngineNameTextLabel + + + + 7 + 5 + 0 + 0 + + + + + 255 + 255 + 127 + + + + displaybg1.png + + + ParentOrigin + + + -- + + + AlignTop + + + Engine name + + + InstrumentNameTextLabel @@ -147,20 +182,18 @@ -- - Instrument file [index] + Instrument name - + - EngineNameTextLabel + MidiPortChannelTextLabel - - - 7 - 5 - 0 - 0 - + + + 20 + 0 + @@ -176,18 +209,18 @@ ParentOrigin - -- + --/-- - AlignTop + AlignTop|AlignHCenter - Engine name + MIDI Port/Channel - + - MidiPortChannelTextLabel + InstrumentStatusTextLabel @@ -197,9 +230,9 @@ - 255 + 0 255 - 127 + 0 @@ -209,24 +242,70 @@ ParentOrigin - --/-- + -- - AlignTop + AlignCenter - MIDI Port/Channel + 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 @@ -262,6 +341,9 @@ 32767 + + % + 100 @@ -356,6 +438,18 @@ channelSetup() + ChannelMutePushButton + toggled(bool) + qsamplerChannelStrip + channelMute(bool) + + + ChannelSoloPushButton + toggled(bool) + qsamplerChannelStrip + channelSolo(bool) + + VolumeSlider valueChanged(int) qsamplerChannelStrip @@ -370,77 +464,48 @@ ChannelSetupPushButton + ChannelMutePushButton + ChannelSoloPushButton VolumeSlider VolumeSpinBox - lscp/client.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; - 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() + channelSetup() + channelMute( bool bMute ) + channelSolo( bool bSolo ) + channelReset() volumeChanged(int) 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 ) - 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 )