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 | |
QwtPicker * | d_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 () |
Definition at line 67 of file qwt_picker.cpp.
QwtPickerRubberband::QwtPickerRubberband | ( | QwtPicker * | picker, |
QWidget * | parent | ||
) |
Definition at line 133 of file qwt_picker.cpp.
|
protectedvirtual |
Draw the widget overlay
painter | Painter |
Implements QwtWidgetOverlay.
Definition at line 146 of file qwt_picker.cpp.
|
protectedvirtual |
Calculate an approximation for the mask.
The default implementation returns an invalid region indicating no hint.
Reimplemented from QwtWidgetOverlay.
Definition at line 141 of file qwt_picker.cpp.
|
protected |
Definition at line 76 of file qwt_picker.cpp.