UIPushButtonType Class Reference

#include <uitypes.h>

Inheritance diagram for UIPushButtonType:

UIType UISelectorType

List of all members.


Detailed Description

Definition at line 1176 of file uitypes.h.


Public Slots

virtual void push ()
virtual void unPush ()
virtual void activate ()

Signals

void pushed ()
void pushed (QString)

Public Member Functions

 UIPushButtonType (const QString &name, QPixmap on, QPixmap off, QPixmap pushed)
virtual void Draw (QPainter *, int drawlayer, int context)
void setPosition (QPoint pos)
virtual void calculateScreenArea ()
void setLockOn ()

Protected Attributes

QPoint m_displaypos
QPixmap on_pixmap
QPixmap off_pixmap
QPixmap pushed_pixmap
bool currently_pushed
QTimer push_timer
bool m_lockOn

Constructor & Destructor Documentation

UIPushButtonType::UIPushButtonType ( const QString &  name,
QPixmap  on,
QPixmap  off,
QPixmap  pushed 
)

Definition at line 4806 of file uitypes.cpp.


Member Function Documentation

void UIPushButtonType::Draw ( QPainter *  p,
int  drawlayer,
int  context 
) [virtual]

Reimplemented from UIType.

Reimplemented in UISelectorType.

Definition at line 4819 of file uitypes.cpp.

void UIPushButtonType::setPosition ( QPoint  pos  )  [inline]

Definition at line 1185 of file uitypes.h.

Referenced by XMLParse::parsePushButton(), and XMLParse::parseSelector().

void UIPushButtonType::calculateScreenArea ( void   )  [virtual]

Reimplemented from UIType.

Reimplemented in UISelectorType.

Definition at line 4888 of file uitypes.cpp.

Referenced by XMLParse::parsePushButton().

void UIPushButtonType::setLockOn (  ) 

Definition at line 4856 of file uitypes.cpp.

Referenced by PlaybackBoxMusic::wireUpTheme().

void UIPushButtonType::push (  )  [virtual, slot]

void UIPushButtonType::unPush (  )  [virtual, slot]

Reimplemented in UISelectorType.

Definition at line 4882 of file uitypes.cpp.

Referenced by PlaybackBoxMusic::handlePush(), and UIPushButtonType().

virtual void UIPushButtonType::activate (  )  [inline, virtual, slot]

Reimplemented from UIType.

Reimplemented in UISelectorType.

Definition at line 1193 of file uitypes.h.

void UIPushButtonType::pushed (  )  [signal]

Referenced by UISelectorType::push(), and push().

void UIPushButtonType::pushed ( QString   )  [signal]


Member Data Documentation

QPoint UIPushButtonType::m_displaypos [protected]

Definition at line 1202 of file uitypes.h.

Referenced by calculateScreenArea(), UISelectorType::Draw(), and Draw().

QPixmap UIPushButtonType::on_pixmap [protected]

Definition at line 1203 of file uitypes.h.

Referenced by calculateScreenArea(), UISelectorType::Draw(), Draw(), and UIPushButtonType().

QPixmap UIPushButtonType::off_pixmap [protected]

Definition at line 1204 of file uitypes.h.

Referenced by calculateScreenArea(), UISelectorType::Draw(), Draw(), and UIPushButtonType().

QPixmap UIPushButtonType::pushed_pixmap [protected]

Definition at line 1205 of file uitypes.h.

Referenced by calculateScreenArea(), UISelectorType::Draw(), Draw(), and UIPushButtonType().

QTimer UIPushButtonType::push_timer [protected]

Definition at line 1207 of file uitypes.h.

Referenced by UISelectorType::push(), push(), and UIPushButtonType().

Definition at line 1208 of file uitypes.h.

Referenced by push(), setLockOn(), and UIPushButtonType().


The documentation for this class was generated from the following files:

Generated on Sat Dec 18 05:16:13 2010 for MythTV by  doxygen 1.5.5