checks-parser/mainwindow.h

46 lines
787 B
C
Raw Normal View History

2024-08-18 13:57:57 +03:00
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#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
class MainWindow : public QMainWindow {
2024-08-18 13:57:57 +03:00
Q_OBJECT
Check check;
Parser parser;
2024-08-18 13:57:57 +03:00
public:
MainWindow(QWidget *parent = nullptr);
~MainWindow();
void setupStoresList();
Check get_check();
void onDecodedData(std::string);
private slots:
void on_parseButton_clicked();
2024-08-18 13:57:57 +03:00
void on_storeType_currentIndexChanged(int index);
// void on_chooseImageButton_clicked();
2024-09-01 16:15:00 +03:00
2024-10-05 13:52:44 +03:00
void on_preferencesButton_clicked();
void on_chooseImageButton_ofd_clicked();
void on_chooseImageButton_ocr_clicked();
2024-08-18 13:57:57 +03:00
private:
Ui::MainWindow *ui;
};
#endif // MAINWINDOW_H