From 0e9ea64edcdb451ffcfbf055174354e6c8f2df88 Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Mon, 8 Apr 2013 10:08:19 +0200 Subject: Add Style hint for Clear buttons within QLineEdit. Initial-patch-by: Kevin.Ottens@kdab.com Change-Id: I4893923d5015535eb6d934636d6b5925088d7be8 Reviewed-by: Giuseppe D'Angelo Reviewed-by: Kevin Ottens --- src/widgets/styles/qstyle.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/widgets/styles/qstyle.cpp') diff --git a/src/widgets/styles/qstyle.cpp b/src/widgets/styles/qstyle.cpp index 603d0e50a5..7ab5734eed 100644 --- a/src/widgets/styles/qstyle.cpp +++ b/src/widgets/styles/qstyle.cpp @@ -1986,6 +1986,7 @@ void QStyle::drawItemPixmap(QPainter *painter, const QRect &rect, int alignment, \value SP_MediaSeekBackward Icon indicating that media should seek backward. \value SP_MediaVolume Icon indicating a volume control. \value SP_MediaVolumeMuted Icon indicating a muted volume control. + \value SP_LineEditClearButton Icon for a standard clear button in a QLineEdit. This enum value was added in Qt 5.2. \value SP_CustomBase Base value for custom standard pixmaps; custom values must be greater than this value. -- cgit v1.2.3