The ProgressDialog class is the ui dialog holding the progress bar and abort/cancel button.
More...
#include <progressdialog.h>
|
| void | slot_displayProgress (int progress, QString currentOperation) override |
| | slot_progress updates progress bar with new given data
|
| |
|
|
void | sig_abort () |
| | sig_abort signals that user pressed the abort button
|
| |
|
| | ProgressDialog (QWidget *parent=nullptr, bool showAbort=true) |
| | ProgressDialog constructor configuring ui elements and connects cancel button when applicable.
|
| |
| virtual void | slot_displayProgress (int progress, QString currentOperation)=0 |
| | [slot] slot_displayProgress is used to display a progression
|
| |
| virtual void | slot_displayMessage (QString message)=0 |
| | slot_displayMessage can show a message without specific format
|
| |
The ProgressDialog class is the ui dialog holding the progress bar and abort/cancel button.
- Author
- Lennart Ruck
- Date
- 2021/04/14
◆ ProgressDialog()
| ProgressDialog::ProgressDialog |
( |
QWidget * |
parent = nullptr, |
|
|
bool |
showAbort = true |
|
) |
| |
|
explicit |
ProgressDialog constructor configuring ui elements and connects cancel button when applicable.
- Parameters
-
| parent | ui parent to return to after dialog is closed |
| showAbort | visibility of the abort button, true = show button, false = hide button |
◆ slot_displayProgress
| void ProgressDialog::slot_displayProgress |
( |
int |
progress, |
|
|
QString |
currentOperation |
|
) |
| |
|
overrideslot |
slot_progress updates progress bar with new given data
- Parameters
-
| progress | [0..100] percentage of total progress |
| currentOperation | currently executed task |
The documentation for this class was generated from the following files:
- iVS3D/src/iVS3D-core/view/progressdialog.h
- iVS3D/src/iVS3D-core/view/progressdialog.cpp