diff view/Pane.h @ 188:dd573e090eed

* Add range input dialog * Make Panner support middle-click/ctrl-left-click to reset and emit doubleClicked when doubleClicked instead of resetting * Use range input dialog to enter new values for panner on double-click
author Chris Cannam
date Fri, 12 Jan 2007 21:52:56 +0000
parents 42118892f428
children 5b7472db612b
line wrap: on
line diff
--- a/view/Pane.h	Fri Jan 12 14:49:18 2007 +0000
+++ b/view/Pane.h	Fri Jan 12 21:52:56 2007 +0000
@@ -63,6 +63,7 @@
     virtual void verticalThumbwheelMoved(int value);
     virtual void verticalZoomChanged();
     virtual void verticalPannerMoved(float x, float y, float w, float h);
+    virtual void editVerticalPannerExtents();
 
     virtual void propertyContainerSelected(View *, PropertyContainer *pc);
 
@@ -88,7 +89,8 @@
 
     bool canTopLayerMoveVertical();
     bool getTopLayerDisplayExtents(float &valueMin, float &valueMax,
-                                   float &displayMin, float &displayMax);
+                                   float &displayMin, float &displayMax,
+                                   QString *unit = 0);
     bool setTopLayerDisplayExtents(float displayMin, float displayMax);
 
     void dragTopLayer(QMouseEvent *e);