Show animated images in ImageView with QMovie.

Change-Id: I108190595deb710a83249bfd017f5393b27850b6
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
This commit is contained in:
Konstantin Tokarev
2012-05-10 15:14:21 +04:00
committed by Eike Ziller
parent ce7113619f
commit 6bfb167c3b
8 changed files with 148 additions and 16 deletions

View File

@@ -78,6 +78,7 @@ public:
QWidget *toolBar();
public slots:
void imageSizeUpdated(const QSize &size);
void scaleFactorUpdate(qreal factor);
void switchViewBackground();
@@ -86,6 +87,10 @@ public slots:
void zoomOut();
void resetToOriginalSize();
void fitToScreen();
void togglePlay();
private slots:
void playToggled();
private:
/*!
@@ -95,6 +100,7 @@ private:
\return true if icon is updated, false otherwise
*/
bool updateButtonIconByTheme(QAbstractButton *button, const QString &name);
void setPaused(bool paused);
private:
struct ImageViewerPrivate *d;