Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
QwtPickerTracker Class Reference
Inheritance diagram for QwtPickerTracker:
Inheritance graph
[legend]

Public Member Functions

 QwtPickerTracker (QwtPicker *, QWidget *)
 
- Public Member Functions inherited from QwtWidgetOverlay
virtual bool eventFilter (QObject *, QEvent *)
 Event filter. More...
 
MaskMode maskMode () const
 
 QwtWidgetOverlay (QWidget *)
 Constructor. More...
 
RenderMode renderMode () const
 
void setMaskMode (MaskMode)
 Specify how to find the mask for the overlay. More...
 
void setRenderMode (RenderMode)
 
virtual ~QwtWidgetOverlay ()
 Destructor. More...
 

Protected Member Functions

virtual void drawOverlay (QPainter *) const
 
virtual QRegion maskHint () const
 Calculate an approximation for the mask. More...
 
- Protected Member Functions inherited from QwtWidgetOverlay
virtual void paintEvent (QPaintEvent *event)
 
virtual void resizeEvent (QResizeEvent *event)
 

Protected Attributes

QwtPickerd_picker
 

Additional Inherited Members

- Public Types inherited from QwtWidgetOverlay
enum  MaskMode { NoMask, MaskHint, AlphaMask }
 Mask mode. More...
 
enum  RenderMode { AutoRenderMode, CopyAlphaMask, DrawOverlay }
 Render mode. More...
 
- Public Slots inherited from QwtWidgetOverlay
void updateOverlay ()
 

Detailed Description

Definition at line 79 of file qwt_picker.cpp.

Constructor & Destructor Documentation

QwtPickerTracker::QwtPickerTracker ( QwtPicker picker,
QWidget *  parent 
)

Definition at line 152 of file qwt_picker.cpp.

Member Function Documentation

void QwtPickerTracker::drawOverlay ( QPainter *  painter) const
protectedvirtual

Draw the widget overlay

Parameters
painterPainter

Implements QwtWidgetOverlay.

Definition at line 165 of file qwt_picker.cpp.

QRegion QwtPickerTracker::maskHint ( ) const
protectedvirtual

Calculate an approximation for the mask.

  • MaskHint The hint is used as mask.
  • AlphaMask The hint is used to speed up the algorithm for calculating a mask from non transparent pixels
  • NoMask The hint is unused.

The default implementation returns an invalid region indicating no hint.

Returns
Hint for the mask

Reimplemented from QwtWidgetOverlay.

Definition at line 160 of file qwt_picker.cpp.

Member Data Documentation

QwtPicker* QwtPickerTracker::d_picker
protected

Definition at line 88 of file qwt_picker.cpp.


The documentation for this class was generated from the following file:


plotjuggler
Author(s): Davide Faconti
autogenerated on Sat Jul 6 2019 03:44:18