--- qsampler/trunk/src/qsamplerChannelStrip.ui 2004/06/08 18:40:06 118
+++ qsampler/trunk/src/qsamplerChannelStrip.ui 2005/02/20 19:13:33 395
@@ -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
+ 694
+ 47
@@ -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,13 +242,13 @@
ParentOrigin
- --/--
+ --
- AlignTop
+ AlignCenter
- MIDI Port/Channel
+ IInstrument load status
@@ -262,6 +295,9 @@
32767
+
+ %
+
100
@@ -374,73 +410,39 @@
VolumeSpinBox
- lscp/client.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;
- 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()
volumeChanged(int)
+ channelSetup()
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 )
+ updateChannelInfo( void )
+ updateChannelVolume( void )
+ updateChannelUsage( void )