From eafdef4a5e7bb6cbed75b17a38a9b0e30c6e51a6 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Tue, 23 Apr 2013 20:43:59 +0200 Subject: Add some sliders to control internal parameters of the editor. --- dgedit/canvastoolselections.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'dgedit/canvastoolselections.h') diff --git a/dgedit/canvastoolselections.h b/dgedit/canvastoolselections.h index a9e4d56..99114de 100644 --- a/dgedit/canvastoolselections.h +++ b/dgedit/canvastoolselections.h @@ -57,6 +57,8 @@ public slots: void autoCreateSelections(); void clearSelections(); void thresholdChanged(double threshold); + void noiseFloorChanged(int t); + void fadeoutChanged(int t); private: bool selection_is_moving_left; @@ -67,7 +69,9 @@ private: Canvas *canvas; double threshold; - + double noise_floor; + double fadeout; + QColor colSelBg; QColor colSel; QColor colActiveSelBg; -- cgit v1.2.3