Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions |
The QMediaSeekWidget class allows the user to seek within a media content object. More...
#include <QMediaSeekWidget>
Inherits QWidget.
The QMediaSeekWidget class allows the user to seek within a media content object.
The QMediaSeekWidget class can be used in conjunction with the QMediaContent class to enable the user to seek within a media content object.
QMediaSeekWidget *seek = new QMediaSeekWidget( this ); QMediaContent *content = new QMediaContent( url, this ); seek->setMediaContent( content );
The user can seek within a media content object by holding down the left and right arrow keys. A hold of Qt::Key_Left seeks backward while a hold of Qt::Key_Right seeks forward. The actual seek within the media content object is deferred until the user releases the arrow keys.
During the seek the positionChanged() signal will be emitted continually with the current seek position. While the user is not seeking the positionChanged() and lengthChanged() signals will be emitted when position and length have changed in the media content object.
QMediaSeekWidget is a player object.
Constructs a seek widget.
The parent argument is passed to the QWidget constructor.
Destroys the widget.
Returns the media content object currently being used.
This signal is emitted when the total time of the playing media content has changed. The time is given by ms in milliseconds.
This signal is emitted when the seek position has changed. While the user is not seeking this signal will be emitted when the position has changed in the media content object. The position is given by ms in milliseconds.
Sets content as the media content object to use.
Copyright © 2009 Nokia | Trademarks | Qt Extended 4.4.3 |