#include <LedCheckBox.h>
|
| | LedCheckBox (const QString &_txt, QWidget *_parent, const QString &_name=QString(), LedColor _color=LedColor::Yellow, bool legacyMode=true) |
| | LedCheckBox (QWidget *_parent, const QString &_name=QString(), LedColor _color=LedColor::Yellow, bool legacyMode=true) |
| const QString & | text () |
| void | setText (const QString &s) |
| | AutomatableButton (QWidget *_parent, const QString &_name=QString()) |
| | ~AutomatableButton () override |
| void | setCheckable (bool _on) |
| void | modelChanged () override |
| | TypedModelView (Model *model, QWidget *_this) |
| BoolModel * | model () |
| const BoolModel * | model () const |
| | AutomatableModelView (Model *model, QWidget *_this) |
| | ~AutomatableModelView () override=default |
| AutomatableModel * | modelUntyped () |
| const AutomatableModel * | modelUntyped () const |
| void | setModel (Model *model, bool isOldModelValid=true) override |
| void | unsetModel () override |
| template<typename T> |
| T | value () const |
| void | setDescription (const QString &desc) |
| void | setUnit (const QString &unit) |
| void | addDefaultActions (QMenu *menu) |
| void | setConversionFactor (float factor) |
| float | getConversionFactor () |
| | ModelView (Model *model, QWidget *widget) |
| virtual | ~ModelView () |
| Model * | model () |
| const Model * | model () const |
| template<class T> |
| T * | castModel () |
| template<class T> |
| const T * | castModel () const |
◆ LedColor
| Enumerator |
|---|
| Yellow | |
| Green | |
| Red | |
◆ LedCheckBox() [1/2]
◆ LedCheckBox() [2/2]
◆ initUi()
◆ onTextUpdated()
| void lmms::gui::LedCheckBox::onTextUpdated |
( |
| ) |
|
|
private |
to be called when you updated m_text
◆ paintEvent()
| void lmms::gui::LedCheckBox::paintEvent |
( |
QPaintEvent * | _pe | ) |
|
|
overrideprotected |
◆ paintLegacy()
| void lmms::gui::LedCheckBox::paintLegacy |
( |
QPaintEvent * | p | ) |
|
|
private |
◆ paintNonLegacy()
| void lmms::gui::LedCheckBox::paintNonLegacy |
( |
QPaintEvent * | p | ) |
|
|
private |
◆ setText()
| void lmms::gui::LedCheckBox::setText |
( |
const QString & | s | ) |
|
◆ text()
| const QString & lmms::gui::LedCheckBox::text |
( |
| ) |
|
|
inline |
◆ m_ledOffPixmap
| QPixmap lmms::gui::LedCheckBox::m_ledOffPixmap |
|
private |
◆ m_ledOnPixmap
| QPixmap lmms::gui::LedCheckBox::m_ledOnPixmap |
|
private |
◆ m_legacyMode
| bool lmms::gui::LedCheckBox::m_legacyMode |
|
private |
◆ m_text
| QString lmms::gui::LedCheckBox::m_text |
|
private |
◆ text
| QString lmms::gui::LedCheckBox::text |
|
readwrite |
The documentation for this class was generated from the following files: