Stellarium 0.15.2
List of all members | Signals | Public Member Functions | Friends
StelProgressController Class Reference

Maintain the state of a progress bar. More...

#include <StelProgressController.hpp>

+ Inheritance diagram for StelProgressController:
+ Collaboration diagram for StelProgressController:

Signals

void changed ()
 

Public Member Functions

 StelProgressController (QObject *parent=NULL)
 
void setFormat (const QString &fmt)
 This property holds the string used to generate the current text. More...
 
void setRange (int amin, int amax)
 
void setValue (int val)
 
int getValue () const
 
int getMin () const
 
int getMax () const
 
QString getFormat () const
 

Friends

class StelApp
 

Detailed Description

Maintain the state of a progress bar.

Definition at line 27 of file StelProgressController.hpp.

Member Function Documentation

void StelProgressController::setFormat ( const QString &  fmt)
inline

This property holds the string used to generate the current text.

p - is replaced by the percentage completed. v - is replaced by the current value. m - is replaced by the total number of steps. The default value is "%p%".

Definition at line 39 of file StelProgressController.hpp.


The documentation for this class was generated from the following file: