#include <mythwidgets.h>
Signals | |
| void | changeHelpText (QString) |
Public Member Functions | |
| MythPushButton (QWidget *parent, const char *name="MythPushButton") | |
| MythPushButton (const QString &text, QWidget *parent) | |
| MythPushButton (const QString &ontext, const QString &offtext, QWidget *parent, bool isOn=true) | |
| 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 |
| QStringList | keyPressActions |
Definition at line 280 of file mythwidgets.h.
| MythPushButton::MythPushButton | ( | QWidget * | parent, | |
| const char * | name = "MythPushButton" | |||
| ) | [inline] |
Definition at line 285 of file mythwidgets.h.
| MythPushButton::MythPushButton | ( | const QString & | text, | |
| QWidget * | parent | |||
| ) | [inline] |
Definition at line 292 of file mythwidgets.h.
| MythPushButton::MythPushButton | ( | const QString & | ontext, | |
| const QString & | offtext, | |||
| QWidget * | parent, | |||
| bool | isOn = true | |||
| ) |
Definition at line 1170 of file mythwidgets.cpp.
| void MythPushButton::setHelpText | ( | const QString & | help | ) |
Definition at line 1187 of file mythwidgets.cpp.
Referenced by ButtonSetting::configWidget(), and ButtonSetting::setHelpText().
| void MythPushButton::keyPressEvent | ( | QKeyEvent * | e | ) |
Definition at line 1195 of file mythwidgets.cpp.
| void MythPushButton::keyReleaseEvent | ( | QKeyEvent * | e | ) |
Definition at line 1225 of file mythwidgets.cpp.
| void MythPushButton::toggleText | ( | void | ) |
Definition at line 1245 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 1256 of file mythwidgets.cpp.
| void MythPushButton::focusOutEvent | ( | QFocusEvent * | e | ) | [protected] |
Definition at line 1268 of file mythwidgets.cpp.
QColor MythPushButton::origcolor [private] |
Definition at line 317 of file mythwidgets.h.
QString MythPushButton::helptext [private] |
Definition at line 318 of file mythwidgets.h.
Referenced by focusInEvent(), and setHelpText().
QString MythPushButton::onText [private] |
Definition at line 319 of file mythwidgets.h.
Referenced by MythPushButton(), and toggleText().
QString MythPushButton::offText [private] |
Definition at line 320 of file mythwidgets.h.
Referenced by MythPushButton(), and toggleText().
QStringList MythPushButton::keyPressActions [private] |
Definition at line 322 of file mythwidgets.h.
Referenced by keyPressEvent(), and keyReleaseEvent().
1.6.3