--- qsampler/trunk/src/qsamplerChannelStrip.ui 2004/06/09 20:24:48 119 +++ qsampler/trunk/src/qsamplerChannelStrip.ui 2007/11/24 13:22:00 1520 @@ -1,8 +1,9 @@ - -qsamplerChannelStrip -qsampler - A LinuxSampler Qt GUI Interface. + + rncbc aka Rui Nuno Capela + 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. + Copyright (C) 2007, Christian Schoenebeck This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License @@ -14,438 +15,381 @@ 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 - - - qsamplerChannelStrip - - - - 0 - 0 - 694 - 49 - - - - - 7 - 1 - 0 - 0 - - - - Channel - - - qsamplerChannel.png - - - StrongFocus - - - - unnamed - - - 4 - - - 4 - - - - ChannelSetupPushButton - - - &Channel - - - Alt+C - - - qsamplerChannel.png - - - true - - - Channel setup - - - - - ChannelInfoFrame - - - - 5 - 5 - 0 - 0 - - - - - 200 - 0 - - - - - 320 - 64 - - - - - 0 - 0 - 0 - - - - displaybg1.png - - - Panel - - - Sunken - - - - unnamed - - - 2 - - - - InstrumentNameTextLabel - - - - 0 - 255 - 0 - - - - displaybg1.png - - - ParentOrigin - - - -- - - - Instrument file [index] - - - - - EngineNameTextLabel - - - - 7 - 5 - 0 - 0 - - - - - 255 - 255 - 127 - - - - displaybg1.png - - - ParentOrigin - - - -- - - - AlignTop - - - Engine name - - - - - MidiPortChannelTextLabel - - - - 20 - 0 - - - - - 255 - 255 - 127 - - - - displaybg1.png - - - ParentOrigin - - - --/-- - - - AlignTop - - - MIDI Port/Channel - - - - - - - VolumeSlider - - - - 180 - 0 - - - - 100 - - - Horizontal - - - Both - - - 10 - - - Channel volume - - - - - VolumeSpinBox - - - - 40 - 0 - - - - - 60 - 32767 - - - - % - - - 100 - - - Channel volume - - - - - StreamUsageProgressBar - - - - 1 - 0 - 0 - 0 - - - - - 100 - 0 - - - - - 32767 - 22 - - - - false - - - Least buffer fill stream usage (%) - - - - - StreamVoiceCountTextLabel - - - - 60 - 0 - - - - - 32767 - 22 - - - - - 0 - 255 - 0 - - - - - 0 - 0 - 0 - - - - Panel - - - Sunken - - - --/-- - - - AlignCenter - - - Stream / Voice count - - - - - - - ChannelSetupPushButton - clicked() - qsamplerChannelStrip - channelSetup() - - - VolumeSlider - valueChanged(int) - qsamplerChannelStrip - volumeChanged(int) - - - VolumeSpinBox - valueChanged(int) - qsamplerChannelStrip - volumeChanged(int) - - - - ChannelSetupPushButton - VolumeSlider - VolumeSpinBox - - - lscp/client.h - qsamplerChannelStrip.ui.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; - int m_iDirtyChange; - - - channelChanged( qsamplerChannelStrip * ) - - - channelSetup() - 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 ) - 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 ) - setMaxVolume( int iMaxVolume ) - - - - + qsamplerChannelStrip + + + + 0 + 0 + 795 + 56 + + + + + 7 + 1 + 0 + 0 + + + + Qt::StrongFocus + + + Qsampler: Channel + + + :/icons/qsamplerChannel.png + + + + 4 + + + 4 + + + + + + 100 + 0 + + + + + 120 + 32 + + + + Channel setup + + + &Channel + + + :/icons/qsamplerChannel.png + + + Alt+C + + + + + + + + 5 + 5 + 0 + 0 + + + + + 180 + 0 + + + + + 320 + 64 + + + + true + + + QFrame::StyledPanel + + + QFrame::Sunken + + + + 2 + + + 0 + + + + + + 7 + 5 + 0 + 0 + + + + + + + + Instrument name + + + -- + + + false + + + + + + + + 20 + 0 + + + + MIDI port / channel + + + -- / -- + + + Qt::AlignHCenter|Qt::AlignTop + + + false + + + + + + + + 20 + 0 + + + + Instrument load status + + + -- + + + Qt::AlignCenter + + + false + + + + + + + + + + + 48 + 32 + + + + Channel mute + + + &Mute + + + Alt+M + + + true + + + + + + + + 48 + 32 + + + + Channel solo + + + &Solo + + + Alt+S + + + true + + + + + + + + 100 + 0 + + + + + 32767 + 32 + + + + Channel volume + + + 100 + + + Qt::Horizontal + + + QSlider::TicksBothSides + + + 10 + + + + + + + + 60 + 0 + + + + + 120 + 24 + + + + Channel volume + + + % + + + 100 + + + + + + + + 48 + 32 + + + + Edit channel's instrument + + + &Edit + + + Alt+E + + + + + + + + 1 + 0 + 0 + 0 + + + + + 64 + 0 + + + + + 32767 + 24 + + + + Least buffer fill stream usage (%) + + + Qt::Horizontal + + + + + + + + 48 + 0 + + + + + 32767 + 32 + + + + Stream / Voice count + + + true + + + QFrame::StyledPanel + + + QFrame::Sunken + + + --/-- + + + Qt::AlignCenter + + + false + + + + + + + + ChannelSetupPushButton + ChannelMutePushButton + ChannelSoloPushButton + VolumeSlider + VolumeSpinBox + ChannelEditPushButton + + + + +