Mixxx

WNumber Class Reference

#include <wnumber.h>

Inheritance diagram for WNumber:
Collaboration diagram for WNumber:

List of all members.

Public Slots

void setValue (double dValue)

Public Member Functions

 WNumber (QWidget *parent=0)
virtual ~WNumber ()
void setup (QDomNode node)
void setNumDigits (int)
void setConstFactor (double)

Protected Attributes

QLabel * m_pLabel
QString m_qsText
int m_iNoDigits
QColor m_qFgColor
QColor m_qBgColor
double m_dConstFactor

Detailed Description

Author:
Tue & Ken Haste Andersen

Definition at line 29 of file wnumber.h.


Constructor & Destructor Documentation

WNumber::WNumber ( QWidget *  parent = 0)

Definition at line 25 of file wnumber.cpp.

WNumber::~WNumber ( ) [virtual]

Definition at line 32 of file wnumber.cpp.


Member Function Documentation

void WNumber::setConstFactor ( double  c)

Definition at line 109 of file wnumber.cpp.

void WNumber::setNumDigits ( int  n)

Definition at line 95 of file wnumber.cpp.

Here is the caller graph for this function:

void WNumber::setup ( QDomNode  node)

Definition at line 37 of file wnumber.cpp.

Here is the call graph for this function:

void WNumber::setValue ( double  dValue) [virtual, slot]

Reimplemented from WWidget.

Reimplemented in WNumberPos, and WNumberRate.

Definition at line 100 of file wnumber.cpp.

Here is the caller graph for this function:


Member Data Documentation

double WNumber::m_dConstFactor [protected]

Constant factor added to value

Definition at line 48 of file wnumber.h.

int WNumber::m_iNoDigits [protected]

Definition at line 44 of file wnumber.h.

QLabel* WNumber::m_pLabel [protected]

Definition at line 42 of file wnumber.h.

QColor WNumber::m_qBgColor [protected]

Definition at line 46 of file wnumber.h.

QColor WNumber::m_qFgColor [protected]

Foreground and background colors

Definition at line 46 of file wnumber.h.

QString WNumber::m_qsText [protected]

Definition at line 43 of file wnumber.h.


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