summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | Avoid out of bounds writeLars Knoll2011-06-081-2/+4
| | | | | | | | Reviewed-by: Samuel
* | Undefine DrawText in qlineedit.cppOlli Werwolff2011-06-081-0/+3
| | | | | | | | | | | | | | | | | | 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
* | Most checks for windows in widgets have to be ws specificOlli Werwolff2011-06-084-8/+8
| | | | | | | | | | Reviewed-by: Samuel Reviewed-by: Lars Knoll
* | use correct includes in qaccessible_win.cpp/qwizard_win_p.hOlli Werwolff2011-06-082-5/+5
| | | | | | | | | | Reviewed-by: Samuel Reviewed-by: Lars Knoll
* | Do not compile _win files when -qpa is usedOlli Werwolff2011-06-084-5/+5
| | | | | | | | | | Reviewed-by: Samuel Reviewed-by: Lars Knoll
* | QTextDocumentLayout has to be exported as it is used in widgetsOlli Werwolff2011-06-081-1/+1
| | | | | | | | | | Reviewed-by: Samuel Reviewed-by: Lars Knoll
* | Fixed compilation with QT_NO_PRINTEROlli Werwolff2011-06-081-0/+2
| | | | | | | | | | Reviewed-by: Samuel Reviewed-by: Lars Knoll
* | cosmetic changesLars Knoll2011-06-082-5/+5
| |
* | Fix behaviour after WM_TAKE_FOCUSLars Knoll2011-06-081-1/+0
| | | | | | | | | | | | | | 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.
* | Use Q_WIDGETS_EXPORT for widgets libraryOlli Werwolff2011-06-08227-450/+465
| | | | | | | | Reviewed-by: Lars Knoll
* | revert accidental commitLars Knoll2011-06-071-1/+1
| |
* | remove unused codeLars Knoll2011-06-071-118/+0
| |
* | cleanups codeLars Knoll2011-06-079-166/+147
| | | | | | | | | | | | | | Make QXcbClipboard and QXcbDrag a QXcbObject to simplify the code. Use the predefined atoms in xproto.h instead of our own defines.
* | Implement QDropEvent::source() againLars Knoll2011-06-075-10/+8
| | | | | | | | | | | | | | | | QDropEvent::source() now returns a QObject instead of a widget, matching the implementation in QDrag. Reviewed-by: Samuel
* | reset certain global variables on deletionLars Knoll2011-06-071-0/+2
| | | | | | | | | | | | | | qt_button_down needs to be reset to 0 if it points to the widget being deleted. Reviewed-by: Samuel
* | Protect against deleted windowsLars Knoll2011-06-071-0/+24
| | | | | | | | | | | | | | Check that the window is still there before trying to deliver an event to it. Reviewed-by: Samuel
* | Initialize variableLars Knoll2011-06-071-0/+1
| | | | | | | | Reviewed-by: Samuel
* | Fix some remaining issues with DnDLars Knoll2011-06-074-93/+10
| | | | | | | | | | | | | | | | | | 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 WM support classLars Knoll2011-06-079-15/+285
| | | | | | | | | | | | | | | | | | Add a QXcbWMSupport class to better integrate with NET_WM compliant window managers. Suppport NET_WM_USER_TIME on windows. Reviewed-by: Samuel
* | Implement XDnD in the xcb pluginLars Knoll2011-06-078-752/+656
| | | | | | | | | | | | | | | | | | 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
* | X11 DnD implementationLars Knoll2011-06-0710-26/+1883
| | | | | | | | | | | | | | | | | | | | | | 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
* | Add a startDrag to QPlatformDragLars Knoll2011-06-072-1/+4
| | | | | | | | | | | | | | | | This can be used to initialize data when a drag starts. The Xdnd implementation at least has a need for it. Reviewed-by: Samuel
* | Cocoa: Implement raise() and lower().Morten Sorvig2011-06-072-0/+14
| |
* | Cocoa: Implement setWindowTitle.Morten Sorvig2011-06-072-0/+9
| |
* | Fix Cocoa mouse position handling.Morten Sorvig2011-06-071-4/+4
| | | | | | | | | | | | | | I'm not sure what "local" and "global" means for QWindowSystemInterface::handleMouseEvent. Sending the mouse position in window coordinates for both works.
* | Buildfix for Mac OSRichard Moe Gustavsen2011-06-071-1/+1
| | | | | | | | | | | | Since 'widgets' now is a separate library outside GUI, some previously hidden symbols now needs to be exported. This patch will make 'widgets' build.
* | Made tst_QWidget::updateWhileMinimized() pass.Samuel Rødal2011-06-0613-3/+154
| | | | | | | | | | | | | | | | | | | | 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).
* | Fixed warning about missing return in qmessagebox.cppSamuel Rødal2011-06-061-0/+2
| |
* | Set visibility state.Morten Sorvig2011-06-061-2/+5
| |
* | Make building of platform plugins indifferent if its out of sourceJørgen Lind2011-06-0643-223/+316
| | | | | | | | | | This requires some source files to be shipped with the Qt install They are now copied into QT_INSTALL_DATA/platform
* | Made tst_QWidget::repaintWhenChildDeleted() pass.Samuel Rødal2011-06-061-0/+8
| | | | | | | | Implement some missing functionality in QWidget::destroy().
* | Prevent tst_QWidget::showAndMoveChild() from failing on KDE.Samuel Rødal2011-06-061-0/+1
| | | | | | | | | | 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.
* | Avoid setting the active window to null when there is a FocusIn queued.Laszlo Agocs2011-06-064-1/+42
| |
* | Implemented QXcbScreen::topLevelAt(const QPoint &p).Samuel Rødal2011-06-064-3/+52
| | | | | | | | This makes the tst_QWidget::widgetAt() auto-test pass.
* | Make XCB plugin work better in combination with auto-tests.Samuel Rødal2011-06-061-0/+1
| | | | | | | | | | | | | | | | | | 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.
* | Made the tst_QWidget::widgetAt() test a bit more robust.Samuel Rødal2011-06-061-10/+4
| | | | | | | | | | The QTRY_VERIFY() should include the whole test, not just whether we got a widget or not, since it might be the wrong one.
* | Basic QDesktopWidget support.Samuel Rødal2011-06-032-2/+11
| | | | | | | | | | 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.
* | Remove tst_QWidget::painterRedirection().Samuel Rødal2011-06-031-59/+0
| | | | | | | | | | We've removed support for painter redirection, QWidget::render() should be used instead.
* | Remove out-of-date TODOs.Laszlo Agocs2011-06-031-7/+1
| |
* | Prevent crash in QXcbIntegration::grabWindow().Samuel Rødal2011-06-031-2/+1
| | | | | | | | Copy the image explicitly before calling QPixmap::fromImage().
* | Implemented QXcbIntegration::grabWindow().Samuel Rødal2011-06-035-6/+255
| |
* | Add support for mouse and keyboard grab.Laszlo Agocs2011-06-0310-39/+173
| | | | | | | | Reviewed-by: Samuel Rødal
* | Prevent crash in tst_QWidget::persistentWinId().Samuel Rødal2011-06-031-1/+1
| | | | | | | | Only call createWinId() if we have a parent widget set.
* | Get rid of superfluous debug output in the xcb plugin.Samuel Rødal2011-06-031-4/+0
| |
* | Made tst_QWidget::winIdChangeEvent() pass with Lighthouse.Samuel Rødal2011-06-032-2/+5
| | | | | | | | | | We need to call setWinId() at appropriate times, and enable creation of native handles for child widgets when createWinId() is called.
* | Merge branch 'refactor' of scm.dev.nokia.troll.no:qt/qtbase-staging into ↵Jørgen Lind2011-06-012-9/+1
|\ \ | | | | | | | | | refactor
| * | Have tooltips shown properly with xcb.Laszlo Agocs2011-06-011-1/+1
| | |
| * | Make tst_QWidget::ensureCreated() pass with -platform xcb.Samuel Rødal2011-06-011-8/+0
| | | | | | | | | | | | We need the parent-creation logic to be enabled on QPA as well.
* | | Compile fixJørgen Lind2011-06-017-18/+18
| | |
* | | Merge remote-tracking branch 'base/master' into refactorJørgen Lind2011-06-01144-534/+1898
|\ \ \ | |/ / |/| / | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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