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

The ProgressWidget class widget inside the ProgressDialog that holds the concrete progress bar and abort button. More...

#include <progresswidget.h>

Inheritance diagram for ProgressWidget:
ProgressDisplay

Public Slots

void slot_displayProgress (int progress, QString currentOperation)
 slot_progress updates progress bar with new given data
 
void slot_displayMessage (QString message)
 slot_displayMessage can show a message without specific format
 

Signals

void sig_abort ()
 sig_abort signals user pressing abort button
 

Public Member Functions

 ProgressWidget (QWidget *parent=nullptr, bool showAbort=true)
 ProgressWidget constructor that sets up ui elements.
 

Additional Inherited Members

- Private 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 ProgressWidget class widget inside the ProgressDialog that holds the concrete progress bar and abort button.

Author
Lennart Ruck
Date
2021/04/14

Constructor & Destructor Documentation

◆ ProgressWidget()

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

ProgressWidget constructor that sets up ui elements.

Parameters
parentui parent that holds this widget
showAbortvisibility of abort button, true = show button, false = hide button

Member Function Documentation

◆ slot_displayMessage

void ProgressWidget::slot_displayMessage ( QString  message)
slot

slot_displayMessage can show a message without specific format

Parameters
messageas a QString, which will be displayed

◆ slot_displayProgress

void ProgressWidget::slot_displayProgress ( int  progress,
QString  currentOperation 
)
slot

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: