MQProgressBar class

(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);

id
A widget ID created outside the plug-in

It is a constructor.


virtual MQProgressBar::~MQProgressBar();

This method is a destructor. It is defined as a virtual function.


int MQProgressBar::GetPosition();

Return value
A position value

It returns a current value.


void MQProgressBar::SetPosition(int value);

value
A position value

It specifies a current value.


int MQProgressBar::GetMin();

Return value
A minimum value

It returns a minimum value.


void MQProgressBar::SetMin(int value);

value
A minimum 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();

Return value
A maximum value

It returns a maximum value.


void MQProgressBar::SetMax(int value);

value
A maximum 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.