Video player example updated to display histogram using QVideoProbe.

Change-Id: Iaeba751280133bd405fe90a0d5d07be446c95738
Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
This commit is contained in:
Lev Zelenskiy
2012-02-21 17:23:47 +10:00
committed by Qt by Nokia
parent b56d3e70df
commit 03a14a95fe
5 changed files with 219 additions and 3 deletions

View File

@@ -54,6 +54,7 @@ class QLabel;
class QModelIndex;
class QSlider;
class QPushButton;
class QVideoProbe;
class QMediaPlayer;
class QVideoWidget;
@@ -62,6 +63,7 @@ QT_END_NAMESPACE
QT_USE_NAMESPACE
class PlaylistModel;
class HistogramWidget;
class Player : public QWidget
{
@@ -113,6 +115,11 @@ private:
QPushButton *colorButton;
QDialog *colorDialog;
#endif
QLabel *labelHistogram;
HistogramWidget *histogram;
QVideoProbe *probe;
PlaylistModel *playlistModel;
QAbstractItemView *playlistView;
QString trackInfo;