![]() |
Mixxx
|
#include <wwidget.h>

Public Slots | |
| virtual void | setValue (double fValue) |
| void | updateValue (double fValue) |
| void | setOnOff (double) |
Signals | |
| void | valueChangedDown (double) |
| void | valueChangedUp (double) |
| void | valueChangedLeftDown (double) |
| void | valueChangedLeftUp (double) |
| void | valueChangedRightDown (double) |
| void | valueChangedRightUp (double) |
Public Member Functions | |
| WWidget (QWidget *parent=0, Qt::WFlags flags=0) | |
| virtual | ~WWidget () |
| double | getValue () |
Static Public Member Functions | |
| static void | setPixmapPath (QString qPath) |
| static QDomNode | selectNode (const QDomNode &nodeHeader, const QString sNode) |
| static int | selectNodeInt (const QDomNode &nodeHeader, const QString sNode) |
| static float | selectNodeFloat (const QDomNode &nodeHeader, const QString sNode) |
| static QString | selectNodeQString (const QDomNode &nodeHeader, const QString sNode) |
| static const QString | getPath (QString location) |
| static QDomElement | openXMLFile (QString path, QString name) |
Protected Attributes | |
| double | m_fValue |
| bool | m_bOff |
Abstract class used in widgets connected to ControlObjects. Derived widgets can implement the signal and slot for manipulating the widgets value. The widgets internal value should match that of a MIDI control. The ControlObject can contain another mapping of the MIDI/Widget value, but the mapping should always be done in the ControlObject.
| WWidget::WWidget | ( | QWidget * | parent = 0, |
| Qt::WFlags | flags = 0 |
||
| ) |
| WWidget::~WWidget | ( | ) | [virtual] |
Definition at line 45 of file wwidget.cpp.
| const QString WWidget::getPath | ( | QString | location | ) | [static] |
Given a filename of a pixmap, returns its path
Definition at line 115 of file wwidget.cpp.

| double WWidget::getValue | ( | ) |
| QDomElement WWidget::openXMLFile | ( | QString | path, |
| QString | name | ||
| ) | [static] |
| QDomNode WWidget::selectNode | ( | const QDomNode & | nodeHeader, |
| const QString | sNode | ||
| ) | [static] |
| float WWidget::selectNodeFloat | ( | const QDomNode & | nodeHeader, |
| const QString | sNode | ||
| ) | [static] |
Definition at line 87 of file wwidget.cpp.


| int WWidget::selectNodeInt | ( | const QDomNode & | nodeHeader, |
| const QString | sNode | ||
| ) | [static] |
Definition at line 75 of file wwidget.cpp.


| QString WWidget::selectNodeQString | ( | const QDomNode & | nodeHeader, |
| const QString | sNode | ||
| ) | [static] |
Definition at line 92 of file wwidget.cpp.


| void WWidget::setOnOff | ( | double | d | ) | [slot] |
Definition at line 55 of file wwidget.cpp.
| void WWidget::setPixmapPath | ( | QString | qPath | ) | [static] |
Sets the path used to find pixmaps
Definition at line 121 of file wwidget.cpp.
| void WWidget::setValue | ( | double | fValue | ) | [virtual, slot] |
Reimplemented in WNumber, WNumberPos, WNumberRate, WOverview, WPushButton, WSliderComposed, WStatusLight, WVisualSimple, and WVuMeter.
Definition at line 49 of file wwidget.cpp.

| void WWidget::updateValue | ( | double | fValue | ) | [slot] |
Definition at line 150 of file wwidget.cpp.


| void WWidget::valueChangedDown | ( | double | ) | [signal] |

| void WWidget::valueChangedLeftDown | ( | double | ) | [signal] |

| void WWidget::valueChangedLeftUp | ( | double | ) | [signal] |

| void WWidget::valueChangedRightDown | ( | double | ) | [signal] |

| void WWidget::valueChangedRightUp | ( | double | ) | [signal] |

| void WWidget::valueChangedUp | ( | double | ) | [signal] |

bool WWidget::m_bOff [protected] |
double WWidget::m_fValue [protected] |