|
Isis 3 Programmer Reference
|
51 void SetText(
const QString &text);
void CheckStatus()
Checks and updates the status.
void SetMaximumSteps(const int steps)
This sets the maximum number of steps in the process.
void AddSteps(const int steps)
If the initial step size was a guess, it can be modified using this method.
QString p_text
Text string to output at the initial call to CheckStatus (0% processed)
int p_maximumSteps
Number of steps in your processing sequence.
int p_percentIncrement
How much to increment the currentPercent by.
int p_currentPercent
The current percent we are checking against.
void SetText(const QString &text)
Changes the value of the text string reported just before 0% processed.
Progress()
Constructs a Progress object.
Program progress reporter.
~Progress()
Destroys the Progress object.
int MaximumSteps() const
Returns the maximum number of steps of the progress.
QString Text() const
Returns the text to output.
void DisableAutomaticDisplay()
Turns off updating the Isis Gui when CheckStatus() is called.
int CurrentStep() const
Returns the current step of the progress.
This is free and unencumbered software released into the public domain.
int p_currentStep
The current step in the processing sequence.