This commit is contained in:
jaseg 2020-12-17 15:43:37 +01:00
parent c6713d0876
commit 6a484c615a
17 changed files with 175 additions and 7 deletions

View file

@ -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