Mixxx

WAbstractControl Class Reference

#include <wabstractcontrol.h>

Inheritance diagram for WAbstractControl:
Collaboration diagram for WAbstractControl:

List of all members.

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

Detailed Description

Definition at line 22 of file wabstractcontrol.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

void WAbstractControl::reset ( ) [protected]

Resets the widgets value

Definition at line 34 of file wabstractcontrol.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void WAbstractControl::setDefaultValue ( float  value)

Sets the default value to be used when resetting the value

Definition at line 29 of file wabstractcontrol.cpp.


Member Data Documentation

True if right mouse button is pressed

Definition at line 35 of file wabstractcontrol.h.

Default value to be used when resetting the knob

Definition at line 33 of file wabstractcontrol.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines