diff options
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; |