Mercurial > hg > svgui
comparison 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 |
comparison
equal
deleted
inserted
replaced
728:596414d20ef0 | 730:711ae36a53a2 |
---|---|
66 void paneInteractedWith(); | 66 void paneInteractedWith(); |
67 void rightButtonMenuRequested(QPoint position); | 67 void rightButtonMenuRequested(QPoint position); |
68 void dropAccepted(QStringList uriList); | 68 void dropAccepted(QStringList uriList); |
69 void dropAccepted(QString text); | 69 void dropAccepted(QString text); |
70 void doubleClickSelectInvoked(size_t frame); | 70 void doubleClickSelectInvoked(size_t frame); |
71 void regionOutlined(QRect rect); | |
71 | 72 |
72 public slots: | 73 public slots: |
73 virtual void toolModeChanged(); | 74 virtual void toolModeChanged(); |
74 virtual void zoomWheelsEnabledChanged(); | 75 virtual void zoomWheelsEnabledChanged(); |
75 virtual void viewZoomLevelChanged(View *v, unsigned long z, bool locked); | 76 virtual void viewZoomLevelChanged(View *v, unsigned long z, bool locked); |
82 virtual void editVerticalPannerExtents(); | 83 virtual void editVerticalPannerExtents(); |
83 | 84 |
84 virtual void layerParametersChanged(); | 85 virtual void layerParametersChanged(); |
85 | 86 |
86 virtual void propertyContainerSelected(View *, PropertyContainer *pc); | 87 virtual void propertyContainerSelected(View *, PropertyContainer *pc); |
88 | |
89 void zoomToRegion(QRect r); | |
87 | 90 |
88 void mouseEnteredWidget(); | 91 void mouseEnteredWidget(); |
89 void mouseLeftWidget(); | 92 void mouseLeftWidget(); |
90 | 93 |
91 protected: | 94 protected: |
128 QString *unit = 0); | 131 QString *unit = 0); |
129 bool setTopLayerDisplayExtents(float displayMin, float displayMax); | 132 bool setTopLayerDisplayExtents(float displayMin, float displayMax); |
130 | 133 |
131 void dragTopLayer(QMouseEvent *e); | 134 void dragTopLayer(QMouseEvent *e); |
132 void dragExtendSelection(QMouseEvent *e); | 135 void dragExtendSelection(QMouseEvent *e); |
133 void zoomToRegion(int x0, int y0, int x1, int y1); | |
134 void updateContextHelp(const QPoint *pos); | 136 void updateContextHelp(const QPoint *pos); |
135 void edgeScrollMaybe(int x); | 137 void edgeScrollMaybe(int x); |
136 | 138 |
137 bool m_identifyFeatures; | 139 bool m_identifyFeatures; |
138 QPoint m_identifyPoint; | 140 QPoint m_identifyPoint; |