109 Q_PROPERTY(
bool isEnabled READ isEnabled WRITE setEnabled )
110 Q_PROPERTY(
ResizeMode resizeMode READ resizeMode WRITE setResizeMode )
112 Q_PROPERTY(
DisplayMode trackerMode READ trackerMode WRITE setTrackerMode )
113 Q_PROPERTY( QPen trackerPen READ trackerPen WRITE setTrackerPen )
114 Q_PROPERTY( QFont trackerFont READ trackerFont WRITE setTrackerFont )
116 Q_PROPERTY(
RubberBand rubberBand READ rubberBand WRITE setRubberBand )
117 Q_PROPERTY( QPen rubberBandPen READ rubberBandPen WRITE setRubberBandPen )
191 explicit QwtPicker( RubberBand rubberBand,
192 DisplayMode trackerMode, QWidget* );
200 void setRubberBand( RubberBand );
201 RubberBand rubberBand()
const;
203 void setTrackerMode( DisplayMode );
204 DisplayMode trackerMode()
const;
206 void setResizeMode( ResizeMode );
207 ResizeMode resizeMode()
const;
209 void setRubberBandPen(
const QPen& );
210 QPen rubberBandPen()
const;
212 void setTrackerPen(
const QPen& );
213 QPen trackerPen()
const;
215 void setTrackerFont(
const QFont& );
216 QFont trackerFont()
const;
218 bool isEnabled()
const;
219 bool isActive()
const;
221 virtual bool eventFilter( QObject*, QEvent* ) QWT_OVERRIDE;
223 QWidget* parentWidget();
224 const QWidget* parentWidget()
const;
226 virtual QPainterPath pickArea()
const;
228 virtual void drawRubberBand( QPainter* )
const;
229 virtual void drawTracker( QPainter* )
const;
231 virtual QRegion trackerMask()
const;
232 virtual QRegion rubberBandMask()
const;
234 virtual QwtText trackerText(
const QPoint& pos )
const;
235 QPoint trackerPosition()
const;
236 virtual QRect trackerRect(
const QFont& )
const;
238 QPolygon selection()
const;
241 void setEnabled(
bool );
296 virtual QPolygon adjustedPoints(
const QPolygon& )
const;
298 virtual void transition(
const QEvent* );
300 virtual void begin();
301 virtual void append(
const QPoint& );
302 virtual void move(
const QPoint& );
303 virtual void remove();
304 virtual bool end(
bool ok =
true );
306 virtual bool accept( QPolygon& )
const;
307 virtual void reset();
309 virtual void widgetMousePressEvent( QMouseEvent* );
310 virtual void widgetMouseReleaseEvent( QMouseEvent* );
311 virtual void widgetMouseDoubleClickEvent( QMouseEvent* );
312 virtual void widgetMouseMoveEvent( QMouseEvent* );
313 virtual void widgetWheelEvent( QWheelEvent* );
314 virtual void widgetKeyPressEvent( QKeyEvent* );
315 virtual void widgetKeyReleaseEvent( QKeyEvent* );
316 virtual void widgetEnterEvent( QEvent* );
317 virtual void widgetLeaveEvent( QEvent* );
319 virtual void stretchSelection(
320 const QSize& oldSize,
const QSize& newSize );
322 virtual void updateDisplay();
327 const QPolygon& pickedPoints()
const;
328 QRect trackerRect(
const QSize& )
const;
333 void setMouseTracking(
bool );
A class representing a text.