| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
| |
| |
| | |
Reviewed-by: Samuel
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
There is a #define DrawText DrawTextW in winuser.h which is included
in windows.h so that the enum value in line 1981 is seen as DrawTextW
and thus is not a valid enum value on Windows.
Reviewed-by: Samuel
Reviewed-by: Lars Knoll
|
| |
| |
| |
| |
| | |
Reviewed-by: Samuel
Reviewed-by: Lars Knoll
|
| |
| |
| |
| |
| | |
Reviewed-by: Samuel
Reviewed-by: Lars Knoll
|
| |
| |
| |
| |
| | |
Reviewed-by: Samuel
Reviewed-by: Lars Knoll
|
| |
| |
| |
| |
| | |
Reviewed-by: Samuel
Reviewed-by: Lars Knoll
|
| |
| |
| |
| |
| | |
Reviewed-by: Samuel
Reviewed-by: Lars Knoll
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
We should not call requestActivateWindow() in
reaction to WM_TAKE_FOCUS. Looks like it should
only be done if the focus should in fact go
to a modal child of the widget.
|
| |
| |
| |
| | |
Reviewed-by: Lars Knoll
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
Make QXcbClipboard and QXcbDrag a QXcbObject to simplify
the code.
Use the predefined atoms in xproto.h instead of our own
defines.
|
| |
| |
| |
| |
| |
| |
| |
| | |
QDropEvent::source() now returns a QObject
instead of a widget, matching the implementation
in QDrag.
Reviewed-by: Samuel
|
| |
| |
| |
| |
| |
| |
| | |
qt_button_down needs to be reset to 0 if it
points to the widget being deleted.
Reviewed-by: Samuel
|
| |
| |
| |
| |
| |
| |
| | |
Check that the window is still there before
trying to deliver an event to it.
Reviewed-by: Samuel
|
| |
| |
| |
| | |
Reviewed-by: Samuel
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Do not set the event mask of the window
we drop onto to NO_EVENT. Always use the
clipboards requestor window to convert
selections.
Reviewed-by: Samuel
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Add a QXcbWMSupport class to better integrate with
NET_WM compliant window managers.
Suppport NET_WM_USER_TIME on windows.
Reviewed-by: Samuel
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Ported most of the code to support dragging
from qdnd_x11.cpp to xcb. Some features are still
not working 100% correct, but it's becoming
usable.
Reviewed-by: Samuel
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Initial code for DnD on X11. Only Xdnd based,
Motif DnD is being ignored.
The code is currently limited to dropping
stuff onto the application. Starting drags
is not yet implemented.
Reviewed-by: Samuel
|
| |
| |
| |
| |
| |
| |
| |
| | |
This can be used to initialize data
when a drag starts. The Xdnd implementation
at least has a need for it.
Reviewed-by: Samuel
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
I'm not sure what "local" and "global" means for
QWindowSystemInterface::handleMouseEvent. Sending
the mouse position in window coordinates for both
works.
|
| |
| |
| |
| |
| |
| | |
Since 'widgets' now is a separate library outside GUI, some
previously hidden symbols now needs to be exported. This patch
will make 'widgets' build.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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).
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
This requires some source files to be shipped with the Qt install
They are now copied into QT_INSTALL_DATA/platform
|
| |
| |
| |
| | |
Implement some missing functionality in QWidget::destroy().
|
| |
| |
| |
| |
| | |
Since we grab the desktop the KDE task bar appears on top of the window
we're interested in. It's preferable to make the window a bit smaller.
|
| | |
|
| |
| |
| |
| | |
This makes the tst_QWidget::widgetAt() auto-test pass.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When an auto-test calls processEvents() indirectly via QTest::qWait(),
QAbstractEventDispatcher::aboutToBlock() doesn't get emitted since
the processEvents() implementation gets called without
the QEventLoop::WaitForMoreEvents flag set. Since the auto-tests depend
on all events getting delivered, we need to process the XCB events on
awake() as well.
|
| |
| |
| |
| |
| | |
The QTRY_VERIFY() should include the whole test, not just whether we got
a widget or not, since it might be the wrong one.
|
| |
| |
| |
| |
| | |
Makes it possible to use grabWindow on the desktop widget with the xcb
plugin, which gives us a few more passing tests in tst_QWidget.
|
| |
| |
| |
| |
| | |
We've removed support for painter redirection, QWidget::render() should
be used instead.
|
| | |
|
| |
| |
| |
| | |
Copy the image explicitly before calling QPixmap::fromImage().
|
| | |
|
| |
| |
| |
| | |
Reviewed-by: Samuel Rødal
|
| |
| |
| |
| | |
Only call createWinId() if we have a parent widget set.
|
| | |
|
| |
| |
| |
| |
| | |
We need to call setWinId() at appropriate times, and enable creation of
native handles for child widgets when createWinId() is called.
|
|\ \
| | |
| | |
| | | |
refactor
|
| | | |
|
| | |
| | |
| | |
| | | |
We need the parent-creation logic to be enabled on QPA as well.
|
| | | |
|
|\ \ \
| |/ /
|/| /
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
src/gui/embedded/qmousepc_qws.cpp
src/gui/embedded/qwslock.cpp
src/plugins/decorations/default/default.pro
src/plugins/decorations/styled/styled.pro
src/plugins/decorations/windows/windows.pro
src/plugins/gfxdrivers/ahi/ahi.pro
src/plugins/gfxdrivers/directfb/directfb.pro
src/plugins/gfxdrivers/eglnullws/eglnullws.pro
src/plugins/gfxdrivers/linuxfb/linuxfb.pro
src/plugins/gfxdrivers/qvfb/qvfb.pro
src/plugins/gfxdrivers/transformed/transformed.pro
src/plugins/gfxdrivers/vnc/vnc.pro
src/plugins/graphicssystems/meego/meego.pro
src/plugins/graphicssystems/opengl/opengl.pro
src/plugins/graphicssystems/openvg/openvg.pro
src/plugins/graphicssystems/shivavg/shivavg.pro
src/plugins/graphicssystems/trace/trace.pro
src/plugins/kbddrivers/linuxinput/linuxinput.pro
src/plugins/mousedrivers/linuxtp/linuxtp.pro
src/plugins/mousedrivers/pc/pc.pro
src/plugins/mousedrivers/tslib/tslib.pro
src/plugins/platforms/minimal/minimal.pro
tests/auto/qerrormessage/qerrormessage.pro
|