#include <graphicskeyitem.h>
|
| GraphicsKeyItem (KeyColor color, const QString &text, const QColor &textColor) |
|
virtual void | paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget=0) override |
|
void | setFont (const QFont &font) |
|
|
static void | initShapes (qreal b_w, qreal b_h, qreal w_w, qreal w_h) |
|
Definition at line 30 of file graphicskeyitem.h.
GraphicsKeyItem::GraphicsKeyItem |
( |
KeyColor |
color, |
|
|
const QString & |
text, |
|
|
const QColor & |
textColor |
|
) |
| |
void GraphicsKeyItem::initShapes |
( |
qreal |
b_w, |
|
|
qreal |
b_h, |
|
|
qreal |
w_w, |
|
|
qreal |
w_h |
|
) |
| |
|
static |
void GraphicsKeyItem::paint |
( |
QPainter * |
painter, |
|
|
const QStyleOptionGraphicsItem * |
option, |
|
|
QWidget * |
widget = 0 |
|
) |
| |
|
overridevirtual |
void GraphicsKeyItem::setFont |
( |
const QFont & |
font | ) |
|
|
inline |
const int GraphicsKeyItem::KC_BLACK = piano::KC_BLACK |
|
static |
const int GraphicsKeyItem::KC_COUNT = piano::KC_COUNT |
|
static |
const int GraphicsKeyItem::KC_WHITE = piano::KC_WHITE |
|
static |
QFont GraphicsKeyItem::mFont |
|
private |
const KeyColor GraphicsKeyItem::mKeyColor |
|
private |
const QString GraphicsKeyItem::mText |
|
private |
const QColor GraphicsKeyItem::mTextColor |
|
private |
The documentation for this class was generated from the following files: