Mixxx

WPushButton Class Reference

#include <wpushbutton.h>

Inheritance diagram for WPushButton:
Collaboration diagram for WPushButton:

List of all members.

Public Slots

void setValue (double)

Public Member Functions

 WPushButton (QWidget *parent=0)
 ~WPushButton ()
void setup (QDomNode node)
void setStates (int iStatesW)
void setPixmap (int iState, bool bPressed, const QString &filename)
void setPixmapBackground (const QString &filename)

Protected Member Functions

virtual void paintEvent (QPaintEvent *)
virtual void mousePressEvent (QMouseEvent *e)
virtual void mouseReleaseEvent (QMouseEvent *e)
virtual void focusOutEvent (QFocusEvent *e)

Protected Attributes

bool m_bPressed

Detailed Description

Author:
Tue & Ken Haste Andersen

Definition at line 33 of file wpushbutton.h.


Constructor & Destructor Documentation

WPushButton::WPushButton ( QWidget *  parent = 0)

Definition at line 28 of file wpushbutton.cpp.

Here is the call graph for this function:

WPushButton::~WPushButton ( )

Definition at line 36 of file wpushbutton.cpp.

Here is the call graph for this function:


Member Function Documentation

void WPushButton::focusOutEvent ( QFocusEvent *  e) [protected, virtual]

Definition at line 263 of file wpushbutton.cpp.

void WPushButton::mousePressEvent ( QMouseEvent *  e) [protected, virtual]

Definition at line 216 of file wpushbutton.cpp.

Here is the call graph for this function:

void WPushButton::mouseReleaseEvent ( QMouseEvent *  e) [protected, virtual]

Definition at line 268 of file wpushbutton.cpp.

Here is the call graph for this function:

void WPushButton::paintEvent ( QPaintEvent *  ) [protected, virtual]

Definition at line 202 of file wpushbutton.cpp.

void WPushButton::setPixmap ( int  iState,
bool  bPressed,
const QString &  filename 
)

Definition at line 168 of file wpushbutton.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void WPushButton::setPixmapBackground ( const QString &  filename)

Definition at line 179 of file wpushbutton.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void WPushButton::setStates ( int  iStatesW)

Definition at line 150 of file wpushbutton.cpp.

Here is the caller graph for this function:

void WPushButton::setup ( QDomNode  node)

Definition at line 47 of file wpushbutton.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void WPushButton::setValue ( double  v) [virtual, slot]

Reimplemented from WWidget.

Definition at line 187 of file wpushbutton.cpp.


Member Data Documentation

bool WPushButton::m_bPressed [protected]

Definition at line 62 of file wpushbutton.h.


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