comparison framework/MainWindowBase.h @ 571:5369359351cb 3.0-integration

Add record update timer (very crude this)
author Chris Cannam
date Wed, 04 Jan 2017 13:23:18 +0000
parents 6f54789f3127
children 4c1ab4f9e116
comparison
equal deleted inserted replaced
570:6f54789f3127 571:5369359351cb
11 published by the Free Software Foundation; either version 2 of the 11 published by the Free Software Foundation; either version 2 of the
12 License, or (at your option) any later version. See the file 12 License, or (at your option) any later version. See the file
13 COPYING included with this distribution for more information. 13 COPYING included with this distribution for more information.
14 */ 14 */
15 15
16 #ifndef _MAIN_WINDOW_BASE_H_ 16 #ifndef SV_MAIN_WINDOW_BASE_H
17 #define _MAIN_WINDOW_BASE_H_ 17 #define SV_MAIN_WINDOW_BASE_H
18 18
19 #include <QFrame> 19 #include <QFrame>
20 #include <QString> 20 #include <QString>
21 #include <QUrl> 21 #include <QUrl>
22 #include <QMainWindow> 22 #include <QMainWindow>
23 #include <QPointer> 23 #include <QPointer>
24 #include <QThread> 24 #include <QThread>
25 #include <QTimer>
25 26
26 #include "base/Command.h" 27 #include "base/Command.h"
27 #include "view/ViewManager.h" 28 #include "view/ViewManager.h"
28 #include "base/PropertyContainer.h" 29 #include "base/PropertyContainer.h"
29 #include "base/RecentFiles.h" 30 #include "base/RecentFiles.h"
386 bool m_initialDarkBackground; 387 bool m_initialDarkBackground;
387 388
388 RealTime m_defaultFfwdRwdStep; 389 RealTime m_defaultFfwdRwdStep;
389 390
390 AudioRecordMode m_audioRecordMode; 391 AudioRecordMode m_audioRecordMode;
391 392 QTimer m_audioRecordUpdateTimer;
393
392 mutable QLabel *m_statusLabel; 394 mutable QLabel *m_statusLabel;
393 QLabel *getStatusLabel() const; 395 QLabel *getStatusLabel() const;
394 396
395 WaveFileModel *getMainModel(); 397 WaveFileModel *getMainModel();
396 const WaveFileModel *getMainModel() const; 398 const WaveFileModel *getMainModel() const;