--- qsampler/trunk/src/qsamplerMainForm.ui 2004/06/03 16:43:48 101 +++ qsampler/trunk/src/qsamplerMainForm.ui 2005/02/23 13:47:47 404 @@ -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 @@ -63,6 +63,7 @@ + @@ -74,6 +75,7 @@ + @@ -106,6 +108,7 @@ + @@ -119,7 +122,9 @@ + + @@ -220,6 +225,29 @@ + fileResetAction + + + fileReset.png + + + Reset + + + Rese&t + + + Reset instance + + + Reset sampler instance + + + Ctrl+R + + + + fileRestartAction @@ -238,7 +266,7 @@ Restart sampler instance - Ctrl+R + Shift+Ctrl+R @@ -306,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 @@ -352,6 +380,29 @@ + editSetupChannelAction + + + editSetupChannel.png + + + Setup + + + &Setup Channel... + + + Setup channel + + + Setup current sampler channel + + + F2 + + + + viewMenubarAction @@ -572,6 +623,12 @@ fileSaveAs() + fileResetAction + activated() + qsamplerMainForm + fileReset() + + fileRestartAction activated() qsamplerMainForm @@ -608,6 +665,12 @@ editResetChannel() + editResetAllChannelsAction + activated() + qsamplerMainForm + editResetAllChannels() + + viewMenubarAction toggled(bool) qsamplerMainForm @@ -677,6 +740,7 @@ class QProcess; class QLabel; class qsamplerOptions; + class qsamplerChannel; class qsamplerMessages; class qsamplerChannelStrip; @@ -694,12 +758,14 @@ int m_iTimerSlot; QLabel *m_status[5]; QPopupMenu *m_pRecentFilesMenu; + QPtrList<qsamplerChannelStrip> m_changedStrips; fileNew( void ) fileOpen( void ) fileSave( void ) fileSaveAs( void ) + fileReset( void ) fileRestart( void ) fileExit( void ) fileOpenRecent( int iIndex ) @@ -707,6 +773,7 @@ editRemoveChannel( void ) editSetupChannel( void ) editResetChannel( void ) + editResetAllChannels( void ) viewMenubar( bool bOn ) viewToolbar( bool bOn ) viewStatusbar( bool bOn ) @@ -717,7 +784,7 @@ helpAboutQt( void ) helpAbout( void ) stabilizeForm( void ) - channelChanged( qsamplerChannelStrip * ) + channelStripChanged( qsamplerChannelStrip *pChannelStrip ) channelsMenuAboutToShow() channelsMenuActivated( int iChannel ) timerSlot( void ) @@ -730,8 +797,11 @@ setup( qsamplerOptions * pOptions ) queryClose( void ) closeEvent( QCloseEvent * pCloseEvent ) + decodeDragFiles( const QMimeSource * pEvent, QStringList & files ) dragEnterEvent( QDragEnterEvent *pDragEnterEvent ) dropEvent( QDropEvent *pDropEvent ) + customEvent( QCustomEvent *pCustomEvent ) + contextMenuEvent( QContextMenuEvent *pEvent ) options( void ) client( void ) sessionName( const QString & sFilename ) @@ -741,9 +811,13 @@ 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 ) appendMessages( const QString & s ) appendMessagesColor( const QString & s, const QString & c ) appendMessagesText( const QString & s ) @@ -752,9 +826,10 @@ updateMessagesFont( void ) updateMessagesLimit( void ) updateMessagesCapture( void ) - createChannel( int iChannelID, bool bPrompt ) - activeChannel( void ) - channelAt( int iChannel ) + createChannelStrip( qsamplerChannel *pChannel ) + activeChannelStrip( void ) + channelStripAt( int iChannel ) + channelStrip( int iChannelID ) startSchedule( int iStartDelay ) stopSchedule( void ) startServer( void )