diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2013-05-09 12:04:49 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2013-05-09 12:04:49 +0200 |
commit | 14041f774fc25ea1372587c344c42cdc57172155 (patch) | |
tree | c953eb1b7e0b5ef771950665de02c44c42ab8206 /dgedit/samplesorter.h | |
parent | a4d73c0cb2321bd61bd31d2922ae469389e5825e (diff) |
Click sorted samples hilight the corresponding canvas selection.
Diffstat (limited to 'dgedit/samplesorter.h')
-rw-r--r-- | dgedit/samplesorter.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/dgedit/samplesorter.h b/dgedit/samplesorter.h index f277ff1..7b214e7 100644 --- a/dgedit/samplesorter.h +++ b/dgedit/samplesorter.h @@ -61,7 +61,12 @@ protected: void mousePressEvent(QMouseEvent *event); void mouseReleaseEvent(QMouseEvent *event); +signals: + void activeSelectionChanged(Selection selection); + private: + Selection *getSelectionByCoordinate(int x, int y); + Selections _selections; QMap<float, Selection> sorted; float min; |