|
AvogadroLibs 2.1.0-20261111
|
A progress dialog with a time remaining label. More...
#include <timedprogressdialog.h>
Public Slots | |
| void | setValue (int value) |
| set the value of the progress dialog and update the time remaining | |
Public Member Functions | |
| TimedProgressDialog (QWidget *parent) | |
| TimedProgressDialog (const QString &labelText=QString(), const QString &cancelButtonText=QString(), int minimum=0, int maximum=100, QWidget *parent=nullptr) | |
| void | show () |
| show the progress dialog and start the timer | |
| void | restartTimer () |
| restart the elapsed timer, discarding any time measured so far | |
| void | setLabelText (const QString &labelText) |
| set the default label text | |
<avogadro/qtgui/timedprogressdialog.h>
| void restartTimer | ( | ) |
Useful when a job spends an unknown amount of time setting up before it can report determinate progress: restarting once the real work begins keeps that setup time out of the estimate.