summaryrefslogtreecommitdiffstats
path: root/src/declarative/fx/qfximage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/declarative/fx/qfximage.cpp')
-rw-r--r--src/declarative/fx/qfximage.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/declarative/fx/qfximage.cpp b/src/declarative/fx/qfximage.cpp
index 027b22a..69030d2 100644
--- a/src/declarative/fx/qfximage.cpp
+++ b/src/declarative/fx/qfximage.cpp
@@ -464,6 +464,12 @@ QUrl QFxImage::source() const
return d->url;
}
+/*!
+ \qmlproperty bool Image::preserveAspect
+
+ Whether the image's aspect ratio should be preserved when resizing. By default this
+ is false.
+*/
bool QFxImage::preserveAspect() const
{
Q_D(const QFxImage);