Stellarium  0.90.0
Signals | Public Member Functions | Friends
StelProgressController Class Reference

Maintain the state of a progress bar.

#include <StelProgressController.hpp>

Signals

void changed ()
 

Public Member Functions

 StelProgressController (QObject *parent=Q_NULLPTR)
 
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
 

Member Function Documentation

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

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%".