#include <pianokeyboard.h>
◆ PianoKeyboard()
Ms::PianoKeyboard::PianoKeyboard |
( |
QWidget * |
parent = 0 | ) |
|
◆ keyPressed
void Ms::PianoKeyboard::keyPressed |
( |
int |
pitch | ) |
|
|
signal |
◆ keyReleased
void Ms::PianoKeyboard::keyReleased |
( |
int |
pitch | ) |
|
|
signal |
◆ leaveEvent()
void Ms::PianoKeyboard::leaveEvent |
( |
QEvent * |
| ) |
|
|
privatevirtual |
◆ mouseMoveEvent()
void Ms::PianoKeyboard::mouseMoveEvent |
( |
QMouseEvent * |
event | ) |
|
|
privatevirtual |
◆ mousePressEvent()
void Ms::PianoKeyboard::mousePressEvent |
( |
QMouseEvent * |
event | ) |
|
|
privatevirtual |
◆ mouseReleaseEvent()
void Ms::PianoKeyboard::mouseReleaseEvent |
( |
QMouseEvent * |
| ) |
|
|
privatevirtual |
◆ paintEvent()
void Ms::PianoKeyboard::paintEvent |
( |
QPaintEvent * |
| ) |
|
|
privatevirtual |
◆ pitchChanged
void Ms::PianoKeyboard::pitchChanged |
( |
int |
| ) |
|
|
signal |
◆ setNoteHeight
void Ms::PianoKeyboard::setNoteHeight |
( |
int |
nh | ) |
|
|
slot |
◆ setOrientation()
◆ setPitch
void Ms::PianoKeyboard::setPitch |
( |
int |
val | ) |
|
|
slot |
◆ setStaff()
void Ms::PianoKeyboard::setStaff |
( |
Staff * |
staff | ) |
|
◆ setYpos
void Ms::PianoKeyboard::setYpos |
( |
int |
val | ) |
|
|
slot |
◆ staff()
Staff* Ms::PianoKeyboard::staff |
( |
| ) |
|
|
inline |
◆ _orientation
◆ _staff
Staff* Ms::PianoKeyboard::_staff |
|
private |
◆ _ypos
int Ms::PianoKeyboard::_ypos |
|
private |
◆ curKeyPressed
int Ms::PianoKeyboard::curKeyPressed |
|
private |
◆ curPitch
int Ms::PianoKeyboard::curPitch |
|
private |
◆ noteHeight
int Ms::PianoKeyboard::noteHeight |
|
private |
◆ pitchNames
const QString Ms::PianoKeyboard::pitchNames |
|
staticprivate |
Initial value:=
{"C", "C#", "D", "D#", "E", "F", "F#", "G", "G#", "A", "A#", "B"}
◆ yRange
int Ms::PianoKeyboard::yRange |
|
private |
The documentation for this class was generated from the following files: