Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site











SourceForge.net Logo

ProgressIndicator

 

class ProgressIndicator : public Ctrl

ProgressIndicator is a static widget used to display the progress of lengthy operation.

 

 

Derived from Ctrl

 

 

Public Member List

 

void Set(int actual, int total)

Sets the progress to actual steps of total steps. If total is zero, ProgressIndicator displays a bar starting at pixel position actual with reasonable size.

 


 

void Set(int _actual)

Sets the progress to _actual steps. Total number of steps is defined by previous call to Set or SetTotal. If total is zero, ProgressIndicator displays a bar starting at pixel position actual with reasonable size.

 


 

void operator=(int i)

Same as Set(i).

 


 

int operator++()

Increments actual number of steps by one.

 


 

int operator++(int)

Post-increment version.

 


 

int operator+=(int i)

Adds i steps to actual position.

 


 

int Get() const

Returns the current actual position.  

 


 

int GetTotal() const

Returns the total number of steps (set by SetTotal).

 


 

operator int()

Returns the current actual position.  

 


 

ProgressIndicator& SetTotal(int _total)

Sets the total number of steps to _total.

 


 

ProgressIndicator& Percent(bool b = true)

ProgressIndicator& NoPercent()

In Percent mode, number of percent is displayed in ProgressIndicator.

 

 

Do you want to contribute?