[MeeGo-dev] Qt physical screen size
david at dgreaves.com
Mon Feb 22 16:37:49 CST 2010
Bernd Stramm wrote:
> I can do this on Qt:
> QPixmap testMap = QPixmap::grabWindow (QApplication::desktop()->winId());
> double widthInFingers = testMap.widthMM() / 20.0;
> double heightInFingers = testMap.heightMM() / 20.0;
/me runs screaming....
You do know that Qt has some of the best docs  in the business?
Does it not strike you that a class called QApplication that has a
'desktop()'  member may have some useful information  about... say.... the
"Don't worry, you'll be fine; I saw it work in a cartoon once..."
More information about the MeeGo-dev