YunDaISASImageRecognitionService.h 907 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. #pragma once
  2. #include <QtWidgets/QMainWindow>
  3. #include "ui_YunDaISASImageRecognitionService.h"
  4. #include <QTextBrowser>
  5. #include <QLabel>
  6. #include <QString>
  7. class YunDaISASImageRecognitionService : public QMainWindow
  8. {
  9. Q_OBJECT
  10. public:
  11. YunDaISASImageRecognitionService(QWidget *parent = nullptr);
  12. ~YunDaISASImageRecognitionService();
  13. private:
  14. static QTextBrowser* GetQTextBrowser();
  15. static QImage* GetImage();
  16. public:
  17. static void SetImage(QString path);
  18. static void ConsoleLog(QString msg);
  19. static bool GetReconginzeStratgy();
  20. static bool GetIsShowDectect();
  21. private:
  22. Ui::YunDaISASImageRecognitionServiceClass ui;
  23. protected:
  24. void resizeEvent(QResizeEvent* event);
  25. protected slots:
  26. void appendText(QString msg);
  27. void changeImgShow(QString path);
  28. //
  29. signals:
  30. void valueTxtChanged(QString msg);
  31. void valueImgChanged(QString path);
  32. };