(new in Rev4.40)
MQProgressBar class manages a progress bar to display a current progress status. It inherits a MQWidgetBase class.
Please refer the inherited class about member functions declared in the inherited class.
Class | |
MQProgressBar | Constructor |
~MQProgressBar | Destructor |
Member functions | |
GetPosition | Get a position value |
SetPosition | Set a position value |
GetMin | Get a minimum value |
SetMin | Set a minimum value |
GetMax | Get a maximum value |
SetMax | Set a maximum value |
MQProgressBar::MQProgressBar();
MQProgressBar::MQProgressBar(int id);
It is a constructor.
virtual MQProgressBar::~MQProgressBar();
This method is a destructor. It is defined as a virtual function.
int MQProgressBar::GetPosition();
It returns a current value.
void MQProgressBar::SetPosition(int value);
It specifies a current value.
int MQProgressBar::GetMin();
It returns a minimum value.
void MQProgressBar::SetMin(int value);
It specifies a minimum value.
If the minimum value is larger than the maximum value, the values are swapped and it ensures that the minimum value is always equal or lesser than the maximum value.
int MQProgressBar::GetMax();
It returns a maximum value.
void MQProgressBar::SetMax(int value);
It specifies a maximum value.
If the maximum value is lesser than the minimum value, the values are swapped and it ensures that the minimum value is always equal or lesser than the maximum value.