|
| auto | zeroDbfsPoint () const -> float |
| | The value where the volume model is at 0 dBFS (default is 100).
|
| void | setZeroDbfsPoint (float zeroDbfsPoint) |
| | 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) |
| void | setToolTip (const QString &tip) |
| | Sets the tooltip displayed when the mouse hovers over the control.
|
| QString | toolTip () const |
| void | unsetToolTip () |
| | 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 |
Volume knob specialization
Notes:
- The units displayed in the tooltip and the enterValue() dialog box are hardcoded to dBFS, but units shown in the context menu must be set via setUnit(). Usually this should be "%".
- The model's value of 0 must mean -inf dBFS and the value zeroDbfsPoint() (whose default is 100) must mean 0 dBFS.
- Models with both positive and negative values are allowed. A negative value is assumed to have the same effect as its corresponding positive value, but with inverted phase. See Flanger's feedback knob for an example.