123456789101112131415161718192021222324252627282930313233343536373839 |
- #pragma once
- #include <QtWidgets/QMainWindow>
- #include "ui_YunDaISASImageRecognitionService.h"
- #include <QTextBrowser>
- #include <QLabel>
- #include <QString>
- class YunDaISASImageRecognitionService : public QMainWindow
- {
- Q_OBJECT
- public:
- YunDaISASImageRecognitionService(QWidget *parent = nullptr);
- ~YunDaISASImageRecognitionService();
- private:
- static QTextBrowser* GetQTextBrowser();
- static QImage* GetImage();
- public:
- static void SetImage(QString path);
- static void ConsoleLog(QString msg);
- static bool GetReconginzeStratgy();
- static bool GetIsShowDectect();
- private:
- Ui::YunDaISASImageRecognitionServiceClass ui;
- protected:
- void resizeEvent(QResizeEvent* event);
- protected slots:
- void appendText(QString msg);
- void changeImgShow(QString path);
- //
- signals:
- void valueTxtChanged(QString msg);
- void valueImgChanged(QString path);
- };
|