WIP
This commit is contained in:
parent
c6713d0876
commit
6a484c615a
17 changed files with 175 additions and 7 deletions
12
numberator.h
12
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue