--- qsampler/trunk/src/qsamplerMainForm.ui 2004/09/29 13:12:45 264 +++ qsampler/trunk/src/qsamplerMainForm.ui 2006/12/21 14:55:05 996 @@ -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-2006, 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 @@ -29,7 +29,7 @@ 0 0 472 - 293 + 296 @@ -39,7 +39,7 @@ - qsampler + Qsampler qsampler.png @@ -75,6 +75,7 @@ + @@ -82,6 +83,8 @@ + + @@ -109,6 +112,9 @@ + + + @@ -121,7 +127,9 @@ + + @@ -263,7 +271,7 @@ Restart sampler instance - Shift+Ctrl+R + Ctrl+Shift+R @@ -331,45 +339,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 +385,29 @@ + editSetupChannelAction + + + editSetupChannel.png + + + Setup + + + &Setup Channel... + + + Setup channel + + + Setup current sampler channel + + + F2 + + + + viewMenubarAction @@ -469,6 +500,58 @@ + viewInstrumentsAction + + + qsamplerInstrument.png + + + true + + + Instruments + + + &Instruments + + + MIDI instruments configuration + + + Show/hide the MIDI instruments configuration window + + + F10 + + + + + viewDevicesAction + + + qsamplerDevice.png + + + true + + + Devices + + + &Devices + + + Device configuration + + + Show/hide the device configuration window + + + F11 + + + + viewOptionsAction @@ -510,7 +593,7 @@ Line up all channel strips - F10 + F5 @@ -639,6 +722,12 @@ editResetChannel() + editResetAllChannelsAction + activated() + qsamplerMainForm + editResetAllChannels() + + viewMenubarAction toggled(bool) qsamplerMainForm @@ -663,6 +752,18 @@ viewMessages(bool) + viewInstrumentsAction + activated() + qsamplerMainForm + viewInstruments() + + + viewDevicesAction + activated() + qsamplerMainForm + viewDevices() + + viewOptionsAction activated() qsamplerMainForm @@ -692,12 +793,6 @@ qsamplerMainForm helpAboutQt() - - channelsMenu - aboutToShow() - qsamplerMainForm - channelsMenuAboutToShow() - lscp/client.h @@ -711,6 +806,8 @@ class qsamplerChannel; class qsamplerMessages; class qsamplerChannelStrip; + class qsamplerInstrumentListForm; + class qsamplerDeviceForm; qsamplerOptions *m_pOptions; @@ -724,33 +821,41 @@ int m_iStartDelay; int m_iTimerDelay; int m_iTimerSlot; - QLabel *m_status[5]; + QLabel *m_statusItem[5]; QPopupMenu *m_pRecentFilesMenu; + QPtrList<qsamplerChannelStrip> m_changedStrips; + qsamplerInstrumentListForm *m_pInstrumentListForm; + qsamplerDeviceForm *m_pDeviceForm; + static qsamplerMainForm *g_pMainForm; fileNew( void ) fileOpen( void ) + fileOpenRecent( int iIndex ) fileSave( void ) fileSaveAs( void ) fileReset( void ) fileRestart( void ) fileExit( void ) - fileOpenRecent( int iIndex ) editAddChannel( void ) editRemoveChannel( void ) editSetupChannel( void ) editResetChannel( void ) + editResetAllChannels( void ) viewMenubar( bool bOn ) viewToolbar( bool bOn ) viewStatusbar( bool bOn ) viewMessages( bool bOn ) + viewInstruments( void ) + viewDevices( void ) viewOptions( void ) channelsArrange( void ) channelsAutoArrange( bool bOn ) helpAboutQt( void ) helpAbout( void ) + sessionDirty( void ) stabilizeForm( void ) - channelStripChanged( qsamplerChannelStrip * ) + channelStripChanged( qsamplerChannelStrip *pChannelStrip ) channelsMenuAboutToShow() channelsMenuActivated( int iChannel ) timerSlot( void ) @@ -763,6 +868,7 @@ setup( qsamplerOptions * pOptions ) queryClose( void ) closeEvent( QCloseEvent * pCloseEvent ) + decodeDragFiles( const QMimeSource * pEvent, QStringList & files ) dragEnterEvent( QDragEnterEvent *pDragEnterEvent ) dropEvent( QDropEvent *pDropEvent ) customEvent( QCustomEvent *pCustomEvent ) @@ -774,11 +880,15 @@ openSession( void ) saveSession( bool bPrompt ) closeSession( bool bForce ) + resetSession( void ) 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 ) @@ -788,15 +898,17 @@ updateMessagesFont( void ) updateMessagesLimit( void ) updateMessagesCapture( void ) - createChannel( int iChannelID, bool bPrompt ) + createChannelStrip( qsamplerChannel *pChannel ) activeChannelStrip( void ) channelStripAt( int iChannel ) + channelStrip( int iChannelID ) startSchedule( int iStartDelay ) stopSchedule( void ) startServer( void ) stopServer( void ) startClient( void ) stopClient( void ) + getInstance( void )