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

QtxPolyRubberBand Class Reference

#include <QtxRubberBand.h>

Inheritance diagram for QtxPolyRubberBand:
Inheritance graph

Public Member Functions

 QtxPolyRubberBand (QWidget *)
virtual ~QtxPolyRubberBand ()
void initGeometry (const QPolygon &)
void initGeometry (const QPoint &)
void addNode (const QPoint &)
void replaceLastNode (const QPoint &)
void removeLastNode ()
void setClosed (bool)
virtual void clearGeometry ()
bool isClosed ()

Protected Member Functions

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

Constructor & Destructor Documentation

QtxPolyRubberBand::QtxPolyRubberBand ( QWidget parent)
QtxPolyRubberBand::~QtxPolyRubberBand ( ) [virtual]

Member Function Documentation

void QtxPolyRubberBand::initGeometry ( const QPolygon &  thePoints)
void QtxPolyRubberBand::initGeometry ( const QPoint &  thePoint)
void QtxPolyRubberBand::addNode ( const QPoint &  thePoint)
void QtxPolyRubberBand::replaceLastNode ( const QPoint &  thePoint)
void QtxPolyRubberBand::removeLastNode ( )
void QtxPolyRubberBand::setClosed ( bool  theFlag)
void QtxAbstractRubberBand::clearGeometry ( ) [virtual, inherited]

Reimplemented in QtxRectRubberBand.

References QtxAbstractRubberBand.myPoints.

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

Field Documentation

QPolygon QtxAbstractRubberBand.myPoints [protected, inherited]
bool QtxAbstractRubberBand.myIsClosed [protected, inherited]
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