iVS3D v2.0.0
Loading...
Searching...
No Matches
ProgressDialog Class Reference

The ProgressDialog class is the ui dialog holding the progress bar and abort/cancel button. More...

#include <progressdialog.h>

Inheritance diagram for ProgressDialog:
ProgressDisplay

Public Slots

void slot_displayProgress (int progress, QString currentOperation) override
 slot_progress updates progress bar with new given data
 

Signals

void sig_abort ()
 sig_abort signals that user pressed the abort button
 

Public Member Functions

 ProgressDialog (QWidget *parent=nullptr, bool showAbort=true)
 ProgressDialog constructor configuring ui elements and connects cancel button when applicable.
 
- Public Member Functions inherited from ProgressDisplay
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
 

Detailed Description

The ProgressDialog class is the ui dialog holding the progress bar and abort/cancel button.

Author
Lennart Ruck
Date
2021/04/14

Constructor & Destructor Documentation

◆ ProgressDialog()

ProgressDialog::ProgressDialog ( QWidget *  parent = nullptr,
bool  showAbort = true 
)
explicit

ProgressDialog constructor configuring ui elements and connects cancel button when applicable.

Parameters
parentui parent to return to after dialog is closed
showAbortvisibility of the abort button, true = show button, false = hide button

Member Function Documentation

◆ 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
currentOperationcurrently executed task

The documentation for this class was generated from the following files: