#include <ProgressBar.hpp>
Public Member Functions | |
virtual bool | isVisible () const =0 |
get if visible More... | |
virtual int | maximum () const =0 |
get max More... | |
virtual int | minimum () const =0 |
get min More... | |
virtual void | onPercentageUpdated (double percentage) |
virtual method called every time percentageUpdated fires More... | |
virtual void | setMaximum (int max)=0 |
set max More... | |
virtual void | setMinimum (int min)=0 |
set min More... | |
virtual void | setRange (int min, int max)=0 |
set range More... | |
virtual void | setValue (int value)=0 |
set value More... | |
virtual void | setVisible (bool visible)=0 |
set if visible More... | |
virtual void | setWindowTitle (const std::string &title)=0 |
set the window title More... | |
virtual std::string | text () const =0 |
get the text More... | |
virtual int | value () const =0 |
get value More... | |
virtual std::string | windowTitle () const =0 |
get the window title More... | |
virtual | ~ProgressBar ()=default |
virtual destructor More... | |
Public Attributes | |
Nano::Signal< void(double)> | percentageUpdated |
called every time progress increases by 1% more than last progress More... | |
Protected Member Functions | |
ProgressBar () | |
void | updatePercentage () |
ProgressBar is a pure virtual class providing virtual methods setRange, setValue, and setWindowTitle which may be overridden.
|
virtualdefault |
virtual destructor
|
protected |
|
pure virtual |
get if visible
|
pure virtual |
get max
|
pure virtual |
get min
|
virtual |
virtual method called every time percentageUpdated fires
|
pure virtual |
set max
|
pure virtual |
set min
|
pure virtual |
set value
|
pure virtual |
set if visible
|
pure virtual |
set the window title
|
pure virtual |
get the text
|
protected |
|
pure virtual |
get value
|
pure virtual |
get the window title
Nano::Signal<void(double)> openstudio::ProgressBar::percentageUpdated |
called every time progress increases by 1% more than last progress