#include <mythdialogs.h>
Signals | |
| void | pressed () |
Public Member Functions | |
| MythProgressDialog (const QString &message, int totalSteps=0, bool cancelButton=false, const QObject *target=NULL, const char *slot=NULL) | |
| Create a progress bar dialog. | |
| void | Close (void) |
| void | setProgress (int curprogress) |
| void | setLabel (QString newlabel) |
| void | keyPressEvent (QKeyEvent *) |
| virtual void | deleteLater (void) |
Protected Member Functions | |
| ~MythProgressDialog () | |
Protected Attributes | |
| QProgressBar * | progress |
| QLabel * | msglabel |
Private Member Functions | |
| void | setTotalSteps (int totalSteps) |
Private Attributes | |
| int | steps |
| int | m_totalSteps |
This dialog is responsible for displaying a progress bar box on the screen. This is used when you have a known set of steps to perform and the possibility of calling the setProgress call at the end of each step.
The dialog widget also updates the LCD display if present.
Definition at line 203 of file mythdialogs.h.
| MythProgressDialog::MythProgressDialog | ( | const QString & | message, | |
| int | totalSteps = 0, |
|||
| bool | cancelButton = false, |
|||
| const QObject * | target = NULL, |
|||
| const char * | slot = NULL | |||
| ) |
Create a progress bar dialog.
| message | the title string to appear in the progress dialog. | |
| totalSteps | the total number of steps | |
| cancelButton | display cancel button | |
| target | target for cancel signal | |
| slot | slot for cancel signal |
Definition at line 787 of file mythdialogs.cpp.
| MythProgressDialog::~MythProgressDialog | ( | ) | [protected] |
Definition at line 865 of file mythdialogs.cpp.
| void MythProgressDialog::Close | ( | void | ) |
Definition at line 875 of file mythdialogs.cpp.
Referenced by Playlist::CreateCDMP3(), and DataDirectLineupSelector::fillSelections().
| void MythProgressDialog::setProgress | ( | int | curprogress | ) |
Definition at line 887 of file mythdialogs.cpp.
Referenced by Playlist::cdrecordData(), Playlist::CreateCDMP3(), DataDirectLineupSelector::fillSelections(), and Playlist::mkisofsData().
| void MythProgressDialog::setLabel | ( | QString | newlabel | ) |
Definition at line 901 of file mythdialogs.cpp.
| void MythProgressDialog::keyPressEvent | ( | QKeyEvent * | e | ) |
Reimplemented from MythDialog.
Definition at line 906 of file mythdialogs.cpp.
| void MythProgressDialog::deleteLater | ( | void | ) | [virtual] |
Reimplemented from MythDialog.
Definition at line 869 of file mythdialogs.cpp.
Referenced by Playlist::CreateCDMP3(), and DataDirectLineupSelector::fillSelections().
| void MythProgressDialog::pressed | ( | ) | [signal] |
Referenced by MythProgressDialog().
| void MythProgressDialog::setTotalSteps | ( | int | totalSteps | ) | [private] |
Definition at line 923 of file mythdialogs.cpp.
Referenced by MythProgressDialog().
QProgressBar* MythProgressDialog::progress [protected] |
Definition at line 248 of file mythdialogs.h.
Referenced by MythProgressDialog(), setProgress(), and setTotalSteps().
QLabel* MythProgressDialog::msglabel [protected] |
Definition at line 249 of file mythdialogs.h.
Referenced by MythProgressDialog(), and setLabel().
int MythProgressDialog::steps [private] |
Definition at line 253 of file mythdialogs.h.
Referenced by setProgress(), and setTotalSteps().
int MythProgressDialog::m_totalSteps [private] |
Definition at line 254 of file mythdialogs.h.
Referenced by setProgress(), and setTotalSteps().
1.6.3