diff options
Diffstat (limited to 'tikzit/src/gui/toolpalette.h')
-rw-r--r-- | tikzit/src/gui/toolpalette.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tikzit/src/gui/toolpalette.h b/tikzit/src/gui/toolpalette.h index 05b2e12..ba6aed5 100644 --- a/tikzit/src/gui/toolpalette.h +++ b/tikzit/src/gui/toolpalette.h @@ -1,3 +1,7 @@ +/** + * A small window that lets the user select the current editing tool. + */ + #ifndef TOOLPALETTE_H #define TOOLPALETTE_H @@ -11,6 +15,14 @@ class ToolPalette : public QToolBar Q_OBJECT public: ToolPalette(QWidget *parent = 0); + enum Tool { + SELECT, + VERTEX, + EDGE, + CROP + }; + + Tool currentTool() const; private: QActionGroup *tools; QAction *select; |