MuseScore
3.4
Music composition and notation
|
The AwlAbstractSlider class provides an double value within a range. More...
#include <aslider.h>
Public Slots | |
virtual void | setValue (double v) |
Signals | |
void | valueChanged (double, int) |
Public Member Functions | |
AbstractSlider (QWidget *parent=0) | |
virtual void | setCenter (bool val) |
If the center flag is set, a notch is drawn to show the center position. More... | |
virtual void | setScaleWidth (int) |
More... | |
virtual void | setScaleColor (const QColor &) |
virtual void | setScaleValueColor (const QColor &) |
bool | enableMouseWheel () |
virtual void | setEnableMouseWheel (bool enabled) |
bool | center () const |
return the center flag More... | |
int | scaleWidth () const |
return the scale line width More... | |
QColor | scaleColor () const |
return current scale color More... | |
QColor | scaleValueColor () const |
return color of active scale part More... | |
virtual void | setInvertedAppearance (bool val) |
bool | invertedAppearance () const |
int | id () const |
void | setId (int i) |
virtual double | value () const |
virtual QString | userValue () const |
double | minValue () const |
void | setMinValue (double v) |
void | setMinLogValue (double v) |
double | maxValue () const |
void | setMaxValue (double v) |
void | setMaxLogValue (double v) |
void | setRange (double a, double b) |
void | setLogRange (double a, double b) |
bool | log () const |
void | setLog (bool v) |
double | lineStep () const |
void | setLineStep (double v) |
double | pageStep () const |
void | setPageStep (double f) |
double | dclickValue1 () const |
double | dclickValue2 () const |
void | setDclickValue1 (double val) |
void | setDclickValue2 (double val) |
void | setEnabled (bool val) |
void | setUseActualValue (bool v) |
Protected Member Functions | |
virtual void | wheelEvent (QWheelEvent *) |
for user value More... | |
virtual void | keyPressEvent (QKeyEvent *) |
virtual void | mouseDoubleClickEvent (QMouseEvent *) |
virtual void | valueChange () |
Protected Attributes | |
int | __id |
double | _value |
double | _minValue |
double | _maxValue |
double | _lineStep |
double | _pageStep |
double | _dclickValue1 |
double | _dclickValue2 |
bool | _center |
bool | _enableMouseWheel |
bool | _invert |
int | _scaleWidth |
QColor | _scaleColor |
scale line width More... | |
QColor | _scaleValueColor |
bool | _log |
bool | _useActualValue |
Properties | |
double | value |
bool | center |
bool | invertedAppearance |
int | scaleWidth |
QColor | scaleColor |
QColor | scaleValueColor |
int | id |
double | minValue |
double | maxValue |
double | lineStep |
double | pageStep |
bool | log |
double | dclickValue1 |
double | dclickValue2 |
The AwlAbstractSlider class provides an double value within a range.
The class is designed as a common super class for widgets like AwlKnob and AwlSlider
Awl::AbstractSlider::AbstractSlider | ( | QWidget * | parent = 0 | ) |
|
inline |
return the center flag
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
protectedvirtual |
|
inline |
|
inline |
|
inline |
|
inline |
|
protectedvirtual |
|
inline |
|
inline |
return current scale color
|
inline |
return color of active scale part
|
inline |
return the scale line width
|
virtual |
If the center flag is set, a notch is drawn to show the center position.
|
inline |
|
inline |
void Awl::AbstractSlider::setEnabled | ( | bool | val | ) |
|
virtual |
|
inline |
|
inlinevirtual |
Reimplemented in Awl::Slider.
|
inline |
|
inline |
|
inline |
void Awl::AbstractSlider::setMaxLogValue | ( | double | v | ) |
|
inline |
void Awl::AbstractSlider::setMinLogValue | ( | double | v | ) |
|
inline |
|
inline |
|
inline |
|
virtual |
|
virtual |
|
virtual |
|
inline |
|
virtualslot |
|
virtual |
|
virtual |
Reimplemented in Awl::VolSlider.
|
protectedvirtual |
|
signal |
|
protectedvirtual |
for user value
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
scale line width
|
protected |
|
protected |
|
protected |
|
protected |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |