qt5base-lts/tests/auto/widgets/widgets
Liang Qi 493a85a9e4 Widgets: setTransientParent() when a QMenu is a window
On some platforms, such as X11 and Wayland with some compositors,
QMenu could be a popup window, which should be set a transient parent
to get relative position, which is requested by Wayland.

Added transientParentWindow() for QMenuPrivate like QDialogPrivate.

Fixes: QTBUG-68636
Pick-to: 6.2
Change-Id: I6d8880cb008ecf61a4c005898b38e3953379a13d
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2021-12-08 13:45:36 +01:00
..
qabstractbutton Android: unblock passing tests 2021-04-27 21:12:50 +03:00
qabstractscrollarea Take overshoot into account when laying out QAbstractScrollArea 2021-10-13 14:27:12 +00:00
qabstractslider
qabstractspinbox
qbuttongroup
qcalendarwidget
qcheckbox
qcombobox testlib: Deprecate QWARN() in favor of qWarning() 2021-08-04 19:31:51 +02:00
qcommandlinkbutton
qdatetimeedit QtBase: replace windows.h with qt_windows.h 2021-11-23 12:53:46 +08:00
qdial QDial: use qRound to round 2021-03-18 22:34:13 +01:00
qdialogbuttonbox
qdockwidget Skip tst_QDockWidget::restoreDockWidget on Wayland 2021-03-16 08:08:43 +01:00
qdoublespinbox testlib: Deprecate QWARN() in favor of qWarning() 2021-08-04 19:31:51 +02:00
qfocusframe
qfontcombobox Fix assert in QFontComboBox when setting empty font 2021-11-18 23:41:02 +01:00
qframe
qgroupbox Android: unblock passing tests 2021-04-27 21:12:50 +03:00
qkeysequenceedit
qlabel Port to QImage and QPixmap deviceIndependentSize() 2021-09-01 15:24:05 +02:00
qlcdnumber
qlineedit Report ImAbsolutePosition for QLineEdit 2021-08-18 20:06:05 +02:00
qmainwindow Test result of qobject_cast before dereferencing 2021-11-15 16:51:14 +01:00
qmdiarea Fix fail to activate first sub window with QMdiArea::TabbedView 2021-12-02 09:08:40 +08:00
qmdisubwindow
qmenu Widgets: setTransientParent() when a QMenu is a window 2021-12-08 13:45:36 +01:00
qmenubar testlib: Deprecate QWARN() in favor of qWarning() 2021-08-04 19:31:51 +02:00
qopenglwidget
qplaintextedit
qprogressbar
qpushbutton QPushButton: emit released signal when mouse dragged out of bounds 2021-11-10 16:16:24 +00:00
qradiobutton
qscrollarea Reduce the width of a hfw-widget if scrollbar would be flipping 2021-10-11 10:49:57 +02:00
qscrollbar Fix wrong variable initialization in tst_QScrollBar::task_209492 2021-05-26 03:14:52 +02:00
qsizegrip
qslider
qspinbox Add style hint for preventing spin box selection on up/down 2021-10-08 00:45:18 +02:00
qsplashscreen
qsplitter
qstackedwidget
qstatusbar
qtabbar QTabBar: Support scrolling with a kinetic wheel 2021-11-15 16:23:42 +01:00
qtabwidget
qtextbrowser Android: Add select and copy capability to read-only text widgets 2021-03-30 10:35:59 +02:00
qtextedit Text editing: smart block and char format after newline 2021-12-02 22:22:59 +01:00
qtoolbar
qtoolbox
qtoolbutton Sync default action when checking tool button programmatically 2021-07-22 16:17:49 +02:00
CMakeLists.txt