13 #include "qwt_global.h" 
   15 #include "qwt_event_pattern.h" 
   20 #include <qpainterpath.h> 
  101     Q_PROPERTY( 
bool isEnabled READ isEnabled WRITE setEnabled )
 
  102     Q_PROPERTY( ResizeMode resizeMode READ resizeMode WRITE setResizeMode )
 
  104     Q_PROPERTY( 
DisplayMode trackerMode READ trackerMode WRITE setTrackerMode )
 
  105     Q_PROPERTY( QPen trackerPen READ trackerPen WRITE setTrackerPen )
 
  106     Q_PROPERTY( QFont trackerFont READ trackerFont WRITE setTrackerFont )
 
  108     Q_PROPERTY( 
RubberBand rubberBand READ rubberBand WRITE setRubberBand )
 
  109     Q_PROPERTY( QPen rubberBandPen READ rubberBandPen WRITE setRubberBandPen )
 
  183     explicit QwtPicker( RubberBand rubberBand,
 
  184                         DisplayMode trackerMode, QWidget * );
 
  192     void setRubberBand( RubberBand );
 
  193     RubberBand rubberBand() 
const;
 
  195     void setTrackerMode( DisplayMode );
 
  196     DisplayMode trackerMode() 
const;
 
  198     void setResizeMode( ResizeMode );
 
  199     ResizeMode resizeMode() 
const;
 
  201     void setRubberBandPen( 
const QPen & );
 
  202     QPen rubberBandPen() 
const;
 
  204     void setTrackerPen( 
const QPen & );
 
  205     QPen trackerPen() 
const;
 
  207     void setTrackerFont( 
const QFont & );
 
  208     QFont trackerFont() 
const;
 
  210     bool isEnabled() 
const;
 
  211     bool isActive() 
const;
 
  213     virtual bool eventFilter( QObject *, QEvent * );
 
  215     QWidget *parentWidget();
 
  216     const QWidget *parentWidget() 
const;
 
  218     virtual QPainterPath pickArea() 
const;
 
  220     virtual void drawRubberBand( QPainter * ) 
const;
 
  221     virtual void drawTracker( QPainter * ) 
const;
 
  223     virtual QRegion rubberBandMask() 
const;
 
  225     virtual QwtText trackerText( 
const QPoint &pos ) 
const;
 
  226     QPoint trackerPosition() 
const;
 
  227     virtual QRect trackerRect( 
const QFont & ) 
const;
 
  229     QPolygon selection() 
const;
 
  232     void setEnabled( 
bool );
 
  242     void activated( 
bool on );
 
  250     void selected( 
const QPolygon &polygon );
 
  258     void appended( 
const QPoint &pos );
 
  267     void moved( 
const QPoint &pos );
 
  276     void removed( 
const QPoint &pos );
 
  284     void changed( 
const QPolygon &selection );
 
  287     virtual QPolygon adjustedPoints( 
const QPolygon & ) 
const;
 
  289     virtual void transition( 
const QEvent * );
 
  291     virtual void begin();
 
  292     virtual void append( 
const QPoint & );
 
  293     virtual void move( 
const QPoint & );
 
  294     virtual void remove();
 
  295     virtual bool end( 
bool ok = 
true );
 
  297     virtual bool accept( QPolygon & ) 
const;
 
  298     virtual void reset();
 
  300     virtual void widgetMousePressEvent( QMouseEvent * );
 
  301     virtual void widgetMouseReleaseEvent( QMouseEvent * );
 
  302     virtual void widgetMouseDoubleClickEvent( QMouseEvent * );
 
  303     virtual void widgetMouseMoveEvent( QMouseEvent * );
 
  304     virtual void widgetWheelEvent( QWheelEvent * );
 
  305     virtual void widgetKeyPressEvent( QKeyEvent * );
 
  306     virtual void widgetKeyReleaseEvent( QKeyEvent * );
 
  307     virtual void widgetEnterEvent( QEvent * );
 
  308     virtual void widgetLeaveEvent( QEvent * );
 
  310     virtual void stretchSelection( 
const QSize &oldSize,
 
  311                                    const QSize &newSize );
 
  313     virtual void updateDisplay();
 
  318     const QPolygon &pickedPoints() 
const;
 
  321     void init( QWidget *, RubberBand rubberBand, DisplayMode trackerMode );
 
  323     void setMouseTracking( 
bool );
 
All points are scaled according to the new size,. 
Definition: qwt_picker.h:176
A horizontal line ( only for QwtPickerMachine::PointSelection ) 
Definition: qwt_picker.h:125
A class representing a text. 
Definition: qwt_text.h:51
A state machine for QwtPicker selections. 
Definition: qwt_picker_machine.h:28
ResizeMode
Definition: qwt_picker.h:173
DisplayMode
Display mode. 
Definition: qwt_picker.h:153
RubberBand
Definition: qwt_picker.h:119
A polygon ( only for QwtPickerMachine::PolygonSelection ) 
Definition: qwt_picker.h:140
A collection of event patterns. 
Definition: qwt_event_pattern.h:29
A crosshair ( only for QwtPickerMachine::PointSelection ) 
Definition: qwt_picker.h:131
Display never. 
Definition: qwt_picker.h:156
An ellipse ( only for QwtPickerMachine::RectSelection ) 
Definition: qwt_picker.h:137
A vertical line ( only for QwtPickerMachine::PointSelection ) 
Definition: qwt_picker.h:128
QwtPicker provides selections on a widget. 
Definition: qwt_picker.h:95
Display always. 
Definition: qwt_picker.h:159
A rectangle ( only for QwtPickerMachine::RectSelection ) 
Definition: qwt_picker.h:134