summaryrefslogtreecommitdiff
path: root/numberator.h
diff options
context:
space:
mode:
Diffstat (limited to 'numberator.h')
-rw-r--r--numberator.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/numberator.h b/numberator.h
index f81c44b..930a171 100644
--- a/numberator.h
+++ b/numberator.h
@@ -18,6 +18,14 @@ namespace Ui {
}
QT_END_NAMESPACE
+enum ToolType {
+ SELECTION_TOOL,
+ TAG_TOOL,
+ MOVE_TOOL,
+ EDIT_TOOL,
+ NUM_TOOLS
+};
+
class Numberator : public QMainWindow
{
Q_OBJECT
@@ -26,6 +34,8 @@ public:
Numberator(QWidget *parent = nullptr);
~Numberator();
+ void setTool(ToolType tool);
+
bool showConfirmDiscardDialog();
public slots:
@@ -45,5 +55,7 @@ private:
TagListModel tagListModel;
TagPropTableModel tagPropTableModel, dialogTagPropTableModel;
Tag m_tagBeingEdited;
+
+ ToolType m_activeTool = SELECTION_TOOL;
};
#endif // NUMBERATOR_H