summaryrefslogtreecommitdiffstats
path: root/src/declarative/fx/qfxtext.h
diff options
context:
space:
mode:
authorYann Bodson <yann.bodson@nokia.com>2009-07-02 02:40:15 (GMT)
committerYann Bodson <yann.bodson@nokia.com>2009-07-02 02:40:15 (GMT)
commitcf8871a52244884943c2d798dbe93fb181728bcd (patch)
tree2629be260a5b5907af49ba7a5b6f3dadfade64c8 /src/declarative/fx/qfxtext.h
parent4e9336d1f60089bffda7fca93a63d18ffce0a6fa (diff)
downloadQt-cf8871a52244884943c2d798dbe93fb181728bcd.zip
Qt-cf8871a52244884943c2d798dbe93fb181728bcd.tar.gz
Qt-cf8871a52244884943c2d798dbe93fb181728bcd.tar.bz2
Add smooth property to Text element.
Diffstat (limited to 'src/declarative/fx/qfxtext.h')
-rw-r--r--src/declarative/fx/qfxtext.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/declarative/fx/qfxtext.h b/src/declarative/fx/qfxtext.h
index 1f5a7b8..104d18c 100644
--- a/src/declarative/fx/qfxtext.h
+++ b/src/declarative/fx/qfxtext.h
@@ -69,6 +69,7 @@ class Q_DECLARATIVE_EXPORT QFxText : public QFxItem
Q_PROPERTY(bool wrap READ wrap WRITE setWrap)
Q_PROPERTY(Qt::TextElideMode elide READ elideMode WRITE setElideMode)
Q_PROPERTY(QString activeLink READ activeLink)
+ Q_PROPERTY(bool smooth READ smoothTransform WRITE setSmoothTransform)
public:
QFxText(QFxItem *parent=0);
@@ -113,6 +114,9 @@ public:
QString activeLink() const;
+ bool smoothTransform() const;
+ void setSmoothTransform(bool);
+
virtual void dump(int depth);
virtual QString propertyInfo() const;