110 Q_PROPERTY(
bool isEnabled READ isEnabled WRITE setEnabled )
111 Q_PROPERTY( ResizeMode resizeMode READ resizeMode WRITE setResizeMode )
113 Q_PROPERTY(
DisplayMode trackerMode READ trackerMode WRITE setTrackerMode )
114 Q_PROPERTY( QPen trackerPen READ trackerPen WRITE setTrackerPen )
115 Q_PROPERTY( QFont trackerFont READ trackerFont WRITE setTrackerFont )
117 Q_PROPERTY(
RubberBand rubberBand READ rubberBand WRITE setRubberBand )
118 Q_PROPERTY( QPen rubberBandPen READ rubberBandPen WRITE setRubberBandPen )
210 void setRubberBandPen(
const QPen & );
211 QPen rubberBandPen()
const;
213 void setTrackerPen(
const QPen & );
214 QPen trackerPen()
const;
216 void setTrackerFont(
const QFont & );
217 QFont trackerFont()
const;
219 bool isEnabled()
const;
220 bool isActive()
const;
222 virtual bool eventFilter( QObject *, QEvent * )
QWT_OVERRIDE;
224 QWidget *parentWidget();
225 const QWidget *parentWidget() const;
227 virtual QPainterPath pickArea() const;
229 virtual
void drawRubberBand( QPainter * ) const;
230 virtual
void drawTracker( QPainter * ) const;
232 virtual QRegion trackerMask() const;
233 virtual QRegion rubberBandMask() const;
235 virtual
QwtText trackerText( const QPoint &pos ) const;
236 QPoint trackerPosition() const;
237 virtual QRect trackerRect( const QFont & ) const;
239 QPolygon selection() const;
242 void setEnabled(
bool );
252 void activated(
bool on );
260 void selected( const QPolygon &polygon );
268 void appended( const QPoint &pos );
277 void moved( const QPoint &pos );
286 void removed( const QPoint &pos );
294 void changed( const QPolygon &selection );
297 virtual QPolygon adjustedPoints( const QPolygon & ) const;
299 virtual
void transition( const QEvent * );
301 virtual
void begin();
302 virtual
void append( const QPoint & );
303 virtual
void move( const QPoint & );
305 virtual
bool end(
bool ok = true );
307 virtual
bool accept( QPolygon & ) const;
308 virtual
void reset();
310 virtual
void widgetMousePressEvent( QMouseEvent * );
311 virtual
void widgetMouseReleaseEvent( QMouseEvent * );
312 virtual
void widgetMouseDoubleClickEvent( QMouseEvent * );
313 virtual
void widgetMouseMoveEvent( QMouseEvent * );
314 virtual
void widgetWheelEvent( QWheelEvent * );
315 virtual
void widgetKeyPressEvent( QKeyEvent * );
316 virtual
void widgetKeyReleaseEvent( QKeyEvent * );
317 virtual
void widgetEnterEvent( QEvent * );
318 virtual
void widgetLeaveEvent( QEvent * );
320 virtual
void stretchSelection(
321 const QSize &oldSize, const QSize &newSize );
323 virtual
void updateDisplay();
328 const QPolygon &pickedPoints() const;
333 void setMouseTracking(
bool );
A crosshair ( only for QwtPickerMachine::PointSelection )
All points are scaled according to the new size,.
A polygon ( only for QwtPickerMachine::PolygonSelection )
An ellipse ( only for QwtPickerMachine::RectSelection )
A class representing a text.
A state machine for QwtPicker selections.
A horizontal line ( only for QwtPickerMachine::PointSelection )
const T & move(const T &v)
A collection of event patterns.
A rectangle ( only for QwtPickerMachine::RectSelection )
A vertical line ( only for QwtPickerMachine::PointSelection )
void remove(lua_State *L, int rawindex, int count)
QwtPicker provides selections on a widget.