numberator/numberator.h
2020-08-04 01:04:52 +02:00

43 lines
832 B
C++

#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