Polish the image viewer example.
authorFriedemann Kleint <Friedemann.Kleint@digia.com>
Wed, 4 Jun 2014 10:25:56 +0000 (12:25 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Thu, 12 Jun 2014 12:23:48 +0000 (14:23 +0200)
commit3f39c0f76cec121181ab9d6a0cf057c1b1aeb25c
tree5208e11f760e91ae788e9c7bcf06ac5b63922cfa
parent81ba16cad933981f55218964a89ed1446022efba
Polish the image viewer example.

- Open files passed on the command line.
- Point the file dialog to the pictures location
  and use a filter string for the supported types.
- Set the window title according to file name.

Task-number: QTBUG-37203
Task-number: QTBUG-39287
Change-Id: I4e5e43875c3a7544c862c054181e75942939c1d5
Reviewed-by: David Faure <david.faure@kdab.com>
examples/widgets/doc/src/imageviewer.qdoc
examples/widgets/widgets/imageviewer/imageviewer.cpp
examples/widgets/widgets/imageviewer/imageviewer.h
examples/widgets/widgets/imageviewer/main.cpp