12345678910111213141516171819202122232425262728293031323334353637383940 |
- #pragma once
- #include <QDialog>
- #include <QDebug>
- #include "ui_ChangesizeTool.h"
- #include "../toolinterface.h"
- #include "HalconCpp.h"
- using namespace HalconCpp;
- namespace Ui {
- class changesize;
- }
- class changesize : public ToolInterface
- {
- Q_OBJECT
- public:
- explicit changesize(QWidget *parent = 0);
- ~changesize();
- virtual QString ShowParameter();
- virtual int Execute();
- signals:
- // void updateParameter(QString);
- private slots:
- void on_BTN_Add1_clicked();
- void on_BTN_Sub1_clicked();
- void on_BTN_Add2_clicked();
- void on_BTN_Sub2_clicked();
- void on_lineEdit_width_editingFinished();
- void on_lineEdit_height_editingFinished();
- private:
- Ui::changesize *ui;
- int m_nWidth;
- int m_nHeight;
- };
|