MCPcopy Create free account
hub / github.com/CE-Programming/CEmu / RectKey

Method RectKey

gui/qt/keypad/rectkey.h:11–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9class RectKey : public Key {
10public:
11 RectKey(KeyConfig &config,
12 const QRect &textGeometry, const QRect &keyGeometry, const QSize &labelSize,
13 const QColor &keyColor, const QColor &textColor,
14 const QString &labelText, const QString &secondText, const QString &alphaText,
15 Qt::Alignment labelAlign = Qt::AlignCenter,
16 Qt::Alignment secondAlign = Qt::AlignVCenter | Qt::AlignLeft,
17 Qt::Alignment alphaAlign = Qt::AlignVCenter | Qt::AlignRight)
18 : RectKey{config.next(), textGeometry, keyGeometry, labelSize,
19 keyColor, textColor, config.secondColor, config.alphaColor,
20 labelText, secondText, alphaText, config.labelFont, config.secondFont, config.alphaFont,
21 labelAlign, secondAlign, alphaAlign} { }
22 RectKey(KeyCode keycode,
23 const QRect &textGeometry, const QRect &keyGeometry, const QSize &labelSize,
24 const QColor &keyColor, const QColor &textColor, const QColor &secondColor, const QColor &alphaColor,

Callers

nothing calls this directly

Calls 1

nextMethod · 0.80

Tested by

no test coverage detected