summaryrefslogtreecommitdiffstats
path: root/src/declarative/fx/qfxtext_p.h
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2009-07-06 23:38:31 (GMT)
committerMichael Brasser <michael.brasser@nokia.com>2009-07-06 23:38:31 (GMT)
commit36018fb9de1d1943454d518fb4df1f8df41e67b5 (patch)
tree2a27edc461143a1b48be866f50279c703efb2e03 /src/declarative/fx/qfxtext_p.h
parentcc5a322cbfa9ae84a6114ef7c171d7e119e6a86c (diff)
downloadQt-36018fb9de1d1943454d518fb4df1f8df41e67b5.zip
Qt-36018fb9de1d1943454d518fb4df1f8df41e67b5.tar.gz
Qt-36018fb9de1d1943454d518fb4df1f8df41e67b5.tar.bz2
Add textFormat property to the Text element.
Diffstat (limited to 'src/declarative/fx/qfxtext_p.h')
-rw-r--r--src/declarative/fx/qfxtext_p.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/declarative/fx/qfxtext_p.h b/src/declarative/fx/qfxtext_p.h
index c58705c..670b685 100644
--- a/src/declarative/fx/qfxtext_p.h
+++ b/src/declarative/fx/qfxtext_p.h
@@ -75,7 +75,8 @@ public:
QFxTextPrivate()
: _font(0), color((QRgb)0), style(QFxText::Normal), imgDirty(true),
hAlign(QFxText::AlignLeft), vAlign(QFxText::AlignTop), elideMode(Qt::ElideNone),
- dirty(false), wrap(false), smooth(false), richText(false), singleline(false), control(0), doc(0)
+ dirty(false), wrap(false), smooth(false), richText(false), singleline(false), control(0), doc(0),
+ format(QFxText::AutoText)
{
}
@@ -132,6 +133,7 @@ public:
QTextDocument *doc;
QTextLayout layout;
QSize cachedLayoutSize;
+ QFxText::TextFormat format;
};
QT_END_NAMESPACE