Mercurial > hg > svgui
comparison view/ViewManager.h @ 292:24fc90078754
* Add QuickTime file reader class -- totally untested, shouldn't even compile
author | Chris Cannam |
---|---|
date | Mon, 06 Aug 2007 14:37:59 +0000 |
parents | 1a49bd0d8375 |
children | 5636eeacc467 |
comparison
equal
deleted
inserted
replaced
291:3801289761a1 | 292:24fc90078754 |
---|---|
16 #ifndef _VIEW_MANAGER_H_ | 16 #ifndef _VIEW_MANAGER_H_ |
17 #define _VIEW_MANAGER_H_ | 17 #define _VIEW_MANAGER_H_ |
18 | 18 |
19 #include <QObject> | 19 #include <QObject> |
20 #include <QTimer> | 20 #include <QTimer> |
21 #include <QPalette> | |
21 | 22 |
22 #include <map> | 23 #include <map> |
23 | 24 |
24 #include "base/Selection.h" | 25 #include "base/Selection.h" |
25 #include "base/Command.h" | 26 #include "base/Command.h" |
160 } | 161 } |
161 | 162 |
162 void setZoomWheelsEnabled(bool enable); | 163 void setZoomWheelsEnabled(bool enable); |
163 bool getZoomWheelsEnabled() const { return m_zoomWheelsEnabled; } | 164 bool getZoomWheelsEnabled() const { return m_zoomWheelsEnabled; } |
164 | 165 |
166 void setGlobalDarkBackground(bool dark); | |
167 bool getGlobalDarkBackground() const; | |
168 | |
165 signals: | 169 signals: |
166 /** Emitted when user causes the global centre frame to change. */ | 170 /** Emitted when user causes the global centre frame to change. */ |
167 void globalCentreFrameChanged(unsigned long frame); | 171 void globalCentreFrameChanged(unsigned long frame); |
168 | 172 |
169 /** Emitted when user scrolls a view, but doesn't affect global centre. */ | 173 /** Emitted when user scrolls a view, but doesn't affect global centre. */ |
250 MultiSelection m_newSelection; | 254 MultiSelection m_newSelection; |
251 }; | 255 }; |
252 | 256 |
253 OverlayMode m_overlayMode; | 257 OverlayMode m_overlayMode; |
254 bool m_zoomWheelsEnabled; | 258 bool m_zoomWheelsEnabled; |
259 | |
260 QPalette m_lightPalette; | |
261 QPalette m_darkPalette; | |
255 }; | 262 }; |
256 | 263 |
257 #endif | 264 #endif |
258 | 265 |