qtdeclarative/examples/quick/imageelements
Shawn Rutledge 5d995ae122 Move currentFrame and frameCount properties up to QQuickImageBase
AnimatedImage already had these properties, but some typically non-animated
image formats such as PDF, TIFF and ICO can also support multiple pages.
In either case, the currentFrame property can be used to select a specific
frame or page.  However an AnimatedImage uses a QMovie to do that, whereas
a plain Image uses QQuickPixmap.  So the accessors need to be virtual in
order to have these different implementations.

[ChangeLog][QtQuick][Image] Image and BorderImage now have currentFrame
and frameCount properties which can be used to step through the frames of
multi-page image formats such as TIFF, WEBP and ICO.

Task-number: QTBUG-77506
Change-Id: Id4d95a99a26a862957e44b1bd8ffe06d7eababef
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
2019-08-24 12:26:20 +02:00
..
content Move currentFrame and frameCount properties up to QQuickImageBase 2019-08-24 12:26:20 +02:00
doc Doc: Fix broken link targets 2018-07-25 13:01:53 +00:00
animatedimage.qml Get rid of Qt.labs.handlers import, merge into QtQuick 2.12 2018-07-17 15:11:51 +00:00
animatedsprite.qml AnimatedSprite: set implicit size based on implicit frame size 2018-02-26 22:59:42 +00:00
borderimage.qml Fix outdated BSD license header 2017-10-17 11:18:11 +00:00
framestepping.qml Move currentFrame and frameCount properties up to QQuickImageBase 2019-08-24 12:26:20 +02:00
image.qml Fix outdated BSD license header 2017-10-17 11:18:11 +00:00
imageelements.pro Use resource files for most examples 2012-12-12 10:32:50 +01:00
imageelements.qml Move currentFrame and frameCount properties up to QQuickImageBase 2019-08-24 12:26:20 +02:00
imageelements.qmlproject Merge master <-> api_changes 2012-03-05 11:39:54 +10:00
imageelements.qrc Move currentFrame and frameCount properties up to QQuickImageBase 2019-08-24 12:26:20 +02:00
main.cpp Fix outdated BSD license header 2017-10-17 11:18:11 +00:00
multiframeborderimage.qml Move currentFrame and frameCount properties up to QQuickImageBase 2019-08-24 12:26:20 +02:00
shadows.qml Fix outdated BSD license header 2017-10-17 11:18:11 +00:00
spritesequence.qml Fix outdated BSD license header 2017-10-17 11:18:11 +00:00