Definition at line 60 of file progressview.h.
◆ ProgressView()
ProgressView::ProgressView |
( |
bool |
bHorizontalMessage = false , |
|
|
const QString & |
sStyleSheet = "" |
|
) |
| |
Creates an instance of a ProgressView object
- Parameters
-
[in] | bHorizontalMessage | Whether message id beside(true) or under(false) the loading bar. |
[in] | sStyleSheet | Set the stylesheet of the QLabels that display the loading message. |
Definition at line 52 of file progressview.cpp.
◆ ~ProgressView()
ProgressView::~ProgressView |
( |
| ) |
|
◆ clearView()
void ProgressView::clearView |
( |
| ) |
|
|
virtual |
◆ loadSettings()
void ProgressView::loadSettings |
( |
| ) |
|
|
virtual |
◆ saveSettings()
void ProgressView::saveSettings |
( |
| ) |
|
|
virtual |
◆ setHorizontal()
void ProgressView::setHorizontal |
( |
| ) |
|
◆ setLoadingBarVisible
void ProgressView::setLoadingBarVisible |
( |
bool |
bVisible | ) |
|
|
slot |
Sets whether loading bar is visible
- Parameters
-
[in] | bVisible | whether the bar visible - True = visible, False = hidden. |
Definition at line 152 of file progressview.cpp.
◆ setMessage
void ProgressView::setMessage |
( |
const QString & |
sMessage | ) |
|
|
slot |
Dsiplays a new message below/beside the loading bar
- Parameters
-
[in] | sMessage | message to be displayed. |
Definition at line 126 of file progressview.cpp.
◆ setTextStyleSheet()
void DISPLIB::ProgressView::setTextStyleSheet |
( |
const QString & |
styleSheet | ) |
|
Sets stylesheet parameters for the QLabels that display loading message
- Parameters
-
[in] | styleSheet | string with parameters for the QLabels. |
◆ setVertical()
void ProgressView::setVertical |
( |
| ) |
|
◆ updateGuiMode()
void ProgressView::updateGuiMode |
( |
GuiMode |
mode | ) |
|
|
virtual |
Update the views GUI based on the set GuiMode (Clinical=0, Research=1).
- Parameters
-
[in] | mode | The new mode (Clinical=0, Research=1). |
Implements DISPLIB::AbstractView.
Definition at line 96 of file progressview.cpp.
◆ updateProcessingMode()
void ProgressView::updateProcessingMode |
( |
ProcessingMode |
mode | ) |
|
|
virtual |
Update the views GUI based on the set ProcessingMode (RealTime=0, Offline=1).
- Parameters
-
[in] | mode | The new mode (RealTime=0, Offline=1). |
Implements DISPLIB::AbstractView.
Definition at line 103 of file progressview.cpp.
◆ updateProgress
void ProgressView::updateProgress |
( |
int |
iPercentage, |
|
|
const QString & |
sMessage = "" |
|
) |
| |
|
slot |
Sets new completion percentage and updates message
- Parameters
-
[in] | iPercentage | percentage to show on the loading bar. |
[in] | sMessage | message to be displayed. |
Definition at line 134 of file progressview.cpp.
The documentation for this class was generated from the following files: