This class is a wrapper of QProgressDialog with specialized methods for updating the displayed values.
More...
#include <FileProgressDialog.h>
|
void | Increment () |
| Increment the current value of the progress bar up by one.
|
|
void | Complete () |
| Sets the progress bar to full/complete.
|
|
|
void | Incremented (int value) |
| Indicates that the current value has been incremented up.
|
|
void | Incremented (const QString &message) |
| Indicates the message produced when the current value is incremented up.
|
|
|
QProgressDialog * | ProgressDialog_ |
| Instance of a dialog box with a progress bar.
|
|
int | CurrentProgress_ |
| Current progress value. NOTE: Maintaining a counter here avoids race conditions that will occur when attempting to increment QProgressDialog::value() from different threads at different times during runtime.
|
|
This class is a wrapper of QProgressDialog with specialized methods for updating the displayed values.
FileProgressDialog::FileProgressDialog |
( |
int |
numberOfFiles, |
|
|
QWidget * |
parent = NULL |
|
) |
| |
Constructor.
- Parameters
-
numberOfFiles | indicates how many files need to be read. It serves to set the maximum value the progress bar can have. |
parent | is the parent widget that claims ownership of the dialog. |
The documentation for this class was generated from the following files: