--- qsampler/trunk/src/qsamplerChannelStrip.ui 2004/10/06 15:42:59 267 +++ qsampler/trunk/src/qsamplerChannelStrip.ui 2007/10/01 22:03:35 1367 @@ -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 + 795 + 56 @@ -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 @@ -305,6 +351,23 @@ Channel volume + + + ChannelEditPushButton + + + + 48 + 64 + + + + &Edit + + + Alt+E + + StreamUsageProgressBar @@ -392,6 +455,18 @@ channelSetup() + ChannelMutePushButton + toggled(bool) + qsamplerChannelStrip + channelMute(bool) + + + ChannelSoloPushButton + toggled(bool) + qsamplerChannelStrip + channelSolo(bool) + + VolumeSlider valueChanged(int) qsamplerChannelStrip @@ -403,9 +478,17 @@ qsamplerChannelStrip volumeChanged(int) + + ChannelEditPushButton + clicked() + qsamplerChannelStrip + channelEdit() + ChannelSetupPushButton + ChannelMutePushButton + ChannelSoloPushButton VolumeSlider VolumeSpinBox @@ -414,32 +497,40 @@ qsamplerChannelStrip.ui.h - qsamplerMainForm *m_pMainForm; qsamplerChannel *m_pChannel; int m_iDirtyChange; + int m_iErrorCount; channelChanged( qsamplerChannelStrip * ) - volumeChanged(int) - channelSetup() + channelSetup() + channelMute( bool bMute ) + channelSolo( bool bSolo ) + channelEdit() + channelReset() + volumeChanged( int iVolume ) init() destroy() - setup( qsamplerMainForm *pMainForm, int iChannelID ) - channel ( void ) - displayFont( void ) + decodeDragFile( const QMimeSource * pEvent, QString & sInstrumentFile ) + dragEnterEvent( QDragEnterEvent * pDragEnterEvent ) + dropEvent( QDropEvent * pDropEvent ) + setup( qsamplerChannel * pChannel ) + channel() + displayFont() setDisplayFont( const QFont & font ) setDisplayEffect( bool bDisplayEffect ) setDisplayBackground( const QPixmap & pm ) - updateChannelInfo( void ) - updateChannelVolume( void ) - updateChannelUsage( void ) - contextMenuEvent( QContextMenuEvent *pEvent ) setMaxVolume( int iMaxVolume ) - showChannelSetup( bool bNew ) + updateInstrumentName( bool bForce ) + updateChannelVolume() + updateChannelInfo() + updateChannelUsage() + contextMenuEvent( QContextMenuEvent * pEvent ) + resetErrorCount()