diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2009-06-01 03:25:08 (GMT) |
---|---|---|
committer | Michael Brasser <michael.brasser@nokia.com> | 2009-06-01 03:25:08 (GMT) |
commit | b9f484ae5d415d95df897e18059c054527111374 (patch) | |
tree | 48e5c68e87125b657203ed00e6021bc14b4c6672 /src/declarative/fx/qfxtextedit_p.h | |
parent | e4ea96a48bd6d4c8b96859fc0364a5d9c7c686d6 (diff) | |
download | Qt-b9f484ae5d415d95df897e18059c054527111374.zip Qt-b9f484ae5d415d95df897e18059c054527111374.tar.gz Qt-b9f484ae5d415d95df897e18059c054527111374.tar.bz2 |
Add textMargin property and more flexible key handling to TextEdit
Diffstat (limited to 'src/declarative/fx/qfxtextedit_p.h')
-rw-r--r-- | src/declarative/fx/qfxtextedit_p.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/declarative/fx/qfxtextedit_p.h b/src/declarative/fx/qfxtextedit_p.h index 9f26b10..f733a4c 100644 --- a/src/declarative/fx/qfxtextedit_p.h +++ b/src/declarative/fx/qfxtextedit_p.h @@ -70,7 +70,7 @@ public: QFxTextEditPrivate() : font(0), color("black"), imgDirty(true), hAlign(QFxTextEdit::AlignLeft), vAlign(QFxTextEdit::AlignTop), dirty(false), wrap(false), richText(false), cursorVisible(false), focusOnPress(false), preserveSelection(true), - format(QFxTextEdit::AutoText), document(0) + textMargin(0.0), format(QFxTextEdit::AutoText), document(0) { } @@ -99,6 +99,7 @@ public: bool cursorVisible; bool focusOnPress; bool preserveSelection; + qreal textMargin; QFxTextEdit::TextFormat format; QTextDocument *document; QTextControl *control; |