Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions |
The QMediaVolumeLabel class displays icons for the various levels of volume. More...
#include <QMediaVolumeLabel>
Inherits QWidget.
The QMediaVolumeLabel class displays icons for the various levels of volume.
The QMediaVolumeLabel class is useful for displaying standard icons for conveying volume information.
The display type can be set either by the constructor or by the setVolumeType() method.
QMediaVolumeLabel *label = new QMediaVolumeLabel; label->setVolumeType( QMediaVolumeLabel::MuteVolume );
This enum type specifies the volume level icon.
Constant | Value | Description |
---|---|---|
QMediaVolumeLabel::MinimumVolume | 0 | Displays the icon representing minimum volume. |
QMediaVolumeLabel::MaximumVolume | 1 | Displays the icon representing maximum volume. |
QMediaVolumeLabel::MuteVolume | 2 | Displays the icon representing mute volume. |
Constructs a volume label with a default icon of type.
The parent argument is passed to the QWidget constructor.
Destroys the label.
Displays the icon for type.
See also volumeType().
Returns the current display type.
See also setVolumeType().
Copyright © 2009 Trolltech | Trademarks | Qt Extended 4.4.3 |