comparison view/Pane.cpp @ 437:755243c67f59

* Add vertical zoom and pan to time-value layer. Still some defects, particularly in logarithmic mode. Now need to get this in note layer as well! * Some fixes to log colouring in segmentation mode of time-value layer.
author Chris Cannam
date Fri, 24 Oct 2008 14:52:40 +0000
parents 46a6daf1119b
children 76cd1c89eb06
comparison
equal deleted inserted replaced
436:1e0744b2cebe 437:755243c67f59
2166 updateVerticalPanner(); 2166 updateVerticalPanner();
2167 } 2167 }
2168 } 2168 }
2169 2169
2170 void 2170 void
2171 Pane::layerParametersChanged()
2172 {
2173 View::layerParametersChanged();
2174 updateHeadsUpDisplay();
2175 }
2176
2177 void
2171 Pane::dragEnterEvent(QDragEnterEvent *e) 2178 Pane::dragEnterEvent(QDragEnterEvent *e)
2172 { 2179 {
2173 QStringList formats(e->mimeData()->formats()); 2180 QStringList formats(e->mimeData()->formats());
2174 std::cerr << "dragEnterEvent: format: " 2181 std::cerr << "dragEnterEvent: format: "
2175 << formats.join(",").toStdString() 2182 << formats.join(",").toStdString()