Flickr View Example

The Flickr View Qt Quick example uses a WebView to browse the images from the Flickr public RSS feed.

FlickrView is an example that retrieves the flickr.com RSS feed of public photos utilizing an XmlListModel and shows the thumbnails in a ListView. When clicking on a thumbnail in the list at the bottom, the full size image is loaded in a WebView using the corresponding Flickr link for it. It is also possible to browse the profile of Flickr users in the WebView like in a normal browser. This demonstrates how navigaton can be restricted to a specific domain in the onNavigationRequested signal. The feed can be updated using pull-to-refresh at the end of the thumbnail list.

This example uses the QtWebKit QML API that utilizes the WebKit2 split-process architecture.

Files:

Images:

© 2016 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.