comparison main/MainWindow.h @ 70:e269ae6ed008

* When adding a layer, make it the selected layer on that pane * More OSC support, including transforms
author Chris Cannam
date Fri, 10 Nov 2006 17:45:26 +0000
parents 76cc2c424268
children 34dc23246f46
comparison
equal deleted inserted replaced
69:76cc2c424268 70:e269ae6ed008
55 class MainWindow : public QMainWindow 55 class MainWindow : public QMainWindow
56 { 56 {
57 Q_OBJECT 57 Q_OBJECT
58 58
59 public: 59 public:
60 MainWindow(bool withAudioOutput = true); 60 MainWindow(bool withAudioOutput = true,
61 bool withOSCSupport = true);
61 virtual ~MainWindow(); 62 virtual ~MainWindow();
62 63
63 enum AudioFileOpenMode { 64 enum AudioFileOpenMode {
64 ReplaceMainModel, 65 ReplaceMainModel,
65 CreateAdditionalModel, 66 CreateAdditionalModel,
239 QMenu *m_rightButtonMenu; 240 QMenu *m_rightButtonMenu;
240 QMenu *m_rightButtonLayerMenu; 241 QMenu *m_rightButtonLayerMenu;
241 QMenu *m_rightButtonTransformsMenu; 242 QMenu *m_rightButtonTransformsMenu;
242 243
243 bool m_documentModified; 244 bool m_documentModified;
245 bool m_openingAudioFile;
246 bool m_abandoning;
244 247
245 QPointer<PreferencesDialog> m_preferencesDialog; 248 QPointer<PreferencesDialog> m_preferencesDialog;
246 249
247 WaveFileModel *getMainModel(); 250 WaveFileModel *getMainModel();
248 void createDocument(); 251 void createDocument();