aboutsummaryrefslogtreecommitdiffstats
path: root/src/quicktemplates2/qquicktextfield_p_p.h
diff options
context:
space:
mode:
authorYulong Bai <yulong.bai@qt.io>2018-02-07 16:46:32 +0100
committerYulong Bai <yulong.bai@qt.io>2018-02-15 14:43:31 +0000
commit77a693cb41ac6b24ef6a4d8af0d041e26b862563 (patch)
treeb717ab829d7e89e0037e162423aae31c8bd261ed /src/quicktemplates2/qquicktextfield_p_p.h
parente689e8beb54c4a5101c105e52521251b314dd468 (diff)
QQuickTextField: add placeholderTextColor property
Add placeholderTextColor property for user convenience to customize the placeholderText color to fit the backgrounds. [ChangeLog][TextField] Added placeholderTextColor property for user convenience to customize the placeholderText color to fit the backgrounds. Task-number: QTBUG-66260 Change-Id: I9755ea5ccf2ff416846bdf130dbd352892fd40a2 Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
Diffstat (limited to 'src/quicktemplates2/qquicktextfield_p_p.h')
-rw-r--r--src/quicktemplates2/qquicktextfield_p_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/quicktemplates2/qquicktextfield_p_p.h b/src/quicktemplates2/qquicktextfield_p_p.h
index 41843370..13a20e32 100644
--- a/src/quicktemplates2/qquicktextfield_p_p.h
+++ b/src/quicktemplates2/qquicktextfield_p_p.h
@@ -130,6 +130,7 @@ public:
QPalette resolvedPalette;
QQuickDeferredPointer<QQuickItem> background;
QString placeholder;
+ QColor placeholderColor;
Qt::FocusReason focusReason;
QQuickPressHandler pressHandler;
};