/[svn]/qsampler/trunk/src/qsamplerMainForm.h
ViewVC logotype

Diff of /qsampler/trunk/src/qsamplerMainForm.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1558 by capela, Thu Dec 6 09:35:33 2007 UTC revision 2718 by capela, Thu Jan 22 19:01:32 2015 UTC
# Line 1  Line 1 
1  // qsamplerMainForm.h  // qsamplerMainForm.h
2  //  //
3  /****************************************************************************  /****************************************************************************
4     Copyright (C) 2004-2007, rncbc aka Rui Nuno Capela. All rights reserved.     Copyright (C) 2004-2015, rncbc aka Rui Nuno Capela. All rights reserved.
5     Copyright (C) 2007, Christian Schoenebeck     Copyright (C) 2007,2008,2015 Christian Schoenebeck
6    
7     This program is free software; you can redistribute it and/or     This program is free software; you can redistribute it and/or
8     modify it under the terms of the GNU General Public License     modify it under the terms of the GNU General Public License
# Line 28  Line 28 
28  #include <lscp/client.h>  #include <lscp/client.h>
29    
30  class QProcess;  class QProcess;
31  class QWorkspace;  class QMdiArea;
32    class QMdiSubWindow;
33    class QSocketNotifier;
34  class QSpinBox;  class QSpinBox;
35  class QSlider;  class QSlider;
36  class QLabel;  class QLabel;
# Line 68  public: Line 70  public:
70          void appendMessagesError(const QString& s);          void appendMessagesError(const QString& s);
71          void appendMessagesClient(const QString& s);          void appendMessagesClient(const QString& s);
72    
73          ChannelStrip* createChannelStrip(Channel *pChannel);          ChannelStrip *createChannelStrip(Channel *pChannel);
74          ChannelStrip* activeChannelStrip();          void destroyChannelStrip(ChannelStrip *pChannelStrip);
75          ChannelStrip* channelStripAt(int iChannel);          ChannelStrip *activeChannelStrip();
76          ChannelStrip* channelStrip(int iChannelID);          ChannelStrip *channelStripAt(int iChannel);
77            ChannelStrip *channelStrip(int iChannelID);
78    
79          void contextMenuEvent(QContextMenuEvent *pEvent);          void contextMenuEvent(QContextMenuEvent *pEvent);
80    
# Line 114  public slots: Line 117  public slots:
117          void sessionDirty();          void sessionDirty();
118          void stabilizeForm();          void stabilizeForm();
119    
120            void handle_sigusr1();
121    
122  protected slots:  protected slots:
123    
124          void updateRecentFilesMenu();          void updateRecentFilesMenu();
125    
126          // Channel strip activation/selection.          // Channel strip activation/selection.
127          void activateStrip(QWidget *pWidget);          void activateStrip(QMdiSubWindow *pMdiSubWindow);
128    
129            // Channel toolbar orientation change.
130            void channelsToolbarOrientation(Qt::Orientation orientation);
131    
132  protected:  protected:
133    
# Line 143  protected: Line 151  protected:
151          void updateMessagesFont();          void updateMessagesFont();
152          void updateMessagesLimit();          void updateMessagesLimit();
153          void updateMessagesCapture();          void updateMessagesCapture();
154            void updateViewMidiDeviceStatusMenu();
155            void updateAllChannelStrips(bool bRemoveDeadStrips);
156          void startSchedule(int iStartDelay);          void startSchedule(int iStartDelay);
157          void stopSchedule();          void stopSchedule();
158          void startServer();          void startServer();
159          void stopServer();          void stopServer(bool bInteractive = false);
160          bool startClient();          bool startClient();
161          void stopClient();          void stopClient();
162    
# Line 156  private: Line 166  private:
166    
167          Options *m_pOptions;          Options *m_pOptions;
168          Messages *m_pMessages;          Messages *m_pMessages;
169          QWorkspace *m_pWorkspace;          QMdiArea *m_pWorkspace;
170            QSocketNotifier *m_pUsr1Notifier;
171          QString m_sFilename;          QString m_sFilename;
172          int m_iUntitled;          int m_iUntitled;
173          int m_iDirtyCount;          int m_iDirtyCount;
174          lscp_client_t *m_pClient;          lscp_client_t *m_pClient;
175          QProcess *m_pServer;          QProcess *m_pServer;
176            bool bForceServerStop;
177          int m_iStartDelay;          int m_iStartDelay;
178          int m_iTimerDelay;          int m_iTimerDelay;
179          int m_iTimerSlot;          int m_iTimerSlot;

Legend:
Removed from v.1558  
changed lines
  Added in v.2718

  ViewVC Help
Powered by ViewVC