diff options
author | Florian Jung <flo@windfisch.org> | 2011-06-03 14:24:08 +0000 |
---|---|---|
committer | Florian Jung <flo@windfisch.org> | 2011-06-03 14:24:08 +0000 |
commit | db164b62e3892bd17d1a2eabca76bde3b67072df (patch) | |
tree | ab71ac4b4f05ab94c008d75ef7052bef5af6cc74 /muse2/muse/midiedit/piano.h | |
parent | def4fdb391f5207ebbe61881416f39f3d896cc5d (diff) | |
parent | 9187899632c14d64b3fae6477b7f941240f912a6 (diff) |
merged with trunk and adapted new functions
Diffstat (limited to 'muse2/muse/midiedit/piano.h')
-rw-r--r-- | muse2/muse/midiedit/piano.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/muse2/muse/midiedit/piano.h b/muse2/muse/midiedit/piano.h index 35106d64..f8deec52 100644 --- a/muse2/muse/midiedit/piano.h +++ b/muse2/muse/midiedit/piano.h @@ -23,6 +23,8 @@ class QPixmap; class Piano : public View { + Q_OBJECT + int curPitch; QPixmap* octave; QPixmap* c_keys[10]; @@ -34,7 +36,7 @@ class Piano : public View bool shift; int button; - Q_OBJECT + int y2pitch(int) const; int pitch2y(int) const; void viewMouseMoveEvent(QMouseEvent* event); |