123456789101112131415161718192021222324252627282930313233343536373839404142 |
- #pragma once
- #include <QDialog>
- #include <QDebug>
- #include "ui_IlluminatetoolTool.h"
- #include "../toolinterface.h"
- #include "HalconCpp.h"
- using namespace HalconCpp;
- namespace Ui {
- class illuminatetool;
- }
- class illuminatetool : public ToolInterface
- {
- Q_OBJECT
- public:
- explicit illuminatetool(QWidget *parent = 0);
- ~illuminatetool();
- 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::illuminatetool *ui;
- int m_nWidth;
- int m_nHeight;
- float m_fFactor;
- };
|