Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions codeless banner

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

Public Slots

Additional Inherited Members


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"

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 Trolltech Trademarks
Qt Extended 4.4.3