123456789101112131415161718192021222324252627282930313233343536373839404142 |
- #pragma once
- #include <QDialog>
- #include <QDebug>
- #include "ui_GraydilationTool.h"
- #include "../toolinterface.h"
- #include "HalconCpp.h"
- using namespace HalconCpp;
- namespace Ui {
- class graydilation;
- }
- class graydilation : public ToolInterface
- {
- Q_OBJECT
- public:
- explicit graydilation(QWidget *parent = 0);
- ~graydilation();
- virtual bool Serialized(QDataStream& ar, bool bIsOut);
- virtual QString ShowParameter();
- virtual int Execute();
- 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();
- signals:
- // void updateParameter(QString);
- private:
- Ui::graydilation *ui;
- int m_nWidth;
- int m_nHeight;
- };
|