Phonon
VolumeSlider Class Reference
[Widgets]
#include <Phonon/VolumeSlider>

Detailed Description
Widget providing a slider to control the volume of an AudioOutput.
Public Slots | |
| void | setAudioOutput (AudioOutput *) |
Public Member Functions | |
| VolumeSlider (QWidget *parent=0) | |
Properties | |
| qreal | maximumVolume |
| Qt::Orientation | orientation |
| bool | tracking |
| int | pageStep |
| int | singleStep |
| bool | muteVisible |
| QSize | iconSize |
Constructor & Destructor Documentation
| VolumeSlider | ( | QWidget * | parent = 0 |
) | [explicit] |
Constructs a new volume slider with a parent.
Member Function Documentation
| void setAudioOutput | ( | AudioOutput * | ) | [slot] |
Sets the audio output object to be controlled by this slider.
Property Documentation
qreal maximumVolume [read, write] |
This property holds the maximum volume that can be set with this slider.
By default the maximum value is 1.0 (100%).
Qt::Orientation orientation [read, write] |
This property holds the orientation of the slider.
The orientation must be Qt::Vertical (the default) or Qt::Horizontal.
bool tracking [read, write] |
This property holds whether slider tracking is enabled.
If tracking is enabled (the default), the volume changes while the slider is being dragged. If tracking is disabled, the volume changes only when the user releases the slider.
int pageStep [read, write] |
This property holds the page step.
The larger of two natural steps that a slider provides and typically corresponds to the user pressing PageUp or PageDown.
Defaults to 5 (5% of the voltage).
int singleStep [read, write] |
This property holds the single step.
The smaller of two natural steps that a slider provides and typically corresponds to the user pressing an arrow key.
Defaults to 1 (1% of the voltage).
bool muteVisible [read, write] |
This property holds whether the mute button/icon next to the slider is visible.
By default the mute button/icon is visible.
QSize iconSize [read, write] |
the icon size used for the mute button/icon.
The default size is defined by the GUI style.
The documentation for this class was generated from the following file:
- volumeslider.h
KDE 4.0 API Reference