Mercurial > hg > svgui
comparison view/Pane.h @ 189:5b7472db612b
* Add large chunks of context help in the optional status bar
* Add an extra overlay mode in which even the centre frame is disabled
* Fixes to FTP retrieval
author | Chris Cannam |
---|---|
date | Fri, 19 Jan 2007 13:13:14 +0000 |
parents | dd573e090eed |
children | cd81066ac7ad |
comparison
equal
deleted
inserted
replaced
188:dd573e090eed | 189:5b7472db612b |
---|---|
27 class QWidget; | 27 class QWidget; |
28 class QPaintEvent; | 28 class QPaintEvent; |
29 class Layer; | 29 class Layer; |
30 class Thumbwheel; | 30 class Thumbwheel; |
31 class Panner; | 31 class Panner; |
32 class NotifyingPushButton; | |
32 | 33 |
33 class Pane : public View | 34 class Pane : public View |
34 { | 35 { |
35 Q_OBJECT | 36 Q_OBJECT |
36 | 37 |
65 virtual void verticalPannerMoved(float x, float y, float w, float h); | 66 virtual void verticalPannerMoved(float x, float y, float w, float h); |
66 virtual void editVerticalPannerExtents(); | 67 virtual void editVerticalPannerExtents(); |
67 | 68 |
68 virtual void propertyContainerSelected(View *, PropertyContainer *pc); | 69 virtual void propertyContainerSelected(View *, PropertyContainer *pc); |
69 | 70 |
71 void mouseEnteredWidget(); | |
72 void mouseLeftWidget(); | |
73 | |
70 protected: | 74 protected: |
71 virtual void paintEvent(QPaintEvent *e); | 75 virtual void paintEvent(QPaintEvent *e); |
72 virtual void mousePressEvent(QMouseEvent *e); | 76 virtual void mousePressEvent(QMouseEvent *e); |
73 virtual void mouseReleaseEvent(QMouseEvent *e); | 77 virtual void mouseReleaseEvent(QMouseEvent *e); |
74 virtual void mouseMoveEvent(QMouseEvent *e); | 78 virtual void mouseMoveEvent(QMouseEvent *e); |
94 bool setTopLayerDisplayExtents(float displayMin, float displayMax); | 98 bool setTopLayerDisplayExtents(float displayMin, float displayMax); |
95 | 99 |
96 void dragTopLayer(QMouseEvent *e); | 100 void dragTopLayer(QMouseEvent *e); |
97 void dragExtendSelection(QMouseEvent *e); | 101 void dragExtendSelection(QMouseEvent *e); |
98 void zoomToRegion(int x0, int y0, int x1, int y1); | 102 void zoomToRegion(int x0, int y0, int x1, int y1); |
103 void updateContextHelp(const QPoint *pos); | |
99 | 104 |
100 bool m_identifyFeatures; | 105 bool m_identifyFeatures; |
101 QPoint m_identifyPoint; | 106 QPoint m_identifyPoint; |
102 QPoint m_clickPos; | 107 QPoint m_clickPos; |
103 QPoint m_mousePos; | 108 QPoint m_mousePos; |
123 | 128 |
124 QWidget *m_headsUpDisplay; | 129 QWidget *m_headsUpDisplay; |
125 Panner *m_vpan; | 130 Panner *m_vpan; |
126 Thumbwheel *m_hthumb; | 131 Thumbwheel *m_hthumb; |
127 Thumbwheel *m_vthumb; | 132 Thumbwheel *m_vthumb; |
133 NotifyingPushButton *m_reset; | |
128 }; | 134 }; |
129 | 135 |
130 #endif | 136 #endif |
131 | 137 |