1 #ifndef RubberBandTool_h 2 #define RubberBandTool_h 11 template <
typename A>
class QList;
22 class MdiCubeViewport;
68 void enable(RubberBandMode mode,
bool showIndicatorColors =
false);
76 RubberBandMode currentMode();
88 bool figureComplete();
93 void enablePoints(
unsigned int pixTolerance = 2);
94 void enableAllClicks();
99 void escapeKeyPress();
103 void bandingComplete();
104 void measureChange();
111 void mouseMove(QPoint p, Qt::MouseButton);
121 void paintRectangle(QPoint upperLeft, QPoint lowerRight, QPainter *painter);
123 QPoint lowerLeft, QPoint lowerRight, QPainter *painter);
126 void calcRectCorners(QPoint corner1, QPoint corner2, QPoint &corner3, QPoint &corner4);
131 bool p_doubleClicking;
134 bool p_drawActiveOnly;
135 RubberBandMode p_bandingMode;
138 Qt::MouseButton p_mouseButton;
139 bool p_indicatorColors;
140 unsigned int p_pointTolerance;
Cube display widget for certain Isis MDI applications.
Defines an angle and provides unit conversions.
Namespace for ISIS/Bullet specific routines.