diff options
Diffstat (limited to 'muse2/muse/midiedit/prcanvas.h')
-rw-r--r-- | muse2/muse/midiedit/prcanvas.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/muse2/muse/midiedit/prcanvas.h b/muse2/muse/midiedit/prcanvas.h index 96b5b4f5..663b933a 100644 --- a/muse2/muse/midiedit/prcanvas.h +++ b/muse2/muse/midiedit/prcanvas.h @@ -40,6 +40,8 @@ class QRect; //--------------------------------------------------------- class PianoCanvas : public EventCanvas { + Q_OBJECT + int colorMode; int playedPitch; @@ -47,7 +49,7 @@ class PianoCanvas : public EventCanvas { StepRec* steprec; - Q_OBJECT + virtual void viewMouseDoubleClickEvent(QMouseEvent*); virtual void drawItem(QPainter&, const CItem*, const QRect&); void drawTopItem(QPainter &p, const QRect &rect); |