Avogadro::QtGui::TimedProgressDialog#

class TimedProgressDialog : public QProgressDialog#

A progress dialog with a time remaining label.

<avogadro/qtgui/timedprogressdialog.h>

Author

Geoff Hutchison

Public 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

inline void setLabelText(const QString &labelText)#

set the default label text

Public Slots

void setValue(int value)#

set the value of the progress dialog and update the time remaining