YProgressBar Class Reference
Implementation of the ProgressBar widget.
More...
#include <YProgressBar.h>
Inheritance diagram for YProgressBar:
List of all members.
Detailed Description
Implementation of the ProgressBar widget.
ProgressBar
- string label the label describing the bar integer maxvalue the maximum value of the bar integer progress the current progress value of the bar `ProgressBar( `id( `pb ), "17 of 42 Packages installed", 42, 17 ) ProgressBar1.ycp ProgressBar2.ycp
A progress bar is a horizontal bar with a label that shows a progress value. If you omit the optional parameter maxvalue
, the maximum value will be 100. If you omit the optional parameter progress
, the progress bar will set to 0 initially.
Constructor & Destructor Documentation
Member Function Documentation
|
Implements the ui command changeWidget.
Reimplemented from YWidget. |
|
Get the current label. This method cannot be overidden. The label of the ProgressBar cannot be changed other than by calling setProgress, i.e. not by the ui. Therefore setProgress stores the current ProgressBar in ProgressBar. |
|
Get the current progress. This method cannot be overidden. The progress of the cannot be changed other than by calling setProgress, i.e. not by the ui. Therefore setProgress stores the current ProgressBar in ProgressBar. |
|
Implements the ui command queryWidget
Reimplemented from YWidget. |
void YProgressBar::setLabel |
( |
const YCPString & |
label |
) |
[virtual] |
|
void YProgressBar::setProgress |
( |
const YCPInteger & |
progress |
) |
[virtual] |
|
virtual char* YProgressBar::widgetClass |
( |
|
) |
[inline, virtual] |
|
|
Returns a descriptive name of this widget class for logging, debugging etc.
Reimplemented from YWidget. |
Member Data Documentation
|
Current label of the ProgressBar |
|
Maximum progress value of the progress bar. The progress can go from 0 to maxprogress. |
|
current progress value of the ProgressBar. |
The documentation for this class was generated from the following files:
Generated on Fri Jun 16 18:07:47 2006 for yast2-core by
1.4.6