#include <YMultiProgressMeter.h>
Inheritance diagram for YMultiProgressMeter:

Public Types | |
| typedef long long | Value_t |
Public Member Functions | |
| YMultiProgressMeter (const YWidgetOpt &opt, bool horizontal, const YCPList &maxValues) | |
| virtual char * | widgetClass () |
| YCPValue | changeWidget (const YCPSymbol &property, const YCPValue &newValue) |
| YCPValue | queryWidget (const YCPSymbol &property) |
| int | segments () const |
| Value_t | maxValue (int segment) const |
| Value_t | currentValue (int segment) const |
| void | setCurrentValue (int segment, Value_t value) |
| bool | horizontal () const |
| bool | vertical () const |
Protected Member Functions | |
| virtual void | doUpdate ()=0 |
Private Attributes | |
| bool | _horizontal |
| std::vector< Value_t > | _maxValues |
| std::vector< Value_t > | _currentValues |
|
|
|
|
||||||||||||||||
|
Constructor |
|
||||||||||||
|
Implements the ui command changeWidget. Reimplemented from YWidget. |
|
|
Returns the current value for the specified segment (counting from 0). If no value has been set yet, -1 is returned. |
|
|
Notification that values have been updated and the widget needs to be redisplayed. Derived classes need to reimplement this. |
|
|
Returns 'true' if the orientation is horizontal. |
|
|
Returns the maximum value for the specified segment (counting from 0) |
|
|
Implements the ui command queryWidget Reimplemented from YWidget. |
|
|
Returns the number of segments |
|
||||||||||||
|
Sets the current value for the specified segment. This must be in the range 0..maxValue( segment ). |
|
|
Returns 'true' if the orientation is vertical. |
|
|
Returns a descriptive name of this widget class for logging, debugging etc. Reimplemented from YWidget. |
|
|
|
|
|
|
|
|
|
1.4.6