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& );
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 );
93 #endif //QTXRUBBERBAND_H