summaryrefslogtreecommitdiffstats
path: root/src/declarative/fx/qfxtext.cpp
diff options
context:
space:
mode:
authorYann Bodson <yann.bodson@nokia.com>2009-08-10 00:11:08 (GMT)
committerYann Bodson <yann.bodson@nokia.com>2009-08-10 00:11:08 (GMT)
commitc4235f6f90613f1a877da067354b912ef0004259 (patch)
tree911306f9fe7d7dd81aa8cf8b7fb89e30292e38b7 /src/declarative/fx/qfxtext.cpp
parent1a05457011ca570b1f082f2e4312ad4897fbeb2d (diff)
downloadQt-c4235f6f90613f1a877da067354b912ef0004259.zip
Qt-c4235f6f90613f1a877da067354b912ef0004259.tar.gz
Qt-c4235f6f90613f1a877da067354b912ef0004259.tar.bz2
Documentation
Diffstat (limited to 'src/declarative/fx/qfxtext.cpp')
-rw-r--r--src/declarative/fx/qfxtext.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/declarative/fx/qfxtext.cpp b/src/declarative/fx/qfxtext.cpp
index 0c3f4e9..c3872c4 100644
--- a/src/declarative/fx/qfxtext.cpp
+++ b/src/declarative/fx/qfxtext.cpp
@@ -809,6 +809,19 @@ void QFxText::paint(QPainter *p, const QStyleOptionGraphicsItem *, QWidget *)
}
}
+/*!
+ \qmlproperty bool Text::smooth
+
+ Set this property if you want the text to be smoothly scaled or
+ transformed. Smooth filtering gives better visual quality, but is slower. If
+ the item is displayed at its natural size, this property has no visual or
+ performance effect.
+
+ \note Generally scaling artifacts are only visible if the item is stationary on
+ the screen. A common pattern when animating an item is to disable smooth
+ filtering at the beginning of the animation and reenable it at the conclusion.
+*/
+
void QFxText::componentComplete()
{
Q_D(QFxText);