summaryrefslogtreecommitdiffstats
path: root/src/widgets/styles/images
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@theqtcompany.com>2016-02-16 12:41:11 +0100
committerFriedemann Kleint <Friedemann.Kleint@theqtcompany.com>2016-03-22 09:25:00 +0000
commitb657496a0ba326af0688e9935069139c002849cf (patch)
tree68cd9298778771e43955125720dddaf395a783d5 /src/widgets/styles/images
parenta125b2c4c744b8f5b9136170db66840eeaf1f278 (diff)
QLineEdit: Use High DPI pixmap for clear button.
Add a 32x32-pixmap to the style and factor out a function from QStyle::standardIcon() to assemble the icon. The 32x32 pixmap may also be used for the 16x16 case with devicePixelRatio=2. Change QLineEditIconButton to use QStyle::standardIcon() instead of QStyle::standardPixmap passing the QWindow to obtain the correct pixmap from the icon. Task-number: QTBUG-49374 Change-Id: I9895230f66911752cc13b7212609141610df0977 Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
Diffstat (limited to 'src/widgets/styles/images')
-rw-r--r--src/widgets/styles/images/cleartext-32.pngbin0 -> 410 bytes
1 files changed, 0 insertions, 0 deletions
diff --git a/src/widgets/styles/images/cleartext-32.png b/src/widgets/styles/images/cleartext-32.png
new file mode 100644
index 0000000000..ff5a2b5ec1
--- /dev/null
+++ b/src/widgets/styles/images/cleartext-32.png
Binary files differ