|
| | VstPluginKnob (VstPlugin *plugin, int paramIndex, const QString &name, QWidget *parent) |
| | ~VstPluginKnob () override=default |
| | Knob (KnobType _knob_num, QWidget *_parent=nullptr, const QString &_name=QString()) |
| | Construct a Knob with the given style and no label.
|
| | Knob (KnobType knobNum, const QString &labelText, QWidget *parent=nullptr, LabelRendering labelRendering=LabelRendering::WidgetFont, const QString &name=QString()) |
| | Construct a Knob with the given style and label text.
|
| | Knob (KnobType knobNum, const QString &labelText, int labelPixelSize, QWidget *parent, const QString &name=QString()) |
| | Constructs a knob with a label font in the pixel size.
|
| | Knob (QWidget *_parent=nullptr, const QString &_name=QString()) |
| | default ctor
|
| | Knob (const Knob &other)=delete |
| const QString & | getLabel () const |
| void | setLabel (const QString &txt) |
| void | setTotalAngle (float angle) |
| float | innerRadius () const |
| void | setInnerRadius (float r) |
| float | outerRadius () const |
| void | setOuterRadius (float r) |
| KnobType | knobNum () const |
| void | setknobNum (KnobType k) |
| QPointF | centerPoint () const |
| float | centerPointX () const |
| void | setCenterPointX (float c) |
| float | centerPointY () const |
| void | setCenterPointY (float c) |
| float | lineWidth () const |
| void | setLineWidth (float w) |
| QColor | outerColor () const |
| void | setOuterColor (const QColor &c) |
| QColor | textColor () const |
| void | setTextColor (const QColor &c) |
| | FloatModelEditorBase (DirectionOfManipulation directionOfManipulation=DirectionOfManipulation::Vertical, QWidget *_parent=nullptr, const QString &_name=QString()) |
| | default ctor
|
| | FloatModelEditorBase (const FloatModelEditorBase &other)=delete |
| void | setHintText (const QString &txt_before, const QString &txt_after) |
| | TypedModelView (Model *model, QWidget *_this) |
| FloatModel * | model () |
| const FloatModel * | 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 |
| auto lmms::gui::VstPluginKnob::getCustomFloatingText |
( |
| ) |
-> QString |
|
overrideprivatevirtual |
This method is called just prior to displaying the floating text in order to set its value. If the getCustomFloatingTextUpdate() method is not overridden, this method is also called to periodically update the floating text.
Floating text is displayed in the following format: "[description] [custom text][unit]"
This method controls only the "custom text" portion. To modify the other portions, call setDescription() or setUnit().
Reimplemented from lmms::gui::FloatModelEditorBase.
| auto lmms::gui::VstPluginKnob::getCustomFloatingTextUpdate |
( |
| ) |
-> std::optional< QString > |
|
overrideprivatevirtual |
This method is called periodically while the floating text is visible and the value of the float model is changing, allowing dynamic updates of the floating text.
Floating text is displayed in the following format: "[description] [custom text][unit]"
This method controls only the "custom text" portion. To modify the other portions, call setDescription() or setUnit().
- Returns
- the up-to-date value for the floating text, or std::nullopt to indicate nothing changed and the previous floating text value should continue being used
Reimplemented from lmms::gui::FloatModelEditorBase.