comparison base/ViewManager.cpp @ 65:e1aad27029e3

* Add stub for item-edit dialog (for editing properties of an item on double- click) -- doesn't actually do anything yet * Add code to invoke said non-working item-edit dialog on double-click in time-value, time-instants and note layers * Add overlay mode (no text, basic text, all text)
author Chris Cannam
date Thu, 30 Mar 2006 15:00:22 +0000
parents 3086ff194ea0
children 163f3428bbe0
comparison
equal deleted inserted replaced
64:4d59dc469b0f 65:e1aad27029e3
31 m_lastLeft(0), 31 m_lastLeft(0),
32 m_lastRight(0), 32 m_lastRight(0),
33 m_inProgressExclusive(true), 33 m_inProgressExclusive(true),
34 m_toolMode(NavigateMode), 34 m_toolMode(NavigateMode),
35 m_playLoopMode(false), 35 m_playLoopMode(false),
36 m_playSelectionMode(false) 36 m_playSelectionMode(false),
37 m_overlayMode(BasicOverlays)
37 { 38 {
38 connect(this, 39 connect(this,
39 SIGNAL(centreFrameChanged(void *, unsigned long, bool)), 40 SIGNAL(centreFrameChanged(void *, unsigned long, bool)),
40 SLOT(considerSeek(void *, unsigned long, bool))); 41 SLOT(considerSeek(void *, unsigned long, bool)));
41 42
339 #ifdef DEBUG_VIEW_MANAGER 340 #ifdef DEBUG_VIEW_MANAGER
340 std::cout << "ViewManager::considerZoomChange(" << p << ", " << z << ", " << locked << ")" << std::endl; 341 std::cout << "ViewManager::considerZoomChange(" << p << ", " << z << ", " << locked << ")" << std::endl;
341 #endif 342 #endif
342 } 343 }
343 344
345 void
346 ViewManager::setOverlayMode(OverlayMode mode)
347 {
348 if (m_overlayMode != mode) {
349 m_overlayMode = mode;
350 emit overlayModeChanged();
351 }
352 }
353
344 #ifdef INCLUDE_MOCFILES 354 #ifdef INCLUDE_MOCFILES
345 #include "ViewManager.moc.cpp" 355 #include "ViewManager.moc.cpp"
346 #endif 356 #endif
347 357