summaryrefslogtreecommitdiff
path: root/numberator.h
diff options
context:
space:
mode:
Diffstat (limited to 'numberator.h')
-rw-r--r--numberator.h43
1 files changed, 43 insertions, 0 deletions
diff --git a/numberator.h b/numberator.h
new file mode 100644
index 0000000..21203cd
--- /dev/null
+++ b/numberator.h
@@ -0,0 +1,43 @@
+#ifndef NUMBERATOR_H
+#define NUMBERATOR_H
+
+#include "aboutdialog.h"
+#include "sqlitebackend.h"
+#include "taglistmodel.h"
+#include "tagproptablemodel.h"
+
+#include <QFileDialog>
+#include <QMainWindow>
+
+QT_BEGIN_NAMESPACE
+namespace Ui {
+ class Numberator;
+ class TagListDock;
+}
+QT_END_NAMESPACE
+
+class Numberator : public QMainWindow
+{
+ Q_OBJECT
+
+public:
+ Numberator(QWidget *parent = nullptr);
+ ~Numberator();
+
+private slots:
+ void openFile(const QString &path);
+
+private:
+ Ui::Numberator *ui;
+ Ui::TagListDock *tagsDockUi;
+
+ QSettings settings;
+ QFileDialog loadImageDialog,
+ saveOpenDialog;
+ AboutDialog aboutDialog;
+
+ SQLiteSaveFile proj;
+ TagListModel tagListModel;
+ TagPropTableModel tagPropTableModel;
+};
+#endif // NUMBERATOR_H