summaryrefslogtreecommitdiff
path: root/dgedit/canvastoolselections.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2011-10-02 09:58:10 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2011-10-02 09:58:10 +0200
commitf474c3c923fe5bb27c1ee11e2c6dd57e41889f27 (patch)
tree93e2a3e2624bb2e4d238d22124956cd066643b03 /dgedit/canvastoolselections.h
parent83807cf93ef362098d6fea6030646653cc62e37f (diff)
Made conenctions for CanvasTool work (again...).
Diffstat (limited to 'dgedit/canvastoolselections.h')
-rw-r--r--dgedit/canvastoolselections.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/dgedit/canvastoolselections.h b/dgedit/canvastoolselections.h
index a8b37a3..a9e4d56 100644
--- a/dgedit/canvastoolselections.h
+++ b/dgedit/canvastoolselections.h
@@ -40,6 +40,7 @@ Q_OBJECT
public:
CanvasToolSelections(Canvas *canvas);
+ QString name() { return "Selections"; }
bool mouseMoveEvent(QMouseEvent *event);
bool mousePressEvent(QMouseEvent *event);
bool mouseReleaseEvent(QMouseEvent *event);
@@ -55,6 +56,7 @@ signals:
public slots:
void autoCreateSelections();
void clearSelections();
+ void thresholdChanged(double threshold);
private:
bool selection_is_moving_left;
@@ -64,8 +66,7 @@ private:
Canvas *canvas;
- float *data;
- size_t size;
+ double threshold;
QColor colSelBg;
QColor colSel;