Mercurial > hg > svgui
comparison view/ViewManager.cpp @ 741:56ba2b03508e tonioni
Introduce a GlobalOverlays mode that shows general surrounding information but less local stuff
author | Chris Cannam |
---|---|
date | Thu, 06 Mar 2014 15:16:25 +0000 |
parents | 0c1ef0d05c82 |
children | b75c95e7f906 |
comparison
equal
deleted
inserted
replaced
740:a31c8ee2e17e | 741:56ba2b03508e |
---|---|
41 m_toolMode(NavigateMode), | 41 m_toolMode(NavigateMode), |
42 m_playLoopMode(false), | 42 m_playLoopMode(false), |
43 m_playSelectionMode(false), | 43 m_playSelectionMode(false), |
44 m_playSoloMode(false), | 44 m_playSoloMode(false), |
45 m_alignMode(false), | 45 m_alignMode(false), |
46 m_overlayMode(MinimalOverlays), | 46 m_overlayMode(StandardOverlays), |
47 m_zoomWheelsEnabled(true), | 47 m_zoomWheelsEnabled(true), |
48 m_showCentreLine(true), | 48 m_showCentreLine(true), |
49 m_illuminateLocalFeatures(true), | 49 m_illuminateLocalFeatures(true), |
50 m_showWorkTitle(false), | 50 m_showWorkTitle(false), |
51 m_lightPalette(QApplication::palette()), | 51 m_lightPalette(QApplication::palette()), |
55 settings.beginGroup("MainWindow"); | 55 settings.beginGroup("MainWindow"); |
56 m_overlayMode = OverlayMode | 56 m_overlayMode = OverlayMode |
57 (settings.value("overlay-mode", int(m_overlayMode)).toInt()); | 57 (settings.value("overlay-mode", int(m_overlayMode)).toInt()); |
58 | 58 |
59 if (m_overlayMode != NoOverlays && | 59 if (m_overlayMode != NoOverlays && |
60 m_overlayMode != MinimalOverlays && | 60 m_overlayMode != StandardOverlays && |
61 m_overlayMode != AllOverlays) { | 61 m_overlayMode != AllOverlays) { |
62 m_overlayMode = MinimalOverlays; | 62 m_overlayMode = StandardOverlays; |
63 } | 63 } |
64 | 64 |
65 m_zoomWheelsEnabled = | 65 m_zoomWheelsEnabled = |
66 settings.value("zoom-wheels-enabled", m_zoomWheelsEnabled).toBool(); | 66 settings.value("zoom-wheels-enabled", m_zoomWheelsEnabled).toBool(); |
67 m_showCentreLine = | 67 m_showCentreLine = |