Version: 8.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
QtxAbstractRubberBand Class Reference

Analog of class QRubberBand with possibility of creation non-rectangular contour for selection. More...

#include <QtxRubberBand.h>

Inheritance diagram for QtxAbstractRubberBand:
Inheritance graph

Public Member Functions

virtual ~QtxAbstractRubberBand ()
 Destructor. More...
 
virtual void clearGeometry ()
 
bool isClosed ()
 

Protected Member Functions

 QtxAbstractRubberBand (QWidget *)
 Constructor. More...
 
virtual void paintEvent (QPaintEvent *)
 
virtual void showEvent (QShowEvent *)
 
virtual void moveEvent (QMoveEvent *)
 
virtual void resizeEvent (QResizeEvent *)
 
virtual bool eventFilter (QObject *, QEvent *)
 
virtual void updateMask ()
 

Protected Attributes

QPolygon myPoints
 
bool myIsClosed
 

Detailed Description

Currently this class does not support Style functionality in full.

Constructor & Destructor Documentation

QtxAbstractRubberBand::QtxAbstractRubberBand ( QWidget theParent)
protected
Parameters
theParentparent widget
QtxAbstractRubberBand::~QtxAbstractRubberBand ( )
virtual

Member Function Documentation

void QtxAbstractRubberBand::clearGeometry ( )
virtual

Reimplemented in QtxRectRubberBand.

References myPoints.

bool QtxAbstractRubberBand::eventFilter ( QObject obj,
QEvent e 
)
protectedvirtual
bool QtxAbstractRubberBand::isClosed ( )

References myIsClosed.

void QtxAbstractRubberBand::moveEvent ( QMoveEvent *  )
protectedvirtual
void QtxAbstractRubberBand::paintEvent ( QPaintEvent *  theEvent)
protectedvirtual

References myPoints, and Plot2d::NoPen.

void QtxAbstractRubberBand::resizeEvent ( QResizeEvent *  )
protectedvirtual
void QtxAbstractRubberBand::showEvent ( QShowEvent *  theEvent)
protectedvirtual
void QtxAbstractRubberBand::updateMask ( )
protectedvirtual

References createRegion(), isClosed(), and myPoints.

Member Data Documentation

bool QtxAbstractRubberBand::myIsClosed
protected
QPolygon QtxAbstractRubberBand::myPoints
protected

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