--- qsampler/trunk/src/qsamplerMainForm.ui 2004/06/26 14:27:25 149 +++ qsampler/trunk/src/qsamplerMainForm.ui 2005/02/21 15:02:58 400 @@ -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 @@ + @@ -106,6 +107,7 @@ + @@ -220,6 +222,29 @@ + fileResetAction + + + fileReset.png + + + Reset + + + Rese&t + + + Reset instance + + + Reset sampler instance + + + Ctrl+R + + + + fileRestartAction @@ -238,7 +263,7 @@ Restart sampler instance - Ctrl+R + Shift+Ctrl+R @@ -572,6 +597,12 @@ fileSaveAs() + fileResetAction + activated() + qsamplerMainForm + fileReset() + + fileRestartAction activated() qsamplerMainForm @@ -677,6 +708,7 @@ class QProcess; class QLabel; class qsamplerOptions; + class qsamplerChannel; class qsamplerMessages; class qsamplerChannelStrip; @@ -694,12 +726,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 ) @@ -717,7 +751,7 @@ helpAboutQt( void ) helpAbout( void ) stabilizeForm( void ) - channelChanged( qsamplerChannelStrip * ) + channelStripChanged( qsamplerChannelStrip *pChannelStrip ) channelsMenuAboutToShow() channelsMenuActivated( int iChannel ) timerSlot( void ) @@ -730,6 +764,7 @@ setup( qsamplerOptions * pOptions ) queryClose( void ) closeEvent( QCloseEvent * pCloseEvent ) + decodeDragFiles( const QMimeSource * pEvent, QStringList & files ) dragEnterEvent( QDragEnterEvent *pDragEnterEvent ) dropEvent( QDropEvent *pDropEvent ) customEvent( QCustomEvent *pCustomEvent ) @@ -743,9 +778,12 @@ 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 ) @@ -755,9 +793,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 )