adds piano_roll key presses

This commit is contained in:
Gurjot Singh
2014-01-14 21:58:43 +05:30
parent e8190dc01e
commit d4a2e33bf5
3 changed files with 67 additions and 17 deletions

View File

@@ -56,6 +56,7 @@ private:
friend class PianoView;
friend class pianoRoll;
} ;

View File

@@ -50,7 +50,7 @@ class pattern;
class timeLine;
class toolButton;
class Piano;
class pianoRoll : public QWidget, public SerializingObject
{
Q_OBJECT
@@ -154,7 +154,7 @@ signals:
private:
Piano * m_piano;
enum editModes
{
ModeDraw,
@@ -230,8 +230,11 @@ private:
static const int cm_scrollAmtVert = 1;
static QPixmap * s_whiteKeyBigPm;
static QPixmap * s_whiteKeyBigPressedPm;
static QPixmap * s_whiteKeySmallPm;
static QPixmap * s_whiteKeySmallPressedPm;
static QPixmap * s_blackKeyPm;
static QPixmap * s_blackKeyPressedPm;
static QPixmap * s_toolDraw;
static QPixmap * s_toolErase;
static QPixmap * s_toolSelect;