comparison main/MainWindow.h @ 677:bfd68cc71a25 imaf_enc

Merge from default branch, fix build
author Chris Cannam
date Thu, 05 Dec 2013 10:57:51 +0000
parents f45af8d8091e d4f908163c60
children 5e6e1e074080
comparison
equal deleted inserted replaced
676:dabe6e994a9c 677:bfd68cc71a25
14 */ 14 */
15 15
16 #ifndef _MAIN_WINDOW_H_ 16 #ifndef _MAIN_WINDOW_H_
17 #define _MAIN_WINDOW_H_ 17 #define _MAIN_WINDOW_H_
18 18
19 #include <QFrame>
20 #include <QString>
21 #include <QUrl>
22 #include <QPointer>
23
24 #include "framework/MainWindowBase.h" 19 #include "framework/MainWindowBase.h"
25 #include "base/Command.h" 20
26 #include "view/ViewManager.h" 21 class VersionTester;
27 #include "base/PropertyContainer.h" 22 class Surveyer;
28 #include "base/RecentFiles.h" 23 class LayerTreeDialog;
29 #include "layer/LayerFactory.h"
30 #include "transform/Transform.h"
31 #include "framework/SVFileReader.h"
32 #include "data/fileio/FileFinder.h"
33 #include "data/fileio/FileSource.h"
34 #include "widgets/LayerTreeDialog.h"
35 #include <map>
36
37 class Document;
38 class PaneStack;
39 class Pane;
40 class View;
41 class Fader;
42 class Overview;
43 class Layer;
44 class WaveformLayer;
45 class WaveFileModel;
46 class AudioCallbackPlaySource;
47 class AudioCallbackPlayTarget;
48 class CommandHistory;
49 class QMenu;
50 class AudioDial;
51 class QLabel;
52 class QCheckBox;
53 class PreferencesDialog;
54 class QTreeView;
55 class QPushButton;
56 class OSCQueue;
57 class OSCMessage;
58 class KeyReference;
59 class Labeller;
60 class ActivityLog; 24 class ActivityLog;
25
61 class QFileSystemWatcher; 26 class QFileSystemWatcher;
62 class QScrollArea; 27 class QScrollArea;
63 28
64 class MainWindow : public MainWindowBase 29 class MainWindow : public MainWindowBase
65 { 30 {
249 ActivityLog *m_activityLog; 214 ActivityLog *m_activityLog;
250 KeyReference *m_keyReference; 215 KeyReference *m_keyReference;
251 216
252 QFileSystemWatcher *m_templateWatcher; 217 QFileSystemWatcher *m_templateWatcher;
253 218
219 Surveyer *m_surveyer;
220 VersionTester *m_versionTester;
221
254 struct LayerConfiguration { 222 struct LayerConfiguration {
255 LayerConfiguration(LayerFactory::LayerType _layer 223 LayerConfiguration(LayerFactory::LayerType _layer
256 = LayerFactory::TimeRuler, 224 = LayerFactory::TimeRuler,
257 Model *_source = 0, 225 Model *_source = 0,
258 int _channel = -1) : 226 int _channel = -1) :
259 layer(_layer), sourceModel(_source), channel(_channel) { } 227 layer(_layer), sourceModel(_source), channel(_channel) { }
260 LayerFactory::LayerType layer; 228 LayerFactory::LayerType layer;
261 Model *sourceModel; 229 Model *sourceModel;
262 int channel; 230 int channel;
263 }; 231 };
264 232
265 typedef std::map<QAction *, LayerConfiguration> PaneActionMap; 233 typedef std::map<QAction *, LayerConfiguration> PaneActionMap;
266 PaneActionMap m_paneActions; 234 PaneActionMap m_paneActions;
267 235