52 QRect
rect = geometry();
59#if (QT_VERSION < QT_VERSION_CHECK(6, 0, 0))
60 QRect
target = QRect(QPoint(0, 0), ic.size()/ic.devicePixelRatioF());
62 QRect
target = QRect(QPoint(0, 0), ic.deviceIndependentSize().toSize());
64 target.moveCenter(
rect.center() + QPoint(3, 0));
65 painter.drawImage(
target, ic);