|
MythTV
0.26-pre
|
Captures a key. More...
#include <keygrabber.h>
Signals | |
| void | HaveResult (QString) |
Public Member Functions | |
| KeyGrabPopupBox (MythScreenStack *parent) | |
| ~KeyGrabPopupBox () | |
| bool | keyPressEvent (QKeyEvent *) |
| Key event handler. | |
| bool | Create (void) |
Private Slots | |
| void | SendResult () |
Private Attributes | |
| bool | m_waitingForKeyRelease |
| bool | m_keyReleaseSeen |
| QString | m_capturedKey |
| MythUIText * | m_messageText |
| MythUIButton * | m_okButton |
| MythUIButton * | m_cancelButton |
Captures a key.
Definition at line 15 of file keygrabber.h.
| KeyGrabPopupBox::KeyGrabPopupBox | ( | MythScreenStack * | parent | ) |
Definition at line 16 of file keygrabber.cpp.
Definition at line 24 of file keygrabber.cpp.
| bool KeyGrabPopupBox::keyPressEvent | ( | QKeyEvent * | ) | [virtual] |
Key event handler.
| event | Keypress event |
Reimplemented from MythScreenType.
Definition at line 66 of file keygrabber.cpp.
| bool KeyGrabPopupBox::Create | ( | void | ) | [virtual] |
Reimplemented from MythScreenType.
Definition at line 28 of file keygrabber.cpp.
Referenced by MythControls::GrabKey().
| void KeyGrabPopupBox::HaveResult | ( | QString | ) | [signal] |
Referenced by SendResult().
| void KeyGrabPopupBox::SendResult | ( | ) | [private, slot] |
Definition at line 133 of file keygrabber.cpp.
Referenced by Create().
bool KeyGrabPopupBox::m_waitingForKeyRelease [private] |
Definition at line 33 of file keygrabber.h.
Referenced by KeyGrabPopupBox(), and keyPressEvent().
bool KeyGrabPopupBox::m_keyReleaseSeen [private] |
Definition at line 34 of file keygrabber.h.
Referenced by KeyGrabPopupBox(), and keyPressEvent().
QString KeyGrabPopupBox::m_capturedKey [private] |
Definition at line 35 of file keygrabber.h.
Referenced by keyPressEvent(), and SendResult().
MythUIText* KeyGrabPopupBox::m_messageText [private] |
Definition at line 37 of file keygrabber.h.
Referenced by Create(), KeyGrabPopupBox(), and keyPressEvent().
MythUIButton* KeyGrabPopupBox::m_okButton [private] |
Definition at line 38 of file keygrabber.h.
Referenced by Create(), KeyGrabPopupBox(), and keyPressEvent().
MythUIButton* KeyGrabPopupBox::m_cancelButton [private] |
Definition at line 39 of file keygrabber.h.
Referenced by Create(), KeyGrabPopupBox(), and keyPressEvent().
1.7.6.1