--- qsampler/trunk/src/qsamplerMainForm.ui 2004/11/19 10:18:59 303 +++ qsampler/trunk/src/qsamplerMainForm.ui 2005/03/07 11:09:32 426 @@ -2,7 +2,7 @@ qsamplerMainForm 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 @@ -75,6 +75,7 @@ + @@ -121,7 +122,9 @@ + + @@ -331,45 +334,45 @@ - editSetupChannelAction + editResetChannelAction - editSetupChannel.png + editResetChannel.png - Setup + Reset - &Setup Channel... + Re&set Channel - Setup channel + Reset channel - Setup current sampler channel + Reset current sampler channel - F2 + - editResetChannelAction + editResetAllChannelsAction - editResetChannel.png + editResetAllChannels.png - Reset + Reset All - Re&set Channel + R&eset All Channels - Reset channel + Reset all channels - Reset current sampler channel + Reset all sampler channels @@ -377,6 +380,29 @@ + editSetupChannelAction + + + editSetupChannel.png + + + Setup + + + &Setup Channel... + + + Setup channel + + + Setup current sampler channel + + + F2 + + + + viewMenubarAction @@ -639,6 +665,12 @@ editResetChannel() + editResetAllChannelsAction + activated() + qsamplerMainForm + editResetAllChannels() + + viewMenubarAction toggled(bool) qsamplerMainForm @@ -711,6 +743,7 @@ class qsamplerChannel; class qsamplerMessages; class qsamplerChannelStrip; + class qsamplerDeviceForm; qsamplerOptions *m_pOptions; @@ -719,7 +752,6 @@ QString m_sFilename; int m_iUntitled; int m_iDirtyCount; - int m_iChangeCount; lscp_client_t *m_pClient; QProcess *m_pServer; int m_iStartDelay; @@ -727,6 +759,7 @@ int m_iTimerSlot; QLabel *m_status[5]; QPopupMenu *m_pRecentFilesMenu; + QPtrList<qsamplerChannelStrip> m_changedStrips; fileNew( void ) @@ -741,6 +774,7 @@ editRemoveChannel( void ) editSetupChannel( void ) editResetChannel( void ) + editResetAllChannels( void ) viewMenubar( bool bOn ) viewToolbar( bool bOn ) viewStatusbar( bool bOn ) @@ -751,7 +785,7 @@ helpAboutQt( void ) helpAbout( void ) stabilizeForm( void ) - channelStripChanged( qsamplerChannelStrip * ) + channelStripChanged( qsamplerChannelStrip *pChannelStrip ) channelsMenuAboutToShow() channelsMenuActivated( int iChannel ) timerSlot( void ) @@ -764,6 +798,7 @@ setup( qsamplerOptions * pOptions ) queryClose( void ) closeEvent( QCloseEvent * pCloseEvent ) + decodeDragFiles( const QMimeSource * pEvent, QStringList & files ) dragEnterEvent( QDragEnterEvent *pDragEnterEvent ) dropEvent( QDropEvent *pDropEvent ) customEvent( QCustomEvent *pCustomEvent ) @@ -777,8 +812,10 @@ closeSession( bool bForce ) loadSessionFile( const QString & sFilename ) saveSessionFile( const QString & sFilename ) + updateSession() updateRecentFiles( const QString & sFilename ) updateRecentFilesMenu( void ) + updateInstrumentNames( void ) updateDisplayFont( void ) updateDisplayEffect( void ) updateMaxVolume( void ) @@ -793,6 +830,7 @@ createChannelStrip( qsamplerChannel *pChannel ) activeChannelStrip( void ) channelStripAt( int iChannel ) + channelStrip( int iChannelID ) startSchedule( int iStartDelay ) stopSchedule( void ) startServer( void )