From f474c3c923fe5bb27c1ee11e2c6dd57e41889f27 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Sun, 2 Oct 2011 09:58:10 +0200 Subject: Made conenctions for CanvasTool work (again...). --- dgedit/canvastoolthreshold.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'dgedit/canvastoolthreshold.h') diff --git a/dgedit/canvastoolthreshold.h b/dgedit/canvastoolthreshold.h index b19bf01..0c593e8 100644 --- a/dgedit/canvastoolthreshold.h +++ b/dgedit/canvastoolthreshold.h @@ -38,11 +38,15 @@ Q_OBJECT public: CanvasToolThreshold(Canvas *canvas); + QString name() { return "Threshold"; } bool mouseMoveEvent(QMouseEvent *event); bool mousePressEvent(QMouseEvent *event); bool mouseReleaseEvent(QMouseEvent *event); void paintEvent(QPaintEvent *event, QPainter &painter); +signals: + void thresholdChanged(double threshold); + private: float threshold; bool threshold_is_moving; -- cgit v1.2.3