#include <piano.h>
|
static QPixmap * | octave |
|
static QPixmap * | mk1 |
|
static QPixmap * | mk2 |
|
static QPixmap * | mk3 |
|
static QPixmap * | mk4 |
|
◆ Piano()
Ms::Piano::Piano |
( |
QWidget * |
parent = 0 | ) |
|
◆ keyPressed
void Ms::Piano::keyPressed |
( |
int |
pitch | ) |
|
|
signal |
◆ keyReleased
void Ms::Piano::keyReleased |
( |
int |
pitch | ) |
|
|
signal |
◆ leaveEvent()
void Ms::Piano::leaveEvent |
( |
QEvent * |
| ) |
|
|
privatevirtual |
◆ mouseMoveEvent()
void Ms::Piano::mouseMoveEvent |
( |
QMouseEvent * |
event | ) |
|
|
privatevirtual |
◆ mousePressEvent()
void Ms::Piano::mousePressEvent |
( |
QMouseEvent * |
event | ) |
|
|
privatevirtual |
◆ mouseReleaseEvent()
void Ms::Piano::mouseReleaseEvent |
( |
QMouseEvent * |
| ) |
|
|
privatevirtual |
◆ paintEvent()
void Ms::Piano::paintEvent |
( |
QPaintEvent * |
event | ) |
|
|
privatevirtual |
◆ pitch2y()
int Ms::Piano::pitch2y |
( |
int |
pitch | ) |
const |
|
private |
◆ pitchChanged
void Ms::Piano::pitchChanged |
( |
int |
| ) |
|
|
signal |
◆ setMag
void Ms::Piano::setMag |
( |
double |
, |
|
|
double |
ym |
|
) |
| |
|
slot |
◆ setOrientation()
◆ setPitch
void Ms::Piano::setPitch |
( |
int |
val | ) |
|
|
slot |
◆ setYpos
void Ms::Piano::setYpos |
( |
int |
val | ) |
|
|
slot |
◆ y2pitch()
int Ms::Piano::y2pitch |
( |
int |
y | ) |
const |
|
private |
◆ _orientation
◆ _ymag
◆ _ypos
◆ curKeyPressed
int Ms::Piano::curKeyPressed |
|
private |
◆ curPitch
◆ mk1
◆ mk2
◆ mk3
◆ mk4
◆ octave
QPixmap * Ms::Piano::octave |
|
staticprivate |
◆ yRange
The documentation for this class was generated from the following files: