comparison view/Pane.h @ 262:dae479593572

* more measurement tool stuff
author Chris Cannam
date Thu, 14 Jun 2007 17:03:16 +0000
parents 11021509c4eb
children aee39d8c0b83
comparison
equal deleted inserted replaced
261:11021509c4eb 262:dae479593572
122 122
123 bool m_identifyFeatures; 123 bool m_identifyFeatures;
124 QPoint m_identifyPoint; 124 QPoint m_identifyPoint;
125 QPoint m_clickPos; 125 QPoint m_clickPos;
126 QPoint m_mousePos; 126 QPoint m_mousePos;
127 QPoint m_measureStart;
128 QPoint m_measureEnd;
127 bool m_clickedInRange; 129 bool m_clickedInRange;
128 bool m_shiftPressed; 130 bool m_shiftPressed;
129 bool m_ctrlPressed; 131 bool m_ctrlPressed;
132 bool m_haveMeasureRect;
133 size_t m_measureCentreFrame;
130 bool m_navigating; 134 bool m_navigating;
131 bool m_resizing; 135 bool m_resizing;
132 size_t m_dragCentreFrame; 136 size_t m_dragCentreFrame;
133 float m_dragStartMinValue; 137 float m_dragStartMinValue;
134 bool m_centreLineVisible; 138 bool m_centreLineVisible;
148 QWidget *m_headsUpDisplay; 152 QWidget *m_headsUpDisplay;
149 Panner *m_vpan; 153 Panner *m_vpan;
150 Thumbwheel *m_hthumb; 154 Thumbwheel *m_hthumb;
151 Thumbwheel *m_vthumb; 155 Thumbwheel *m_vthumb;
152 NotifyingPushButton *m_reset; 156 NotifyingPushButton *m_reset;
157
158 static QCursor m_measureCursor1;
159 static QCursor m_measureCursor2;
160 static bool m_measureCursorsCreated;
153 }; 161 };
154 162
155 #endif 163 #endif
156 164