qt6-bb10/tests/auto/widgets
Gabriel de Dietrich b65e30c861 QWidget: Call appropriate QWindow method from setGeometry_sys()
When calling resize() from showEvent(), we'd set the full geometry
on the widget's QWindow. This resulted in the top-level window
being moved to the top-left corner, even though no other call to
move() or setGeometry() had happened before.

The solution consists on calling the proper QWindow methods depending
on whether setGeometry_sys() is called for a move, a resize or both.

Furthermore, this needs QWindow::resize() to set its position policy
to frame-exclusive. The documentation states that is already the case
and we're setting the full geometry on the platform window, so we need
to convey that bit of information.

This also solves the age-old conundrum: "### why do we have isMove as
a parameter?"

Change-Id: I2e00fd632929ade14b35ae5e6495ed1ab176d32f
Task-number: QTBUG-56277
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@qt.io>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
2017-08-23 08:42:44 +00:00
..
dialogs Ignore hanging tst_qinputdialog::getInt/getDouble() test on macOS 10.12 2017-08-02 15:49:53 +00:00
effects Revert "QWidgetEffectSourcePrivate::draw(): Call render() when no shared painter exists" 2017-06-14 13:00:35 +00:00
gestures autotests: use QTest::createTouchDevice() 2016-06-10 13:07:17 +00:00
graphicsview tst_qgraphicswidget expect fail on Win 10 2017-08-03 06:58:27 +00:00
itemviews QAbstractItemView: fix nullptr violation 2017-08-04 08:36:29 +00:00
kernel QWidget: Call appropriate QWindow method from setGeometry_sys() 2017-08-23 08:42:44 +00:00
styles tst_QStyle::drawItemPixmap(): Check on the image color 2017-07-19 07:33:38 +00:00
util Convert features.filesystemmodel to QT_[REQUIRE_]CONFIG 2017-07-02 10:39:04 +00:00
widgets Widgets: Fix ImSurroundingText query for a QLineEdit with mask 2017-08-11 13:27:37 +00:00
widgets.pro Add autotest for QGestureRecognizer. 2014-10-23 21:11:28 +02:00