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

Public Member Functions

 QwtPickerRubberband (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 67 of file qwt_picker.cpp.

Constructor & Destructor Documentation

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

Definition at line 133 of file qwt_picker.cpp.

Member Function Documentation

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

Draw the widget overlay

Parameters
painterPainter

Implements QwtWidgetOverlay.

Definition at line 146 of file qwt_picker.cpp.

QRegion QwtPickerRubberband::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 141 of file qwt_picker.cpp.

Member Data Documentation

QwtPicker* QwtPickerRubberband::d_picker
protected

Definition at line 76 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