Qtopia Home - Classes - Hierachy - Annotated - Functions - Licenses - Reference |
|
The QProgressBar widget provides a horizontal progress bar. More...
#include <qprogressbar.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.
See also QProgressDialog and GUI Design Handbook: Progress Indicator.
The total number of steps is set to 100 by default.
parent, name and f are sent to the QFrame::QFrame() constructor.
See also setTotalSteps().
totalSteps is the total number of steps in the operation of which this progress bar shows the progress. For example, if the operation is to examine 50 files, this value would be 50, then before examining the first file, call setProgress(0), and after examining the last file call setProgress(50).
parent, name and f are sent to the QFrame::QFrame() constructor.
See also setTotalSteps() and setProgress().
Returns where the indicator string should be displayed if indicatorFollowsStyle() is TRUE.
See also setCenterIndicator(), indicatorFollowsStyle(), setIndicatorFollowsStyle(), and setIndicator().
See also QWidget::setAutoMask().
Reimplemented from QFrame.
Returns whether the display of the indicator string should follow the GUI style or not.
See also setIndicatorFollowsStyle(), setCenterIndicator(), centerIndicator(), and setIndicator().
See also setProgress().
Calling this function always sets indicatorFollowsStyle() to FALSE.
See also centerIndicator(), indicatorFollowsStyle(), setIndicatorFollowsStyle(), and setIndicator().
The progress may be negative, indicating that the bar is in the "reset" state before any progress is set.
The default implementation it is the percentage of completion or blank in the reset state.
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.
See also indicatorFollowsStyle(), centerIndicator(), setCenterIndicator(), and setIndicator().
See also progress() and totalSteps().
See also totalSteps().
See also setTotalSteps().
This file is part of the Qtopia platform, copyright © 1995-2005 Trolltech, all rights reserved.
| Copyright © 2005 Trolltech | Trademarks | Qtopia version 2.2.0
|