MythTV  0.26-pre
Public Member Functions | Protected Member Functions | Protected Attributes
MythUIProgressDialog Class Reference

#include <mythprogressdialog.h>

Inheritance diagram for MythUIProgressDialog:
MythScreenType MythUIType XMLParseBase

List of all members.

Public Member Functions

 MythUIProgressDialog (const QString &message, MythScreenStack *parent, const char *name)
bool Create (void)
bool keyPressEvent (QKeyEvent *event)
 Key event handler.
void customEvent (QEvent *event)
void SetTotal (uint total)
void SetProgress (uint count)
void SetMessage (const QString &message)

Protected Member Functions

void UpdateProgress (void)

Protected Attributes

QString m_message
uint m_total
uint m_count
MythUITextm_messageText
MythUITextm_progressText
MythUIProgressBarm_progressBar

Detailed Description

Definition at line 54 of file mythprogressdialog.h.


Constructor & Destructor Documentation

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

Definition at line 119 of file mythprogressdialog.cpp.

Referenced by VideoScanner::doScan(), and GameScanner::doScan().


Member Function Documentation

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

Key event handler.

Parameters:
eventKeypress event

Reimplemented from MythScreenType.

Definition at line 143 of file mythprogressdialog.cpp.

void MythUIProgressDialog::customEvent ( QEvent *  event) [virtual]

Reimplemented from MythUIType.

Definition at line 167 of file mythprogressdialog.cpp.

void MythUIProgressDialog::SetMessage ( const QString &  message)

Definition at line 210 of file mythprogressdialog.cpp.

Referenced by customEvent(), SetMessage(), SetProgress(), and SetTotal().


Member Data Documentation

QString MythUIProgressDialog::m_message [protected]

Definition at line 72 of file mythprogressdialog.h.

Referenced by customEvent(), MythUIProgressDialog(), SetTotal(), and UpdateProgress().

Definition at line 75 of file mythprogressdialog.h.

Referenced by Create(), MythUIProgressDialog(), and UpdateProgress().

Definition at line 76 of file mythprogressdialog.h.

Referenced by Create(), and UpdateProgress().

Definition at line 77 of file mythprogressdialog.h.

Referenced by Create(), and UpdateProgress().


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