23 #ifndef QTXRUBBERBAND_H
24 #define QTXRUBBERBAND_H
40 virtual void clearGeometry();
45 virtual void paintEvent( QPaintEvent* );
46 virtual void showEvent( QShowEvent* );
47 virtual void moveEvent( QMoveEvent* );
48 virtual void resizeEvent( QResizeEvent* );
52 virtual void updateMask();
68 void initGeometry(
const QRect& );
69 void setStartPoint(
const QPoint& );
70 void setEndPoint(
const QPoint& );
72 virtual void clearGeometry();
83 void initGeometry(
const QPolygon& );
84 void initGeometry(
const QPoint& );
86 void addNode(
const QPoint& );
87 void replaceLastNode(
const QPoint& );
88 void removeLastNode();
90 void setClosed(
bool );
94 #define CIRCLE_NB_POINTS 30
105 void initGeometry(
const QPoint&);
107 void setRadius(
const QPoint&);
109 bool isCenterDefined()
const;
111 virtual void clearGeometry();
113 void getPoligon(QPolygon* thePoints)
const;
118 virtual void updateMask();
#define QTX_EXPORT
Definition: Qtx.h:36
For more information see QT documentation.
Definition: SUIT_Application.h:42
Analog of class QRubberBand with possibility of creation non-rectangular contour for selection.
Definition: QtxRubberBand.h:31
bool myIsClosed
Definition: QtxRubberBand.h:57
QPolygon myPoints
Definition: QtxRubberBand.h:55
Definition: QtxRubberBand.h:98
bool myHasCenter
Definition: QtxRubberBand.h:119
Definition: QtxRubberBand.h:76
Definition: QtxRubberBand.h:61