|
Mantid
|
ProgressableView : Abstract view useful for indicating progress. More...
#include <ProgressableView.h>
Public Types | |
| enum class | Style { PERCENTAGE , ENDLESS } |
| The style of the progress bar: either a standard percentage progress bar or an endless busy indicator. More... | |
Public Member Functions | |
| virtual void | clearProgress ()=0 |
| bool | isPercentageIndicator () const |
| ProgressableView () | |
| void | setAsEndlessIndicator () |
| void | setAsPercentageIndicator () |
| virtual void | setProgress (int progress)=0 |
| virtual void | setProgressRange (int min, int max) |
| virtual | ~ProgressableView ()=default |
Protected Attributes | |
| int | m_max |
| int | m_min |
| Style | m_style |
ProgressableView : Abstract view useful for indicating progress.
Definition at line 16 of file ProgressableView.h.
|
strong |
The style of the progress bar: either a standard percentage progress bar or an endless busy indicator.
| Enumerator | |
|---|---|
| PERCENTAGE | |
| ENDLESS | |
Definition at line 20 of file ProgressableView.h.
|
inline |
Definition at line 22 of file ProgressableView.h.
|
virtualdefault |
|
pure virtual |
Referenced by ProgressPresenter::clear(), and ProgressPresenter::ProgressPresenter().
| bool MantidQt::MantidWidgets::ProgressableView::isPercentageIndicator | ( | ) | const |
Definition at line 11 of file ProgressableView.cpp.
References m_style, and PERCENTAGE.
Referenced by ProgressPresenter::doReport().
| void MantidQt::MantidWidgets::ProgressableView::setAsEndlessIndicator | ( | ) |
Definition at line 27 of file ProgressableView.cpp.
References ENDLESS, m_style, and setProgressRange().
Referenced by ProgressPresenter::setAsEndlessIndicator().
| void MantidQt::MantidWidgets::ProgressableView::setAsPercentageIndicator | ( | ) |
Definition at line 22 of file ProgressableView.cpp.
References m_max, m_min, m_style, PERCENTAGE, and setProgressRange().
Referenced by ProgressPresenter::setAsPercentageIndicator().
|
pure virtual |
Referenced by ProgressPresenter::doReport().
|
virtual |
Definition at line 13 of file ProgressableView.cpp.
Referenced by ProgressPresenter::ProgressPresenter(), setAsEndlessIndicator(), and setAsPercentageIndicator().
|
protected |
Definition at line 36 of file ProgressableView.h.
Referenced by setAsPercentageIndicator(), and setProgressRange().
|
protected |
Definition at line 35 of file ProgressableView.h.
Referenced by setAsPercentageIndicator(), and setProgressRange().
|
protected |
Definition at line 34 of file ProgressableView.h.
Referenced by isPercentageIndicator(), setAsEndlessIndicator(), and setAsPercentageIndicator().