Re: [Interest] Pixmap redraw on OS X Retina display zoomed-in 4x?

2016-01-22 Thread Till Oliver Knoll
> Am 22.01.2016 um 20:44 schrieb Edward Sutton : > > >> On Jan 22, 2016, at 1:30 PM, Jason H wrote: >> >> >Look for something called DevicePixelRatio... Also QML Screen attached >> >property/element. It might be a shortcoming in Qt, but you should

Re: [Interest] Pixmap redraw on OS X Retina display zoomed-in 4x?

2016-01-22 Thread Edward Sutton
On Jan 22, 2016, at 2:38 PM, Till Oliver Knoll > wrote: Am 22.01.2016 um 20:44 schrieb Edward Sutton >: On Jan 22, 2016, at 1:30 PM, Jason H

Re: [Interest] Pixmap redraw on OS X Retina display zoomed-in 4x?

2016-01-22 Thread Jason H
nterest" <interest@qt-project.org> Subject: [Interest] Pixmap redraw on OS X Retina display zoomed-in 4x?   I have a QTableWidget.   In the name column zero I have cell widget consisting of a QCommandLinkButton I added a horizontal layout to QCommandLinkButton containing 3 QLab

Re: [Interest] Pixmap redraw on OS X Retina display zoomed-in 4x?

2016-01-22 Thread Edward Sutton
t...@subsite.com<mailto:edward.sut...@subsite.com>> To: "Qt Interest" <interest@qt-project.org<mailto:interest@qt-project.org>> Subject: [Interest] Pixmap redraw on OS X Retina display zoomed-in 4x? * I have a QTableWidget. * In the name column zero I h

Re: [Interest] Pixmap redraw on OS X Retina display zoomed-in 4x?

2016-01-22 Thread Edward Sutton
This seemed to solve my problem: https://bugreports.qt.io/browse/QTBUG-46846 QLabel scaledContents broken on high resolution (retina) displays // https://bugreports.qt.io/browse/QTBUG-46846 QImage scaledImage = pixmap.toImage().scaled(pixmap.size() * devicePixelRatio(),

[Interest] Pixmap redraw on OS X Retina display zoomed-in 4x?

2016-01-22 Thread Edward Sutton
* I have a QTableWidget. * In the name column zero I have cell widget consisting of a QCommandLinkButton * I added a horizontal layout to QCommandLinkButton containing 3 QLabels, 2 with text, and the middle label contains a pixmap. Problem: 1 - When QWidget app runs on external HD