MythTV  0.26-pre
Signals | Public Member Functions | Private Slots | Private Attributes
KeyGrabPopupBox Class Reference

Captures a key. More...

#include <keygrabber.h>

Inheritance diagram for KeyGrabPopupBox:
MythScreenType MythUIType XMLParseBase

List of all members.

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
MythUITextm_messageText
MythUIButtonm_okButton
MythUIButtonm_cancelButton

Detailed Description

Captures a key.

Definition at line 15 of file keygrabber.h.


Constructor & Destructor Documentation

Definition at line 16 of file keygrabber.cpp.

Definition at line 24 of file keygrabber.cpp.


Member Function Documentation

bool KeyGrabPopupBox::keyPressEvent ( QKeyEvent *  ) [virtual]

Key event handler.

Parameters:
eventKeypress event

Reimplemented from MythScreenType.

Definition at line 66 of file keygrabber.cpp.

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().


Member Data Documentation

Definition at line 33 of file keygrabber.h.

Referenced by KeyGrabPopupBox(), and keyPressEvent().

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().

Definition at line 37 of file keygrabber.h.

Referenced by Create(), KeyGrabPopupBox(), and keyPressEvent().

Definition at line 38 of file keygrabber.h.

Referenced by Create(), KeyGrabPopupBox(), and keyPressEvent().

Definition at line 39 of file keygrabber.h.

Referenced by Create(), KeyGrabPopupBox(), and keyPressEvent().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends