The QProgressBar widget provides a horizontal progress bar. More...
#include <qprogbar.h>
Inherits QFrame.
A progress bar is used to give the user an indication of progress of an operation. To reassure them that the application has not crashed.
QProgressBar only implements the basic progress display, while QProgressDialog provides a fuller encapsulation.
Constructs a progress bar.
The total number of steps is set to 100 by default.
Arguments:
See also: setTotalSteps().
Constructs a progress bar.
Arguments:
See also: setTotalSteps() and setProgress().
[virtual protected]
Handles paint events for the progress bar.
Reimplemented from QFrame.
Returns the current amount of progress, or -1 if the progress counting has not started.
See also: setProgress().
[slot]
Reset the progress bar. The progress bar `rewinds'.
[virtual protected]
This method is called to generate the text displayed in the center of the progress bar, by default it is the percentage of completion. This method should return FALSE if the string is unchanged since the last call to the method, to allow efficient repainting of the progress bar.
[slot]
Sets the current amount of progress made to progress units of the total number of steps.
See also: progress() and totalSteps().
[slot]
Sets the total number of steps to totalSteps.
See also: totalSteps().
[virtual]
Returns a size which fits the contents of the progress bar.
Reimplemented from QWidget.
Returns the total number of steps.
See also: setTotalSteps().
This file is part of the Qt toolkit, copyright © 1995-97 Troll Tech, all rights reserved.
It was generated from the following files: