|
| | 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 |
| | 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 |
| QString lmms::gui::VolumeKnob::getCustomFloatingText |
( |
| ) |
|
|
overrideprotectedvirtual |
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.