Mixxx

ControlObjectThreadWidget Class Reference

#include <controlobjectthreadwidget.h>

Inheritance diagram for ControlObjectThreadWidget:
Collaboration diagram for ControlObjectThreadWidget:

List of all members.

Public Types

enum  EmitOption { EMIT_NEVER = 0x00, EMIT_ON_PRESS = 0x01, EMIT_ON_RELEASE = 0x02, EMIT_ON_PRESS_AND_RELEASE = 0x03 }

Public Member Functions

 ControlObjectThreadWidget (ControlObject *pControlObject, QObject *pParent=NULL)
virtual ~ControlObjectThreadWidget ()
void setWidget (QWidget *widget, bool connectValueFromWidget=true, bool connectValueToWidget=true, EmitOption emitOption=EMIT_ON_PRESS, Qt::MouseButton state=Qt::NoButton)
void setWidgetOnOff (QWidget *widget)
bool setExtern (double v)

Detailed Description

Author:
Tue Haste Andersen

Definition at line 25 of file controlobjectthreadwidget.h.


Member Enumeration Documentation

Enumerator:
EMIT_NEVER 
EMIT_ON_PRESS 
EMIT_ON_RELEASE 
EMIT_ON_PRESS_AND_RELEASE 

Definition at line 30 of file controlobjectthreadwidget.h.


Constructor & Destructor Documentation

ControlObjectThreadWidget::ControlObjectThreadWidget ( ControlObject pControlObject,
QObject *  pParent = NULL 
)

Definition at line 18 of file controlobjectthreadwidget.cpp.

Here is the call graph for this function:

ControlObjectThreadWidget::~ControlObjectThreadWidget ( ) [virtual]

Definition at line 25 of file controlobjectthreadwidget.cpp.


Member Function Documentation

bool ControlObjectThreadWidget::setExtern ( double  v) [virtual]

Notify this object through events

Reimplemented from ControlObjectThreadMain.

Definition at line 77 of file controlobjectthreadwidget.cpp.

Here is the call graph for this function:

void ControlObjectThreadWidget::setWidget ( QWidget *  widget,
bool  connectValueFromWidget = true,
bool  connectValueToWidget = true,
EmitOption  emitOption = EMIT_ON_PRESS,
Qt::MouseButton  state = Qt::NoButton 
)

Associates a QWidget with the ControlObject.

Definition at line 28 of file controlobjectthreadwidget.cpp.

Here is the call graph for this function:

void ControlObjectThreadWidget::setWidgetOnOff ( QWidget *  widget)

Associates a the enabled/disabled state of a widget with the state of a ControlObject.

Definition at line 66 of file controlobjectthreadwidget.cpp.

Here is the call graph for this function:


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