MirrorTool.h 678 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. #pragma once
  2. #include <QDialog>
  3. #include <QDebug>
  4. #include "ui_MirrorTool.h"
  5. #include "../toolinterface.h"
  6. #include "HalconCpp.h"
  7. using namespace HalconCpp;
  8. namespace Ui {
  9. class mirrortool;
  10. }
  11. class mirrortool : public ToolInterface
  12. {
  13. Q_OBJECT
  14. public:
  15. explicit mirrortool(QWidget *parent = 0);
  16. ~mirrortool();
  17. virtual bool Serialized(QDataStream& ar, bool bIsOut);
  18. virtual QString ShowParameter();
  19. virtual int Execute();
  20. signals:
  21. // void updateParameter(QString);
  22. private slots:
  23. void on_radioButton1_clicked();
  24. void on_radioButton2_clicked();
  25. void on_radioButton3_clicked();
  26. private:
  27. Ui::mirrortool *ui;
  28. int m_nType = 1;
  29. };