progress dialog for animation progress More...
#include <pqAnimationProgressDialog.h>
Inherits QProgressDialog.
Public Member Functions | |
pqAnimationProgressDialog (const QString &labelText, const QString &cancelButtonText, int minimum=0, int maximum=100, QWidget *parent=nullptr, Qt::WindowFlags f=Qt::WindowFlags()) | |
pqAnimationProgressDialog (QWidget *parent=nullptr, Qt::WindowFlags f=Qt::WindowFlags()) | |
~pqAnimationProgressDialog () override | |
void | setAnimationScene (pqAnimationScene *) |
Set the animation scene to monitor. More... | |
void | setAnimationScene (vtkSMProxy *) |
Set the animation scene to monitor. More... | |
progress dialog for animation progress
pqAnimationProgressDialog is a QProgressDialog that hooks itself up to monitor (and show) progress from an animation scene. The dialog uses the cancel button to abort the animation playback.
Typical usage:
Definition at line 44 of file pqAnimationProgressDialog.h.
pqAnimationProgressDialog::pqAnimationProgressDialog | ( | const QString & | labelText, |
const QString & | cancelButtonText, | ||
int | minimum = 0 , |
||
int | maximum = 100 , |
||
QWidget * | parent = nullptr , |
||
Qt::WindowFlags | f = Qt::WindowFlags() |
||
) |
pqAnimationProgressDialog::pqAnimationProgressDialog | ( | QWidget * | parent = nullptr , |
Qt::WindowFlags | f = Qt::WindowFlags() |
||
) |
|
override |
void pqAnimationProgressDialog::setAnimationScene | ( | pqAnimationScene * | ) |
Set the animation scene to monitor.
void pqAnimationProgressDialog::setAnimationScene | ( | vtkSMProxy * | ) |
Set the animation scene to monitor.