#include <statusindicator.h>
List of all members.
Detailed Description
StatusIndicator is a widget for displaying either image or text based status indicators in the status indicator area of the home screen.
Constructor & Destructor Documentation
StatusIndicator::StatusIndicator |
( |
QGraphicsItem * |
parent = NULL |
) |
[explicit] |
StatusIndicator::~StatusIndicator |
( |
|
) |
[virtual] |
Member Function Documentation
Returns a context item with the specified key newly allocated from the specified application context.
- Parameters:
-
| context | Context framework application context for the context item to be allocated from. |
| key | Unique intifier of the context item in the application context that is to be monitored. |
- Returns:
- New ContextItem object tracking the particular context item in the system. The created ContextItem is owned by the StatusIdicator class and shall not be deleted by the caller.
void StatusIndicator::setStyleNameAndUpdate |
( |
const QString & |
name = QString() |
) |
[protected] |
Calls setStyleName(name) and update() for convenience.
- Parameters:
-
| name | the style name to set |
void StatusIndicator::setValue |
( |
QVariant |
v |
) |
[protected] |
Sets the value of the indicator. This will be used by the dynamic indicators to change their appearance based on some value. The type of the value is determined by the indicator type. For indicators that display an image from a list of images, the value is a float 0 to 1 which is used to determine the used image. For indicators that display text, the value is the string to display.
void StatusIndicator::subscriptionMade |
( |
|
) |
[signal] |
Emitted when a subscription to the context items has been made
void StatusIndicator::updateAnimationStatus |
( |
|
) |
[protected] |
Updates the animation status of the views.
void StatusIndicator::updateGeometry |
( |
|
) |
[virtual] |
QVariant StatusIndicator::value |
( |
|
) |
const [protected] |
Gets the value of the indicator.
- See also:
- setValue
Member Data Documentation
Whether or not the view should animate if possible.
Property Documentation
QVariant StatusIndicator::value [read, write] |
The documentation for this class was generated from the following files:
- /home/bifh1/cs2009q3-i386/work/system-ui-1.0.23/src/systemui/statusarea/statusindicator.h
- /home/bifh1/cs2009q3-i386/work/system-ui-1.0.23/src/systemui/statusarea/statusindicator.cpp