2 // TOOLWINDOW.H: Header file
5 // (C) 2009 Underground Software
8 #ifndef __TOOLWINDOW_H__
9 #define __TOOLWINDOW_H__
16 TOOLNone = -1, // No tool
17 TOOLSelect = 0, // The "selection" tool
18 TOOLPolySelect, // Polygon selection tool
19 TOOLMultiSelect, // Rectangle selection tool
20 TOOLZoom, // Zoom window tool
21 TOOLAddPt, // Add point tool
22 TOOLAddPoly, // Polygon creation tool
23 TOOLDelPt, // Delete point tool
24 TOOLDelPoly, // Delete polygon tool
25 TOOLRotate, // Rotate tool
26 TOOLRotatePoly, // Rotate polygon around centroid tool
27 TOOLFlipWinding, // Change polygon's winding direction tool
28 TOOLScroll // Scroll window tool
31 class ToolWindow: public QWidget
37 ToolType FindSelectedTool(void);
40 QSize sizeHint() const;
41 void paintEvent(QPaintEvent * event);
48 QPoint sizeStamp, sizeTPBM;
51 #endif // __TOOLWINDOW_H__