diff options
author | Yulong Bai <yulong.bai@qt.io> | 2018-02-20 14:42:49 +0100 |
---|---|---|
committer | Yulong Bai <yulong.bai@qt.io> | 2018-02-21 14:03:30 +0000 |
commit | 6b28a01d3f4c7c28e38b395bc3d916154bdfdcaa (patch) | |
tree | 343c7b329dfe2c4897e966755316291b8fe36cbe /src/quicktemplates2/qquicktextarea_p_p.h | |
parent | 8505b96fbe88980e45c0f78792ad48c02f34bfa7 (diff) |
QQuickTextArea: add placeholderTextColor property
Add placeholderTextColor property for user convenience to customize the
placeholderText color to fit the backgrounds.
[ChangeLog][TextArea] Added placeholderTextColor property for user
convenience to customize the placeholderText color to fit the backgrounds.
Change-Id: Iea0233f909ca9cfe19d88f9bc24691aa35b5ab35
Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
Diffstat (limited to 'src/quicktemplates2/qquicktextarea_p_p.h')
-rw-r--r-- | src/quicktemplates2/qquicktextarea_p_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/quicktemplates2/qquicktextarea_p_p.h b/src/quicktemplates2/qquicktextarea_p_p.h index 8621c61c..c271660a 100644 --- a/src/quicktemplates2/qquicktextarea_p_p.h +++ b/src/quicktemplates2/qquicktextarea_p_p.h @@ -142,6 +142,7 @@ public: QPalette resolvedPalette; QQuickDeferredPointer<QQuickItem> background; QString placeholder; + QColor placeholderColor; Qt::FocusReason focusReason; QQuickPressHandler pressHandler; QQuickFlickable *flickable; |