qt5base-lts/tests/auto/widgets
Morten Johan Sørvig d7a9e08f0a Make QWindow::setVisible() work for widgets
QWidget has its own setVisible() code that needs to
be run in order to correctly transition widget visibility.

It is desirable to be able to show and hide (native)
widgets also from the QWindow side, for example from
the platform plugin, or from generic QWindow handling
code in QtGui.

Add a new virtual QWindowPrivate::setVisible() and
move the QWindow visibility implementation there.
Subclasses can now override this function to add custom
code.

Make QWidgetPrivate::show/hide_sys() call the QWindowPrivate
setVisible implementation instead of the QWindow setVisible
public API.

Change-Id: I082f174b100659e1221d5898b490f8a9f498abdf
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
2017-05-11 07:22:51 +00:00
..
dialogs Windows: Fix tst_QFileDialog2::completionOnLevelAfterRoot() 2017-04-29 07:39:09 +00:00
effects QGraphicsBlurEffect: Fix for high DPI scaling 2017-04-18 20:27:36 +00:00
gestures autotests: use QTest::createTouchDevice() 2016-06-10 13:07:17 +00:00
graphicsview Pluginize the platform styles 2017-04-14 17:07:54 +00:00
itemviews Fix tst_QDirModel for qemu 2017-04-07 05:53:47 +00:00
kernel Make QWindow::setVisible() work for widgets 2017-05-11 07:22:51 +00:00
styles Pluginize the platform styles 2017-04-14 17:07:54 +00:00
util Merge remote-tracking branch 'origin/5.8' into 5.9 2017-03-13 15:55:44 +01:00
widgets Merge remote-tracking branch 'origin/5.9' into dev 2017-05-07 13:08:18 +02:00
widgets.pro Add autotest for QGestureRecognizer. 2014-10-23 21:11:28 +02:00