summaryrefslogtreecommitdiffstats
path: root/src/widgets/kernel/qwidgetwindow_qpa.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Made tst_QWidget::updateWhileMinimized() pass.Samuel Rødal2011-06-061-0/+28
| | | | | | | | | | This requires adding a couple of window system interface events, namely Map, Unmap, and Expose. When a widget is minimized on X11 it is unmapped, and thus update requests should not be delivered. Instead the event will delivered when the widget is mapped, which causes an Expose event to be sent. The Unmap and Expose event thus need to be handled in QWidgetWindow, and Map is also added for the purpose of API symmetry (and for future needs).
* Add support for mouse and keyboard grab.Laszlo Agocs2011-06-031-5/+5
| | | | Reviewed-by: Samuel Rødal
* Add focus and modal dialog support.Laszlo Agocs2011-05-301-0/+11
| | | | Reviewed-by: Samuel Rødal
* implement dragging between top levelsLars Knoll2011-05-221-2/+0
| | | | | | Correctly make use of the topLevelAt() functionality to determine which QWindow should get the drag events.
* re-add in-process DnD implementationLars Knoll2011-05-221-0/+67
| | | | | | Get in-process DnD working again. QDragManager only cares about QWindow's now, and QWidgetWindow maps this to DnD events inside the widget hierachy.
* Deliver leave event to proper widget (not the top-level).Samuel Rødal2011-05-111-1/+2
|
* Improved popup and mouse event handling.Samuel Rødal2011-05-111-23/+100
| | | | | Use QApplicationPrivate::sendMouseEvent() to ensure hover events are sent. Copy most of the popup handling code from qapplication_x11.cpp
* Prevent crash in QWidgetWindow::handleMouseEvent().Samuel Rødal2011-05-101-3/+10
| | | | Don't use mapFrom() between widgets not in the same hierarchy.
* library splitLars Knoll2011-05-071-0/+188