Mercurial > hg > tony
comparison src/MainWindow.h @ 522:8f016d8c021a saveall
Add Save All function, as proposed by Yi Ting Tan
author | Chris Cannam |
---|---|
date | Wed, 15 Mar 2017 13:41:33 +0000 |
parents | 25aa28a27252 |
children |
comparison
equal
deleted
inserted
replaced
521:25aa28a27252 | 522:8f016d8c021a |
---|---|
30 public: | 30 public: |
31 MainWindow(SoundOptions options, bool withSonification = true, bool withSpectrogram = true); | 31 MainWindow(SoundOptions options, bool withSonification = true, bool withSpectrogram = true); |
32 virtual ~MainWindow(); | 32 virtual ~MainWindow(); |
33 | 33 |
34 signals: | 34 signals: |
35 void canSaveAll(bool); | |
35 void canExportPitchTrack(bool); | 36 void canExportPitchTrack(bool); |
36 void canExportNotes(bool); | 37 void canExportNotes(bool); |
37 void canSnapNotes(bool); | 38 void canSnapNotes(bool); |
38 void canPlayWaveform(bool); | 39 void canPlayWaveform(bool); |
39 void canPlayPitch(bool); | 40 void canPlayPitch(bool); |
47 virtual void openLocation(); | 48 virtual void openLocation(); |
48 virtual void openRecentFile(); | 49 virtual void openRecentFile(); |
49 virtual void saveSession(); | 50 virtual void saveSession(); |
50 virtual void saveSessionInAudioPath(); | 51 virtual void saveSessionInAudioPath(); |
51 virtual void saveSessionAs(); | 52 virtual void saveSessionAs(); |
53 virtual void saveAll(); | |
52 virtual void exportPitchLayer(); | 54 virtual void exportPitchLayer(); |
53 virtual void exportNoteLayer(); | 55 virtual void exportNoteLayer(); |
54 virtual void importPitchLayer(); | 56 virtual void importPitchLayer(); |
55 virtual void browseRecordedAudio(); | 57 virtual void browseRecordedAudio(); |
56 virtual void newSession(); | 58 virtual void newSession(); |
240 virtual void octaveShift(bool up); | 242 virtual void octaveShift(bool up); |
241 | 243 |
242 virtual void auxSnapNotes(Selection s); | 244 virtual void auxSnapNotes(Selection s); |
243 | 245 |
244 virtual void closeEvent(QCloseEvent *e); | 246 virtual void closeEvent(QCloseEvent *e); |
247 | |
248 bool trySaveSessionInAudioPath(); | |
249 void exportNoteLayerTo(QString path); | |
250 void exportPitchLayerTo(QString path); | |
251 | |
245 bool checkSaveModified(); | 252 bool checkSaveModified(); |
246 bool waitForInitialAnalysis(); | 253 bool waitForInitialAnalysis(); |
247 | 254 |
248 virtual void updateVisibleRangeDisplay(Pane *p) const; | 255 virtual void updateVisibleRangeDisplay(Pane *p) const; |
249 virtual void updatePositionStatusDisplays() const; | 256 virtual void updatePositionStatusDisplays() const; |