MythPushButton Class Reference

#include <mythwidgets.h>

List of all members.


Detailed Description

Definition at line 284 of file mythwidgets.h.


Signals

void changeHelpText (QString)

Public Member Functions

 MythPushButton (QWidget *parent, const char *name=0, bool aa=false)
 MythPushButton (const QString &text, QWidget *parent, bool aa=false)
 MythPushButton (const QString &ontext, const QString &offtext, QWidget *parent, bool isOn=true, bool aa=false)
void setHelpText (const QString &help)
void keyPressEvent (QKeyEvent *e)
void keyReleaseEvent (QKeyEvent *e)
void toggleText (void)

Protected Member Functions

void focusInEvent (QFocusEvent *e)
void focusOutEvent (QFocusEvent *e)

Private Attributes

QColor origcolor
QString helptext
QString onText
QString offText
bool arrowAccel
QStringList keyPressActions

Constructor & Destructor Documentation

MythPushButton::MythPushButton ( QWidget *  parent,
const char *  name = 0,
bool  aa = false 
) [inline]

Definition at line 288 of file mythwidgets.h.

MythPushButton::MythPushButton ( const QString &  text,
QWidget *  parent,
bool  aa = false 
) [inline]

Definition at line 293 of file mythwidgets.h.

MythPushButton::MythPushButton ( const QString &  ontext,
const QString &  offtext,
QWidget *  parent,
bool  isOn = true,
bool  aa = false 
)

Definition at line 1211 of file mythwidgets.cpp.


Member Function Documentation

void MythPushButton::setHelpText ( const QString &  help  ) 

Definition at line 1231 of file mythwidgets.cpp.

Referenced by ButtonSetting::configWidget(), and ButtonSetting::setHelpText().

void MythPushButton::keyPressEvent ( QKeyEvent *  e  ) 

Definition at line 1239 of file mythwidgets.cpp.

void MythPushButton::keyReleaseEvent ( QKeyEvent *  e  ) 

Definition at line 1284 of file mythwidgets.cpp.

void MythPushButton::toggleText ( void   ) 

Definition at line 1303 of file mythwidgets.cpp.

Referenced by keyPressEvent().

void MythPushButton::changeHelpText ( QString   )  [signal]

Referenced by focusInEvent(), and setHelpText().

void MythPushButton::focusInEvent ( QFocusEvent *  e  )  [protected]

Definition at line 1314 of file mythwidgets.cpp.

void MythPushButton::focusOutEvent ( QFocusEvent *  e  )  [protected]

Definition at line 1324 of file mythwidgets.cpp.


Member Data Documentation

QColor MythPushButton::origcolor [private]

Definition at line 316 of file mythwidgets.h.

QString MythPushButton::helptext [private]

Definition at line 317 of file mythwidgets.h.

Referenced by focusInEvent(), and setHelpText().

QString MythPushButton::onText [private]

Definition at line 318 of file mythwidgets.h.

Referenced by MythPushButton(), and toggleText().

QString MythPushButton::offText [private]

Definition at line 319 of file mythwidgets.h.

Referenced by MythPushButton(), and toggleText().

Definition at line 320 of file mythwidgets.h.

Referenced by keyPressEvent(), and MythPushButton().

QStringList MythPushButton::keyPressActions [private]

Definition at line 322 of file mythwidgets.h.

Referenced by keyPressEvent(), and keyReleaseEvent().


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

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