Mercurial > hg > svapp
comparison framework/MainWindowBase.h @ 357:337cdb5e5b06 tonioni
Rework menu entries & shortcuts: left/right now move the playhead a fixed amount, ctrl+left/right still move it note-by-note, and now alt+left/right scroll without moving playhead
author | Chris Cannam |
---|---|
date | Thu, 12 Jun 2014 14:24:48 +0100 |
parents | 4969e7921931 |
children | 1f2a4ad79967 |
comparison
equal
deleted
inserted
replaced
356:42a5801da931 | 357:337cdb5e5b06 |
---|---|
109 virtual bool saveSessionFile(QString path); | 109 virtual bool saveSessionFile(QString path); |
110 virtual bool saveSessionTemplate(QString path); | 110 virtual bool saveSessionTemplate(QString path); |
111 | 111 |
112 /// Implementation of FrameTimer interface method | 112 /// Implementation of FrameTimer interface method |
113 virtual unsigned long getFrame() const; | 113 virtual unsigned long getFrame() const; |
114 | |
115 void setDefaultFfwdRwdStep(RealTime step) { | |
116 m_defaultFfwdRwdStep = step; | |
117 } | |
114 | 118 |
115 signals: | 119 signals: |
116 // Used to toggle the availability of menu actions | 120 // Used to toggle the availability of menu actions |
117 void canAddPane(bool); | 121 void canAddPane(bool); |
118 void canDeleteCurrentPane(bool); | 122 void canDeleteCurrentPane(bool); |
329 int m_lastPlayStatusSec; | 333 int m_lastPlayStatusSec; |
330 mutable QString m_myStatusMessage; | 334 mutable QString m_myStatusMessage; |
331 | 335 |
332 bool m_initialDarkBackground; | 336 bool m_initialDarkBackground; |
333 | 337 |
338 RealTime m_defaultFfwdRwdStep; | |
339 | |
334 WaveFileModel *getMainModel(); | 340 WaveFileModel *getMainModel(); |
335 const WaveFileModel *getMainModel() const; | 341 const WaveFileModel *getMainModel() const; |
336 void createDocument(); | 342 void createDocument(); |
337 | 343 |
338 Pane *addPaneToStack(); | 344 Pane *addPaneToStack(); |