diff options
author | Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> | 2016-01-26 16:49:31 +0100 |
---|---|---|
committer | Shawn Rutledge <shawn.rutledge@theqtcompany.com> | 2016-01-29 08:23:56 +0000 |
commit | 666bc731a0ba930ca0cfda18daf836913fd91361 (patch) | |
tree | ad83a62b470f07b1ece2c720fa3854a0297ad397 /src/qml/qml/qqmlvaluetypewrapper.cpp | |
parent | c14c3a1054f68886413e8698cdf67275d91d3e58 (diff) |
photosurface demo: Improve handling of image directories.
Make it possible to pass URLs on the command line. If no argument is
given and the pictures location as returned by QStandardPaths exists
and has contents, show it, Otherwise, show the file dialog as was before.
Set context properties containing pictures location, image name filters
and initial URL.
Derive the image filter string from QImageReader/QMimeDatabase.
Change-Id: I89bdff27416bf8ef725aa4e17853b2f634cf059b
Reviewed-by: Shawn Rutledge <shawn.rutledge@theqtcompany.com>
Diffstat (limited to 'src/qml/qml/qqmlvaluetypewrapper.cpp')
0 files changed, 0 insertions, 0 deletions