Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions |
The QMediaVolumeWidget class displays the current volume level of a media content object as a progress bar. More...
#include <QMediaVolumeWidget>
Inherits QWidget.
The QMediaVolumeWidget class displays the current volume level of a media content object as a progress bar.
The QMediaVolumeWidget class can be used in conjunction with the QMediaContent class to display the current volume of a media content object.
QMediaVolumeWidget *volume = new QMediaVolumeWidget( this ); QMediaContent *content = new QMediaContent( url, this ); progress->setMediaContent( content );
In addition the user is able to control the volume by holding down the left and right arrow keys. A hold of Qt::Key_Left decreases the volume while a hold of Qt::Key_Right increases the volume.
QMediaVolumeWidget is a player object.
The parent argument is passed to the QWidget constructor.
Destroys the widget.
Returns the media content object currently being used.
Sets content as the media content object to use.
Copyright © 2009 Nokia | Trademarks | Qt Extended 4.4.3 |