2024-08-18 13:57:57 +03:00
|
|
|
#ifndef MAINWINDOW_H
|
|
|
|
#define MAINWINDOW_H
|
|
|
|
|
|
|
|
#include <QMainWindow>
|
|
|
|
|
2024-08-19 02:35:16 +03:00
|
|
|
#include "check/check.h"
|
|
|
|
#include "parser/parser.h"
|
|
|
|
|
2024-08-18 13:57:57 +03:00
|
|
|
QT_BEGIN_NAMESPACE
|
|
|
|
namespace Ui {
|
|
|
|
class MainWindow;
|
|
|
|
}
|
|
|
|
QT_END_NAMESPACE
|
|
|
|
|
2024-08-19 02:35:16 +03:00
|
|
|
class MainWindow : public QMainWindow {
|
2024-08-18 13:57:57 +03:00
|
|
|
Q_OBJECT
|
|
|
|
|
2024-08-19 02:35:16 +03:00
|
|
|
Check check;
|
|
|
|
Parser parser;
|
|
|
|
|
2024-08-18 13:57:57 +03:00
|
|
|
public:
|
|
|
|
MainWindow(QWidget *parent = nullptr);
|
|
|
|
~MainWindow();
|
2024-08-19 02:35:16 +03:00
|
|
|
void setupStoresList();
|
|
|
|
|
|
|
|
Check get_check();
|
|
|
|
private slots:
|
|
|
|
void on_checkType_currentIndexChanged(int index);
|
|
|
|
|
|
|
|
void on_parseButton_clicked();
|
2024-08-18 13:57:57 +03:00
|
|
|
|
|
|
|
private:
|
|
|
|
Ui::MainWindow *ui;
|
|
|
|
};
|
|
|
|
#endif // MAINWINDOW_H
|