#include <volumebar.h>
List of all members.
Detailed Description
The volume bar widget draws a background image, a volume bar image and a volume indicator icon.
Constructor & Destructor Documentation
VolumeBar::VolumeBar |
( |
QGraphicsItem * |
parent = NULL |
) |
|
VolumeBar::~VolumeBar |
( |
|
) |
|
Member Function Documentation
void VolumeBar::animationsFinished |
( |
|
) |
[signal] |
Emitted when volume bar has faded out.
void VolumeBar::applyStyle |
( |
|
) |
[protected, virtual] |
void VolumeBar::drawBackground |
( |
QPainter * |
painter, |
|
|
const QStyleOptionGraphicsItem * |
option | |
|
) |
| | const [protected, virtual] |
void VolumeBar::mouseMoveEvent |
( |
QGraphicsSceneMouseEvent * |
event |
) |
[protected, virtual] |
void VolumeBar::mousePressEvent |
( |
QGraphicsSceneMouseEvent * |
event |
) |
[protected, virtual] |
void VolumeBar::percentageChanged |
( |
qreal |
percentage |
) |
[signal] |
Emitted when the user modifies the volume level by touching the volume bar
- Parameters:
-
| percentage | The new volume percentage |
void VolumeBar::setTargetPercentage |
( |
qreal |
percentage |
) |
[slot] |
Sets the target volume percentage of the volume bar
- Parameters:
-
| percentage | the target volume percentage |
Property Documentation
qreal VolumeBar::currentPercentage [read, write] |
Current volume percentage.
The documentation for this class was generated from the following files:
- /home/bifh1/cs2009q3-i386/work/system-ui-1.0.23/src/extensions/volume/volumebar.h
- /home/bifh1/cs2009q3-i386/work/system-ui-1.0.23/src/extensions/volume/volumebar.cpp