|
lmms
Cross-platform music production software
|
#include <NineButtonSelector.h>
Public Slots | |
| void | buttonClicked (int id) |
| void | contextMenuEvent (QContextMenuEvent *) override |
Signals | |
| void | NineButtonSelection (int) |
Public Member Functions | |
| NineButtonSelector (const std::array< QPixmap, 18 > &onOffIcons, int defaultButton, int x, int y, QWidget *parent) | |
| ~NineButtonSelector () override=default | |
| Public Member Functions inherited from lmms::gui::TypedModelView< IntModel > | |
| TypedModelView (Model *model, QWidget *_this) | |
| IntModel * | model () |
| const IntModel * | 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 | setSelected (int newButton) |
| Protected Member Functions inherited from lmms::gui::AutomatableModelView | |
| virtual void | mousePressEvent (QMouseEvent *event) |
| Protected Member Functions inherited from lmms::gui::ModelView | |
| QWidget * | widget () |
| virtual void | doConnections () |
Private Member Functions | |
| void | modelChanged () override |
| void | updateButton (int) |
Private Attributes | |
| std::array< PixmapButton *, 9 > | m_buttons |
| PixmapButton * | m_lastBtn |
Additional Inherited Members | |
| Protected Attributes inherited from lmms::gui::AutomatableModelView | |
| QString | m_description |
| QString | m_unit |
| float | m_conversionFactor |
| lmms::gui::NineButtonSelector::NineButtonSelector | ( | const std::array< QPixmap, 18 > & | onOffIcons, |
| int | defaultButton, | ||
| int | x, | ||
| int | y, | ||
| QWidget * | parent ) |
|
overridedefault |
|
slot |
|
overrideslot |
|
overrideprivatevirtual |
Reimplemented from lmms::gui::ModelView.
|
signal |
|
protected |
|
private |
|
private |
|
private |