diff view/Pane.h @ 730:711ae36a53a2 tonioni

Signal-slot separation between region outlining and default zoom action
author Chris Cannam
date Tue, 04 Mar 2014 16:45:39 +0000
parents 67b167bb60ab
children 09e2677e34e7
line wrap: on
line diff
--- a/view/Pane.h	Tue Mar 04 15:28:32 2014 +0000
+++ b/view/Pane.h	Tue Mar 04 16:45:39 2014 +0000
@@ -68,6 +68,7 @@
     void dropAccepted(QStringList uriList);
     void dropAccepted(QString text);
     void doubleClickSelectInvoked(size_t frame);
+    void regionOutlined(QRect rect);
 
 public slots:
     virtual void toolModeChanged();
@@ -85,6 +86,8 @@
 
     virtual void propertyContainerSelected(View *, PropertyContainer *pc);
 
+    void zoomToRegion(QRect r);
+
     void mouseEnteredWidget();
     void mouseLeftWidget();
 
@@ -130,7 +133,6 @@
 
     void dragTopLayer(QMouseEvent *e);
     void dragExtendSelection(QMouseEvent *e);
-    void zoomToRegion(int x0, int y0, int x1, int y1);
     void updateContextHelp(const QPoint *pos);
     void edgeScrollMaybe(int x);