MythUIBusyDialog Class Reference

#include <mythprogressdialog.h>

Inheritance diagram for MythUIBusyDialog:
MythScreenType MythUIType XMLParseBase

List of all members.

Public Member Functions

 MythUIBusyDialog (const QString &message, MythScreenStack *parent, const char *name)
bool Create (void)
bool keyPressEvent (QKeyEvent *event)
 Key event handler.
void SetMessage (const QString &message)
void Reset (void)
 Reset the widget to it's original state, should not reset changes made by the theme.
virtual void Pulse (void)
 Pulse is called 70 times a second to trigger a single frame of an animation.

Protected Attributes

QString m_origMessage
QString m_message
bool m_haveNewMessage
QString m_newMessage
QMutex m_newMessageLock
MythUITextm_messageText

Detailed Description

Definition at line 30 of file mythprogressdialog.h.


Constructor & Destructor Documentation

MythUIBusyDialog::MythUIBusyDialog ( const QString &  message,
MythScreenStack parent,
const char *  name 
)

Definition at line 8 of file mythprogressdialog.cpp.


Member Function Documentation

bool MythUIBusyDialog::Create ( void   )  [virtual]
bool MythUIBusyDialog::keyPressEvent ( QKeyEvent *   )  [virtual]

Key event handler.

Parameters:
event Keypress event

Reimplemented from MythScreenType.

Definition at line 60 of file mythprogressdialog.cpp.

void MythUIBusyDialog::SetMessage ( const QString &  message  ) 

Definition at line 34 of file mythprogressdialog.cpp.

Referenced by Reset(), and MythScreenType::SetBusyPopupMessage().

void MythUIBusyDialog::Reset ( void   )  [virtual]

Reset the widget to it's original state, should not reset changes made by the theme.

Reimplemented from MythUIType.

Definition at line 42 of file mythprogressdialog.cpp.

Referenced by MythScreenType::ResetBusyPopup().

void MythUIBusyDialog::Pulse ( void   )  [virtual]

Pulse is called 70 times a second to trigger a single frame of an animation.

This changes the alpha value of the widget

Reimplemented from MythUIType.

Definition at line 47 of file mythprogressdialog.cpp.


Member Data Documentation

QString MythUIBusyDialog::m_origMessage [protected]

Definition at line 45 of file mythprogressdialog.h.

Referenced by MythUIBusyDialog(), and Reset().

QString MythUIBusyDialog::m_message [protected]

Definition at line 46 of file mythprogressdialog.h.

Referenced by Create(), MythUIBusyDialog(), and Pulse().

Definition at line 47 of file mythprogressdialog.h.

Referenced by MythUIBusyDialog(), Pulse(), and SetMessage().

QString MythUIBusyDialog::m_newMessage [protected]

Definition at line 48 of file mythprogressdialog.h.

Referenced by Pulse(), and SetMessage().

Definition at line 49 of file mythprogressdialog.h.

Referenced by Pulse(), and SetMessage().

Definition at line 51 of file mythprogressdialog.h.

Referenced by Create(), MythUIBusyDialog(), and Pulse().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends
Generated on Mon May 28 06:42:17 2012 for MythTV by  doxygen 1.6.3