RotateTool.h 682 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. #pragma once
  2. #include <QDialog>
  3. #include <QDebug>
  4. #include "ui_RotateTool.h"
  5. #include "../toolinterface.h"
  6. #include "HalconCpp.h"
  7. using namespace HalconCpp;
  8. namespace Ui {
  9. class rotatetool;
  10. }
  11. class rotatetool : public ToolInterface
  12. {
  13. Q_OBJECT
  14. public:
  15. explicit rotatetool(QWidget *parent = 0);
  16. ~rotatetool();
  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_radioButton90_clicked();
  24. void on_radioButton180_clicked();
  25. void on_radioButton270_clicked();
  26. private:
  27. Ui::rotatetool *ui;
  28. int m_nType = 1;
  29. };