![]() |
Mixxx
|
#include <wabstractcontrol.h>
Public Member Functions | |
WAbstractControl (QWidget *parent=0, float defaultValue=0.) | |
~WAbstractControl () | |
void | setDefaultValue (float value) |
Protected Member Functions | |
void | reset () |
Protected Attributes | |
float | m_fDefaultValue |
bool | m_bRightButtonPressed |
Definition at line 22 of file wabstractcontrol.h.
WAbstractControl::WAbstractControl | ( | QWidget * | parent = 0 , |
float | defaultValue = 0. |
||
) |
Definition at line 18 of file wabstractcontrol.cpp.
WAbstractControl::~WAbstractControl | ( | ) |
Definition at line 25 of file wabstractcontrol.cpp.
void WAbstractControl::reset | ( | ) | [protected] |
Resets the widgets value
Definition at line 34 of file wabstractcontrol.cpp.
void WAbstractControl::setDefaultValue | ( | float | value | ) |
Sets the default value to be used when resetting the value
Definition at line 29 of file wabstractcontrol.cpp.
bool WAbstractControl::m_bRightButtonPressed [protected] |
True if right mouse button is pressed
Definition at line 35 of file wabstractcontrol.h.
float WAbstractControl::m_fDefaultValue [protected] |
Default value to be used when resetting the knob
Definition at line 33 of file wabstractcontrol.h.