diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2011-10-02 09:58:10 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2011-10-02 09:58:10 +0200 |
commit | f474c3c923fe5bb27c1ee11e2c6dd57e41889f27 (patch) | |
tree | 93e2a3e2624bb2e4d238d22124956cd066643b03 /dgedit/canvastoolthreshold.h | |
parent | 83807cf93ef362098d6fea6030646653cc62e37f (diff) |
Made conenctions for CanvasTool work (again...).
Diffstat (limited to 'dgedit/canvastoolthreshold.h')
-rw-r--r-- | dgedit/canvastoolthreshold.h | 4 |
1 files changed, 4 insertions, 0 deletions
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; |