Mercurial > hg > tony
comparison src/MainWindow.h @ 244:69e6ceb459cd
Add an activity log
author | Chris Cannam |
---|---|
date | Tue, 01 Apr 2014 13:42:34 +0100 |
parents | 6ac45eb0f4c7 |
children | fa329ca6d75e |
comparison
equal
deleted
inserted
replaced
243:3ff0f36c8fc1 | 244:69e6ceb459cd |
---|---|
18 | 18 |
19 #include "framework/MainWindowBase.h" | 19 #include "framework/MainWindowBase.h" |
20 #include "Analyser.h" | 20 #include "Analyser.h" |
21 | 21 |
22 class VersionTester; | 22 class VersionTester; |
23 class ActivityLog; | |
23 | 24 |
24 class MainWindow : public MainWindowBase | 25 class MainWindow : public MainWindowBase |
25 { | 26 { |
26 Q_OBJECT | 27 Q_OBJECT |
27 | 28 |
29 MainWindow(bool withAudioOutput = true, | 30 MainWindow(bool withAudioOutput = true, |
30 bool withOSCSupport = true); | 31 bool withOSCSupport = true); |
31 virtual ~MainWindow(); | 32 virtual ~MainWindow(); |
32 | 33 |
33 signals: | 34 signals: |
34 virtual void canExportPitchTrack(bool); | 35 void canExportPitchTrack(bool); |
35 virtual void canExportNotes(bool); | 36 void canExportNotes(bool); |
36 virtual void canSnapNotes(bool); | 37 void canSnapNotes(bool); |
37 | 38 |
38 public slots: | 39 public slots: |
39 virtual bool commitData(bool mayAskUser); // on session shutdown | 40 virtual bool commitData(bool mayAskUser); // on session shutdown |
40 | 41 |
41 protected slots: | 42 protected slots: |
129 | 130 |
130 virtual void outputLevelsChanged(float, float); | 131 virtual void outputLevelsChanged(float, float); |
131 | 132 |
132 virtual void documentModified(); | 133 virtual void documentModified(); |
133 virtual void documentRestored(); | 134 virtual void documentRestored(); |
135 virtual void documentReplaced(); | |
134 | 136 |
135 virtual void updateMenuStates(); | 137 virtual void updateMenuStates(); |
136 virtual void updateDescriptionLabel(); | 138 virtual void updateDescriptionLabel(); |
137 virtual void updateLayerStatuses(); | 139 virtual void updateLayerStatuses(); |
138 | 140 |
208 | 210 |
209 QLabel *m_waveformStatus; | 211 QLabel *m_waveformStatus; |
210 QLabel *m_pitchStatus; | 212 QLabel *m_pitchStatus; |
211 QLabel *m_notesStatus; | 213 QLabel *m_notesStatus; |
212 | 214 |
215 ActivityLog *m_activityLog; | |
213 KeyReference *m_keyReference; | 216 KeyReference *m_keyReference; |
214 VersionTester *m_versionTester; | 217 VersionTester *m_versionTester; |
215 | 218 |
216 Analyser::FrequencyRange m_pendingConstraint; | 219 Analyser::FrequencyRange m_pendingConstraint; |
217 | 220 |