QMediaStateLabel Class Reference
[QtMediaModule]
The QMediaStateLabel class displays icons for the various states of media playback. More...
#include <QMediaStateLabel>
Inherits QWidget.
Public Functions
- 206 public functions inherited from QWidget
- 29 public functions inherited from QObject
- 14 public functions inherited from QPaintDevice
Public Slots
- void setState ( QtopiaMedia::State state )
- 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 QMediaStateLabel class displays icons for the various states of media playback.
The QMediaStateLabel class is useful for displaying standard icons for conveying state information about media playback.
The display type can be set either by the constructor or by the setState() slot.
QMediaStateLabel *label = new QMediaStateLabel;
label->setState( QtopiaMedia::Playing );
Member Function Documentation
QMediaStateLabel::QMediaStateLabel ( QtopiaMedia::State state = QtopiaMedia::Stopped, QWidget * parent = 0 )
Constructs a state label with a default display type of state.
The parent argument is passed to the QWidget constructor.
QMediaStateLabel::~QMediaStateLabel ()
Destroys the state label.
void QMediaStateLabel::setState ( QtopiaMedia::State state ) [slot]
Displays the icon for state.
See also state().
Returns the current state display.
See also setState().
Copyright © 2009 Trolltech |
Trademarks |
Qt Extended 4.4.3 |