Added clarification to platform screen documentation.
Document that physicalSize() should return the size in millimeters. Change-Id: Idf1283aa9b303bcb95361688f2ef663979bc6516 Reviewed-by: Gunnar Sletta <gunnar.sletta@nokia.com>
This commit is contained in:
parent
b3f9978a4d
commit
79400f83ec
@ -123,8 +123,8 @@ QScreen *QPlatformScreen::screen() const
|
||||
|
||||
/*!
|
||||
Reimplement this function in subclass to return the physical size of the
|
||||
screen. The physical size represents the actual physical dimensions of
|
||||
the display.
|
||||
screen, in millimeters. The physical size represents the actual physical
|
||||
dimensions of the display.
|
||||
|
||||
The default implementation takes the pixel size of the screen, considers a
|
||||
resolution of 100 dots per inch, and returns the calculated physical size.
|
||||
|
Loading…
x
Reference in New Issue
Block a user