diff options
author | arsantil <dui-team.arsantil@fi.symbio.com> | 2010-09-21 14:52:03 +0300 |
---|---|---|
committer | Sergiy Dubovik <sergiy.dubovik@nokia.com> | 2010-10-11 13:12:40 +0300 |
commit | 7dad1f5bc2996978b8097889ad18167871041336 (patch) | |
tree | 8d5a69d4e0db4f78271f3ce0f1d383b5909133c6 /src/corelib/widgets/mlabelmodel.h | |
parent | 3d0f1d96e09fd801a9a888f415f10b3bb8707c85 (diff) |
Changes: Add MLabel::setTextFormat
Details: Can be used to force rich or plain text modes
Diffstat (limited to 'src/corelib/widgets/mlabelmodel.h')
-rw-r--r-- | src/corelib/widgets/mlabelmodel.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/corelib/widgets/mlabelmodel.h b/src/corelib/widgets/mlabelmodel.h index e80140aa..49a14e38 100644 --- a/src/corelib/widgets/mlabelmodel.h +++ b/src/corelib/widgets/mlabelmodel.h @@ -122,6 +122,8 @@ class M_EXPORT MLabelModel : public MWidgetModel */ M_MODEL_PROPERTY(QList<MLabelHighlighter *>, highlighters, Highlighters, true, QList<MLabelHighlighter *>()) + M_MODEL_PROPERTY(Qt::TextFormat, textFormat, TextFormat, true, Qt::AutoText) + public: void emitLinkActivated(const QString &link) const { Q_EMIT linkActivated(link); |