|
lmms
Cross-platform music production software
|
#include <PixmapButton.h>
Signals | |
| void | doubleClicked () |
Public Member Functions | |
| PixmapButton (QWidget *_parent, const QString &_name=QString()) | |
| ~PixmapButton () override=default | |
| void | setActiveGraphic (const QPixmap &_pm) |
| void | setInactiveGraphic (const QPixmap &_pm, bool _update=true) |
| QSize | sizeHint () const override |
| QSize | minimumSizeHint () const override |
| Public Member Functions inherited from lmms::gui::AutomatableButton | |
| AutomatableButton (QWidget *_parent, const QString &_name=QString()) | |
| ~AutomatableButton () override | |
| void | setCheckable (bool _on) |
| void | modelChanged () override |
| Public Member Functions inherited from lmms::gui::TypedModelView< BoolModel > | |
| TypedModelView (Model *model, QWidget *_this) | |
| BoolModel * | model () |
| const BoolModel * | model () const |
| Public Member Functions inherited from lmms::gui::AutomatableModelView | |
| 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 () |
| Public Member Functions inherited from lmms::gui::ModelView | |
| 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 |
Protected Member Functions | |
| void | paintEvent (QPaintEvent *_pe) override |
| void | mousePressEvent (QMouseEvent *_me) override |
| void | mouseReleaseEvent (QMouseEvent *_me) override |
| void | mouseDoubleClickEvent (QMouseEvent *_me) override |
| Protected Member Functions inherited from lmms::gui::AutomatableButton | |
| void | contextMenuEvent (QContextMenuEvent *_me) override |
| void | mouseReleaseEvent (QMouseEvent *_me) override |
| Protected Member Functions inherited from lmms::gui::ModelView | |
| QWidget * | widget () |
| virtual void | doConnections () |
Private Member Functions | |
| bool | isActive () const |
Private Attributes | |
| QPixmap | m_activePixmap |
| QPixmap | m_inactivePixmap |
| bool | m_pressed |
Additional Inherited Members | |
| Public Slots inherited from lmms::gui::AutomatableButton | |
| virtual void | update () |
| virtual void | toggle () |
| virtual void | setChecked (bool _on) |
| Protected Attributes inherited from lmms::gui::AutomatableModelView | |
| QString | m_description |
| QString | m_unit |
| float | m_conversionFactor |
| lmms::gui::PixmapButton::PixmapButton | ( | QWidget * | _parent, |
| const QString & | _name = QString() ) |
|
overridedefault |
|
signal |
|
private |
|
override |
|
overrideprotected |
|
overrideprotectedvirtual |
Reimplemented from lmms::gui::AutomatableButton.
|
overrideprotected |
|
overrideprotected |
| void lmms::gui::PixmapButton::setActiveGraphic | ( | const QPixmap & | _pm | ) |
| void lmms::gui::PixmapButton::setInactiveGraphic | ( | const QPixmap & | _pm, |
| bool | _update = true ) |
|
override |
|
private |
|
private |
|
private |