123456789101112131415161718192021222324252627282930313233343536 |
- #pragma once
- #include <QDialog>
- #include <QDebug>
- #include "ui_thresholdtool.h"
- #include "../toolinterface.h"
- #include "HalconCpp.h"
- using namespace HalconCpp;
- namespace Ui {
- class ThresholdTool;
- }
- class ThresholdTool : public ToolInterface
- {
- Q_OBJECT
- public:
- explicit ThresholdTool(QWidget *parent = 0);
- ~ThresholdTool();
- virtual bool Serialized(QDataStream& ar, bool bIsOut);
- virtual QString ShowParameter();
- virtual int Execute();
- private slots:
- void on_horizontalSlidermax_valueChanged(int value);
- void on_horizontalSlidermin_valueChanged(int value);
- void on_checkBox_clicked();
- private:
- Ui::ThresholdTool *ui;
- int Min;
- int Max;
- };
|