allow definition of SP_LineEditClearButton in css
Added the new css property lineedit-clear-button-icon Change-Id: I4596b923eb34325a73d0a80b72d963fd6204ea26 Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
This commit is contained in:
parent
f1cbc3c9d2
commit
7c5775f918
@ -2717,6 +2717,10 @@
|
||||
\li home-icon
|
||||
\li QStyle::SP_DirHomeIcon
|
||||
|
||||
\row
|
||||
\li lineedit-clear-button-icon
|
||||
\li QStyle::SP_LineEditClearButton
|
||||
|
||||
\row
|
||||
\li leftarrow-icon
|
||||
\li QStyle::SP_ArrowLeft
|
||||
|
@ -691,6 +691,7 @@ static const char knownStyleHints[][45] = {
|
||||
"gridline-color",
|
||||
"harddisk-icon",
|
||||
"home-icon",
|
||||
"lineedit-clear-button-icon",
|
||||
"icon-size",
|
||||
"leftarrow-icon",
|
||||
"lineedit-password-character",
|
||||
@ -5311,6 +5312,7 @@ static QLatin1String propertyNameForStandardPixmap(QStyle::StandardPixmap sp)
|
||||
case QStyle::SP_ArrowBack: return QLatin1String("backward-icon");
|
||||
case QStyle::SP_ArrowForward: return QLatin1String("forward-icon");
|
||||
case QStyle::SP_DirHomeIcon: return QLatin1String("home-icon");
|
||||
case QStyle::SP_LineEditClearButton: return QLatin1String("lineedit-clear-button-icon");
|
||||
default: return QLatin1String("");
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user