-
Suggestion
-
Resolution: Unresolved
-
Not Evaluated
-
None
-
None
-
None
-
81e74cfa2 (dev), 3f34ee319 (dev), ce1e18ff4 (dev), 572602582 (6.9), dcefb304c (6.10)
Using a QIcon instead a QPixmap in a QLabel has the advantage that the label can react on devicePixelRatio changes (e.g. due to moving it from one screen to another) by simply selecting the appropriate icon if available. The desired size has to be passed as second parameter though.
- is duplicated by
-
QTBUG-113658 QLabel icon is blurry when scale QGraphicsView
-
- Open
-
- resulted in
-
QTBUG-134930 [REG 6.9] QLabel scaled pixmap is broken
-
- Closed
-
For Gerrit Dashboard: QTBUG-122403 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
569056,15 | QLabel: use QIcon instead QPixmap in internal data structure | dev | qt/qtbase | Status: MERGED | +2 | 0 |
570057,28 | QLabel: add setIcon() and setIconSize() | dev | qt/qtbase | Status: ABANDONED | 0 | 0 |
579201,7 | QLabel: add test to verify correct drawing when using QIcon | dev | qt/qtbase | Status: ABANDONED | 0 | 0 |
604696,2 | QLabel: clearContents() when setting a new QPixmap | dev | qt/qtbase | Status: MERGED | +2 | 0 |
654836,2 | QLabel: use Qt::SmoothTransformation when painting on a high-dpi screen | dev | qt/qtbase | Status: MERGED | +2 | 0 |
663830,2 | QLabel: use Qt::SmoothTransformation when painting on a high-dpi screen | 6.10 | qt/qtbase | Status: MERGED | +2 | +1 |
663831,2 | QLabel: use Qt::SmoothTransformation when painting on a high-dpi screen | 6.9 | qt/qtbase | Status: MERGED | +2 | +1 |