1234567891011121314151617181920212223242526272829303132333435363738394041 |
- #pragma once
- #include <QDialog>
- #include <QDebug>
- #include "ui_EmphasizeTool.h"
- #include "../toolinterface.h"
- #include "HalconCpp.h"
- using namespace HalconCpp;
- namespace Ui {
- class emphasizetool;
- }
- class emphasizetool : public ToolInterface
- {
- Q_OBJECT
- public:
- explicit emphasizetool(QWidget *parent = 0);
- ~emphasizetool();
- virtual bool Serialized(QDataStream& ar, bool bIsOut);
- virtual QString ShowParameter();
- virtual int Execute();
- signals:
- // void updateParameter(QString);
- private slots:
- void on_horizontalSlidermin_valueChanged(int value);
- void on_horizontalSlidermax_valueChanged(int value);
- void on_horizontalSliderxishu_valueChanged(int value);
- private:
- Ui::emphasizetool *ui;
- int m_nWidth;
- int m_nHeight;
- float m_fFactor;
- };
|