#include <keygrabber.h>

NOTE: This popup box takes control over the keyboard until a key is released.
Definition at line 38 of file keygrabber.h.
Public Member Functions | |
| KeyGrabPopupBox (MythMainWindow *window) | |
| QString | GetCapturedKey (void) const |
| Get the string containing the captured key event plus modifier keys. | |
| virtual void | deleteLater (void) |
Protected Member Functions | |
| void | Teardown (void) |
| ~KeyGrabPopupBox () | |
| void | keyPressEvent (QKeyEvent *e) |
| void | keyReleaseEvent (QKeyEvent *e) |
Private Attributes | |
| bool | m_waitingForKeyRelease |
| bool | m_keyReleaseSeen |
| QString | m_capturedKey |
| QButton * | m_ok |
| QButton * | m_cancel |
| QLabel * | m_label |
| KeyGrabPopupBox::KeyGrabPopupBox | ( | MythMainWindow * | window | ) |
Definition at line 35 of file keygrabber.cpp.
| KeyGrabPopupBox::~KeyGrabPopupBox | ( | ) | [protected] |
Definition at line 49 of file keygrabber.cpp.
| QString KeyGrabPopupBox::GetCapturedKey | ( | void | ) | const |
Get the string containing the captured key event plus modifier keys.
Definition at line 71 of file keygrabber.cpp.
Referenced by MythControls::AddKeyToAction().
| void KeyGrabPopupBox::deleteLater | ( | void | ) | [virtual] |
Reimplemented from MythDialog.
Definition at line 54 of file keygrabber.cpp.
Referenced by MythControls::AddKeyToAction().
| void KeyGrabPopupBox::Teardown | ( | void | ) | [protected] |
| void KeyGrabPopupBox::keyPressEvent | ( | QKeyEvent * | e | ) | [protected] |
| void KeyGrabPopupBox::keyReleaseEvent | ( | QKeyEvent * | e | ) | [protected] |
Definition at line 76 of file keygrabber.cpp.
bool KeyGrabPopupBox::m_waitingForKeyRelease [private] |
bool KeyGrabPopupBox::m_keyReleaseSeen [private] |
QString KeyGrabPopupBox::m_capturedKey [private] |
Definition at line 58 of file keygrabber.h.
Referenced by GetCapturedKey(), keyReleaseEvent(), and Teardown().
QButton* KeyGrabPopupBox::m_ok [private] |
Definition at line 59 of file keygrabber.h.
Referenced by KeyGrabPopupBox(), keyReleaseEvent(), and Teardown().
QButton* KeyGrabPopupBox::m_cancel [private] |
Definition at line 60 of file keygrabber.h.
Referenced by KeyGrabPopupBox(), keyReleaseEvent(), and Teardown().
QLabel* KeyGrabPopupBox::m_label [private] |
Definition at line 61 of file keygrabber.h.
Referenced by KeyGrabPopupBox(), keyReleaseEvent(), and Teardown().
1.5.5