UITextButtonType Class Reference

#include <uitypes.h>

Inheritance diagram for UITextButtonType:

UIType

List of all members.


Detailed Description

Definition at line 1212 of file uitypes.h.


Public Slots

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

Signals

void pushed ()

Public Member Functions

 UITextButtonType (const QString &name, QPixmap on, QPixmap off, QPixmap pushed)
void Draw (QPainter *, int drawlayer, int context)
void setPosition (QPoint pos)
void setText (const QString some_text)
void setFont (fontProp *font)
void calculateScreenArea ()

Private Attributes

QPoint m_displaypos
QPixmap on_pixmap
QPixmap off_pixmap
QPixmap pushed_pixmap
QString m_text
fontPropm_font
bool currently_pushed
QTimer push_timer

Constructor & Destructor Documentation

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

Definition at line 4923 of file uitypes.cpp.


Member Function Documentation

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

Reimplemented from UIType.

Definition at line 4936 of file uitypes.cpp.

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

Definition at line 1221 of file uitypes.h.

Referenced by XMLParse::parseTextButton().

void UITextButtonType::setText ( const QString  some_text  ) 

void UITextButtonType::setFont ( fontProp font  )  [inline]

Definition at line 1223 of file uitypes.h.

Referenced by XMLParse::parseTextButton().

void UITextButtonType::calculateScreenArea ( void   )  [virtual]

Reimplemented from UIType.

Definition at line 5005 of file uitypes.cpp.

Referenced by XMLParse::parseTextButton().

void UITextButtonType::push (  )  [slot]

void UITextButtonType::unPush (  )  [slot]

Definition at line 4993 of file uitypes.cpp.

Referenced by UITextButtonType().

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

Reimplemented from UIType.

Definition at line 1230 of file uitypes.h.

void UITextButtonType::pushed (  )  [signal]

Referenced by push().


Member Data Documentation

Definition at line 1238 of file uitypes.h.

Referenced by calculateScreenArea(), and Draw().

QPixmap UITextButtonType::on_pixmap [private]

Definition at line 1239 of file uitypes.h.

Referenced by calculateScreenArea(), Draw(), and UITextButtonType().

QPixmap UITextButtonType::off_pixmap [private]

Definition at line 1240 of file uitypes.h.

Referenced by calculateScreenArea(), Draw(), and UITextButtonType().

Definition at line 1241 of file uitypes.h.

Referenced by calculateScreenArea(), Draw(), and UITextButtonType().

QString UITextButtonType::m_text [private]

Definition at line 1242 of file uitypes.h.

Referenced by Draw(), setText(), and UITextButtonType().

Definition at line 1243 of file uitypes.h.

Referenced by Draw().

Definition at line 1244 of file uitypes.h.

Referenced by Draw(), push(), UITextButtonType(), and unPush().

QTimer UITextButtonType::push_timer [private]

Definition at line 1245 of file uitypes.h.

Referenced by push(), and UITextButtonType().


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