Version: 6.3.1
Public Member Functions | Protected Member Functions | Protected Attributes

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.
virtual void clearGeometry ()
bool isClosed ()

Protected Member Functions

 QtxAbstractRubberBand (QWidget *)
 Constructor.
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::isClosed ( )

References myIsClosed.

void QtxAbstractRubberBand::paintEvent ( QPaintEvent *  theEvent) [protected, virtual]

References myPoints, and Plot2d.NoPen.

void QtxAbstractRubberBand::showEvent ( QShowEvent *  theEvent) [protected, virtual]
void QtxAbstractRubberBand::moveEvent ( QMoveEvent *  ) [protected, virtual]
void QtxAbstractRubberBand::resizeEvent ( QResizeEvent *  ) [protected, virtual]
bool QtxAbstractRubberBand::eventFilter ( QObject obj,
QEvent e 
) [protected, virtual]
void QtxAbstractRubberBand::updateMask ( ) [protected, virtual]

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


Field Documentation

QPolygon QtxAbstractRubberBand.myPoints [protected]
Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS