comparison main/MainWindow.h @ 207:bb7faed0b2be

* Fix availability of alignment button and relative align/solo button state
author Chris Cannam
date Thu, 01 Nov 2007 16:02:01 +0000
parents b4167bb2d2d4
children 55a4719c8e7d
comparison
equal deleted inserted replaced
206:b4167bb2d2d4 207:bb7faed0b2be
66 MainWindow(bool withAudioOutput = true, 66 MainWindow(bool withAudioOutput = true,
67 bool withOSCSupport = true); 67 bool withOSCSupport = true);
68 virtual ~MainWindow(); 68 virtual ~MainWindow();
69 69
70 signals: 70 signals:
71 virtual void canChangeSolo(bool);
71 virtual void canAlign(bool); 72 virtual void canAlign(bool);
72 73
73 public slots: 74 public slots:
74 virtual void preferenceChanged(PropertyContainer::PropertyName); 75 virtual void preferenceChanged(PropertyContainer::PropertyName);
75 virtual bool commitData(bool mayAskUser); 76 virtual bool commitData(bool mayAskUser);
129 virtual void setupRecentTransformsMenu(); 130 virtual void setupRecentTransformsMenu();
130 131
131 virtual void playSpeedChanged(int); 132 virtual void playSpeedChanged(int);
132 virtual void playSharpenToggled(); 133 virtual void playSharpenToggled();
133 virtual void playMonoToggled(); 134 virtual void playMonoToggled();
135 virtual void playSoloToggled();
134 virtual void alignToggled(); 136 virtual void alignToggled();
135 137
136 virtual void speedUpPlayback(); 138 virtual void speedUpPlayback();
137 virtual void slowDownPlayback(); 139 virtual void slowDownPlayback();
138 virtual void restoreNormalPlayback(); 140 virtual void restoreNormalPlayback();
178 QMenu *m_rightButtonLayerMenu; 180 QMenu *m_rightButtonLayerMenu;
179 QMenu *m_rightButtonTransformsMenu; 181 QMenu *m_rightButtonTransformsMenu;
180 QMenu *m_rightButtonPlaybackMenu; 182 QMenu *m_rightButtonPlaybackMenu;
181 183
182 QAction *m_deleteSelectedAction; 184 QAction *m_deleteSelectedAction;
185 QAction *m_soloAction;
183 QAction *m_ffwdAction; 186 QAction *m_ffwdAction;
184 QAction *m_rwdAction; 187 QAction *m_rwdAction;
188
189 bool m_soloModified;
190 bool m_prevSolo;
185 191
186 QPointer<PreferencesDialog> m_preferencesDialog; 192 QPointer<PreferencesDialog> m_preferencesDialog;
187 QPointer<QTreeView> m_layerTreeView; 193 QPointer<QTreeView> m_layerTreeView;
188 194
189 KeyReference *m_keyReference; 195 KeyReference *m_keyReference;