Added note in QPlatformWindow::setGeometry() docs about position policy.
Change-Id: I0ac76b7aac1aa717592c34f414b1dd8fbee92be2 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
This commit is contained in:
parent
49b08f96e8
commit
b0a803213e
@ -114,6 +114,10 @@ QSurfaceFormat QPlatformWindow::format() const
|
||||
can happen programatically(from ie. user application) or by the window manager. This means that
|
||||
there is no need to call this function specifically from the window manager callback, instead
|
||||
call QWindowSystemInterface::handleGeometryChange(QWindow *w, const QRect &newRect);
|
||||
|
||||
The position(x, y) part of the rect might be inclusive or exclusive of the window frame
|
||||
as returned by frameMargins(). You can detect this in the plugin by checking
|
||||
qt_window_private(window())->positionPolicy.
|
||||
*/
|
||||
void QPlatformWindow::setGeometry(const QRect &rect)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user