QMediaProgressWidget Class Reference
[QtMediaModule]
The QMediaProgressWidget class displays the current progress of a playing media content as a progress bar. More...
#include <QMediaProgressWidget>
Inherits QWidget.
Public Functions
- 206 public functions inherited from QWidget
- 29 public functions inherited from QObject
- 14 public functions inherited from QPaintDevice
Public Slots
- 19 public slots inherited from QWidget
- 1 public slot inherited from QObject
Additional Inherited Members
- 57 properties inherited from QWidget
- 1 property inherited from QObject
- 1 signal inherited from QWidget
- 1 signal inherited from QObject
- 1 public type inherited from QObject
- 4 static public members inherited from QWidget
- 4 static public members inherited from QObject
- 38 protected functions inherited from QWidget
- 7 protected functions inherited from QObject
- 1 protected function inherited from QPaintDevice
- 1 protected slot inherited from QWidget
- 2 protected variables inherited from QObject
- 1 protected type inherited from QPaintDevice
Detailed Description
The QMediaProgressWidget class displays the current progress of a playing media content as a progress bar.
The QMediaProgressWidget class can be used in conjunction with the QMediaContent class to display the playback progress of a media content object.
QMediaProgressWidget *progress = new QMediaProgressWidget( this );
QMediaContent *content = new QMediaContent( url, this );
progress->setMediaContent( content );
QMediaProgressWidget is a player object.
Member Function Documentation
QMediaProgressWidget::QMediaProgressWidget ( QWidget * parent = 0 )
Constructs an progress widget. The progress is initialized to nill.
The parent argument is passed to the QWidget constructor.
QMediaProgressWidget::~QMediaProgressWidget ()
Destroys the widget.
QMediaContent * QMediaProgressWidget::content () const
Returns the media content object currently being watched.
void QMediaProgressWidget::setMediaContent ( QMediaContent * content ) [slot]
Sets content as the media content object to watch.
Copyright © 2009 Nokia |
Trademarks |
Qt Extended 4.4.3 |