summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel
Commit message (Collapse)AuthorAgeFilesLines
* Implemented minimalistic modal handling for Symbian OS.Janne Anttila2009-08-141-7/+17
| | | | | | | | | | | The implementation is likely not complete, but makes autotests using QApplication::activeModalWidget to pass. At least the following test now pass successfully: qcolordialog qmessagebox Might have positive impact to other autotests as well.
* Changing names of Symbian leave <-> qt throw translation functionsmread2009-08-132-2/+2
| | | | due to http://qt-reviews.europe.nokia.com/r/67/
* Merge commit 'qt/master'Jason Barron2009-08-13161-258/+604
|\ | | | | | | | | | | | | | | | | | | | | Conflicts: examples/opengl/samplebuffers/glwidget.cpp src/corelib/io/qfsfileengine_unix.cpp src/corelib/kernel/qobject.cpp src/corelib/tools/qsharedpointer.cpp src/gui/gui.pro tests/auto/qhttp/tst_qhttp.cpp tests/auto/qkeyevent/tst_qkeyevent.cpp
| * Mouse move events delivered toa blocked widget.Prasanth Ullattil2009-08-121-1/+1
| | | | | | | | | | | | | | | | On windows we were not checking whether the widgets receiving the mouse events are blocked by another modal widget or not. Task-number: 255912 Reviewed-by: Thierry Bastian
| * fix decoration of DontShowOnScreen widgets on Windows CEJoerg Bornemann2009-08-121-1/+1
| | | | | | | | | | | | | | | | Widgets with the WA_DontShowOnScreen attribute must not have a window decoration. Autotest: tst_QWidget::initialPosForDontShowOnScreenWidgets Reviewed-by: thartman
| * usage of Q_OS_WINCE fixedJoerg Bornemann2009-08-121-2/+2
| | | | | | | | | | | | There's no QT_OS_WINCE define. Reviewed-by: mauricek
| * Replace some mentions of Trolltech with more appropriate terms.Jason McDonald2009-08-122-2/+2
| | | | | | | | Reviewed-by: Trust Me
| * Update references to online documentation.Jason McDonald2009-08-121-1/+1
| | | | | | | | Reviewed-by: Trust Me
| * Eliminate last mentions of "Qt Software".Jason McDonald2009-08-122-2/+2
| | | | | | | | Reviewed-by: Trust Me
| * Update URL's to use new domain.Jason McDonald2009-08-121-1/+1
| | | | | | | | Reviewed-by: Trust Me
| * Update contact URL in license headers.Jason McDonald2009-08-12161-161/+161
| | | | | | | | Reviewed-by: Trust Me
| * QWidget::isHidden documentation clarification.Jocelyn Turcotte2009-08-111-3/+6
| | | | | | | | Reviewed-by: Kavindra
| * Merge commit 'remotes/wm65/wm65'Thomas Hartmann2009-08-111-0/+25
| |\
| | * adding qt_wince_is_windows_mobile_65()Thomas Hartmann2009-08-111-0/+25
| | |
| * | Merge branch '4.5'Thiago Macieira2009-08-111-6/+7
| |\ \ | | | | | | | | | | | | | | | | | | | | Conflicts: configure tests/auto/moc/tst_moc.cpp
| | * | Fix crash in QX11Data::xdndHandleEnter when XGetWindowProperty failsOctavian Voicu2009-08-061-6/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Task-number: 259143 Merge-request: 1119 Reviewed-by: Denis Dzyubenko <denis.dzyubenko@nokia.com>
| * | | compile fix for Win32Maurice Kalinowski2009-08-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | use correct function pointer (Get) Reviewed-by: Thomas Hartmann
| * | | fixing the Windows CE build after adding gesture supportJoerg Bornemann2009-08-101-4/+11
| | | | | | | | | | | | | | | | | | | | | | | | We must guard the code with QT_WINCE_GESTURES. Reviewed-by: TrustMe
| * | | Make QGtkStyle react properly to font changes in GNOMEJens Bache-Wiig2009-08-101-16/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We only reacted to font changes before when the whole theme changed. Two things had to be fixed to support this. We need to check if the font changed in QGtkStyle::updateTheme and we need to make sure that QApplication does not reset these settings for us. Reviewed-by: joao
| * | | Introducing icon theme supportJens Bache-Wiig2009-08-101-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added some static functions to QIcon to support desktop themes based on the freedesktop spec. It is not intended to replace KIcon and the intention is to use it when available to share icon cache between applications. Applications currently using icon themes are Assistant, Designer and the textedit demo. Reviewed-by: ogoffart
| * | | Manual mergeThomas Hartmann2009-08-101-3/+1
| | | |
| * | | Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qtThomas Hartmann2009-08-1016-216/+606
| |\ \ \ | | | | | | | | | | | | | | | | | | | | Conflicts: src/gui/kernel/qapplication_win.cpp
| | * | | Compile fix on Linux.hjk2009-08-103-16/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reviewed-by: brad The declaration of getQApplicationPrivateInternal was only available as 'friend' on Q_WS_WIN.
| | * | | Doc: Fix qdoc warningsVolker Hilsheimer2009-08-101-1/+1
| | | | |
| | * | | Removed unused member in QApplicationPrivateBradley T. Hughes2009-08-101-1/+0
| | | | | | | | | | | | | | | | | | | | The appAllTouchPoints variable isn't used on Windows, remove it.
| | * | | Implemented QPinchGesture.Denis Dzyubenko2009-08-107-27/+316
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added a new standard gesture, which is implemented using a native zoom and rotate gestures on Windows and with a direct touch event handling on other platforms. Improved pan support - we subscribe to native pan gesture only when it's really needed, and we pass proper flags for single finger horizontal/vertical panning. Reviewed-by: Richard Moe Gustavsen
| | * | | Made the QGesture::reset function protected.Denis Dzyubenko2009-08-102-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | By default the QGesture::reset function is protected, and it can be made public in the derived class if necessary. Reviewed-by: trustme
| * | | | Gesture support for Windows Mobile 6.5Thomas Hartmann2009-08-101-17/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Gestures on Windows Mobile 6.5 rely on a statically linked library, that is added in the mkspecs for Windows Mobile 6.5 In the case the gesture functions do not have been resolved (==0), we do not call them. Reviewed-by: Joerg
* | | | | Revised SIP API.axis2009-08-124-40/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | After discussions with Matthias, several things were changed: - the autoSipOnMouseFocus property was removed and replaced with a new style hint, SH_RequestSoftwareInputPanel. This means the style can define when the input panel is launched. - The code which sends RequestSoftwareInputPanel events was moved into its own function, and the widgets call that function. AutoTest: Included and passed RevBy: mae
* | | | | Cleaned public Api of QS60Style due to review by Volker Hilsheimer.Alessandro Portale2009-08-111-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Moved handleDynamicLayoutVariantSwitch and handleSkinChange from QS60Style to QS60StylePrivate. QApplication (the only one calling those functions) is now a friend, thus has access to the private class.
* | | | | Fixed KERN-EXEC 3 crash in qdesktopwidget for S60.Janne Anttila2009-08-111-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | QDesktopWidgetPrivate::rects etc variables are shared between QDesktopWidgetPrivate objects and private objects maintains refcount to data. We called cleanup for private object directly from QDesktopWidget, which caused the shared private data to be freed after some instance of QDesktopWidget was destroyed. Since we bypassed the refcount also the data for other QDesktopWidgets was invalidated and this cauyse crash when resizeEvent was received. There is no need to call QDesktopWidgetPrivate::cleanup directly since when QDesktopWidget is deleted, it will call destructor for QDesktopWidgetPrivate which deletes the shared data based on ref count.
* | | | | Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qt-s60-publicmread2009-08-1018-275/+509
|\ \ \ \ \
| * \ \ \ \ Merge commit 'qt/master'Jason Barron2009-08-101-0/+7
| |\ \ \ \ \ | | | |/ / / | | |/| | |
| | * | | | Fix default QWidget size on X servers with XineramaBradley T. Hughes2009-08-101-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The default widget size is normally calculated from the root window size, but when running on an X server with Xinerama enabled, the root window spans all screens, making the widget far to large. Use the default screen's size instead to give the widget a size that should fit on a single screen.
| * | | | | Merge commit 'qt/master-stable'Jason Barron2009-08-1017-275/+502
| |\ \ \ \ \ | | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/corelib/kernel/qobject.cpp src/corelib/tools/qsharedpointer_impl.h src/gui/widgets/qdatetimeedit.cpp src/gui/widgets/qlinecontrol.cpp src/gui/widgets/qlineedit.cpp tests/auto/qcssparser/qcssparser.pro tests/auto/qicoimageformat/tst_qicoimageformat.cpp tests/auto/qmultiscreen/qmultiscreen.pro tests/auto/qresourceengine/qresourceengine.pro tests/auto/qresourceengine/tst_qresourceengine.cpp tests/auto/qscriptv8testsuite/tst_qscriptv8testsuite.cpp
| | * | | | Refactor the code that reads the KDE config in one fileOlivier Goffart2009-08-076-173/+274
| | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move the code out of qapplication_x11.cpp, and qcommonstyle.cpp to qkde.cpp into the QKde namespace. This removes few of the code duplication, and is much cleaner. This will also let us install hook easily later. Reviewed-by: Jens Bache-Wiig
| | * | | build fix for mingwThierry Bastian2009-08-061-0/+1
| | | | | | | | | | | | | | | | | | | | getQApplicationPrivateInternal was not declared
| | * | | Fix compile on WindowsJens Bache-Wiig2009-08-061-1/+1
| | | | | | | | | | | | | | | | | | | | Reviewed-by: jesper
| | * | | Cocoa: Add support for native gesturesRichard Moe Gustavsen2009-08-062-13/+51
| | | | | | | | | | | | | | | | | | | | Cocoa: Add support for native gestures
| | * | | Make sure QWidget::setStyle() relayouts its children.Jan-Arve Sæther2009-08-061-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changing a style on a widget should invalidate the widget's layout, since the layouts spacings and margins may depend on the style. One optimization could be to check to see if the spacing and margins have changed due to the style change, but the old style is not available in changeEvent, so we'll keep it simple for now. RevBy: paul Task: 256986
| | * | | Compile fix for gestures.Denis Dzyubenko2009-08-061-5/+4
| | | | | | | | | | | | | | | | | | | | Reviewed-by: trustme
| | * | | Support _NET_WORKAREA on Xinerama setups in QDesktopWidgetBradley T. Hughes2009-08-061-8/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of ignoring _NET_WORKAREA, merge it with each screen geometry to give a meaningful availableGeometry() for all screens. Reviewed-by: denis
| | * | | Fixes a regression in qwidget when setting a large minimum size.Denis Dzyubenko2009-08-061-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Setting a minimum size to a value that is larger then the biggest allowed widget size, we should costrain the widget to that max allowed size as we did before. Change 6a2621b6832dbdd349f77cf1f3242b4a6ba3c740 broke it. Reviewed-by: Bradley T. Hughes
| | * | | Small fix for native gestures on windows.Denis Dzyubenko2009-08-061-7/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We should close the gestureinfo handle only we managed to open successfully. Reviewed-by: trustme
| | * | | Enable pan gesture on all QAbstractScrollArea-based widgets.Denis Dzyubenko2009-08-061-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Two-finger panning will work on all QAbstractScrollArea based widgets, however single-finger panning will be enabled only on some special widgets that always wants it - for example we don't want it on QGraphicsView, and we might want it on itemviews *sometimes*. Reviewed-by: trustme
| | * | | Changed setting state in a QGestureDenis Dzyubenko2009-08-064-40/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of having a protected setter for the state and forcing the application developer to emit signals manually (which leads to misunderstanding - i.e. if the started() signal should be emitted only once, or of the triggered() signal should be emitted before the finished() signal, etc). So I've added an protected updateState(state) function that sets the internal state and emits appropriate signals depending on the old and new states. Reviewed-by: Volker Hilsheimer Reviewed-by: Richard Moe Gustavsen
| | * | | Rearranged the gesture code a bit for future native gestures on Windows.Denis Dzyubenko2009-08-066-17/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Moved the code that subscribes to native gestures on Windows to a private function in QWidget which will check which gestures the widget is subscribed to and enable native gestures as requested. Reviewed-by: trustme
| | * | | Merge commit 'origin/4.5'Rohan McGovern2009-08-061-0/+6
| | |\ \ \ | | | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/gui/dialogs/qfiledialog.cpp src/gui/dialogs/qfiledialog_win.cpp tests/auto/qicoimageformat/tst_qicoimageformat.cpp tests/auto/qscriptqobject/qscriptqobject.pro
| | | * | Cocoa: Menus show old selected values.Richard Moe Gustavsen2009-08-051-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We never told Cocoa that it needed to redraw the window view when a window was shown. This is implicit if the window is shown for the first time, but needs to be done explicit if you hide and show it again. Task-number: 254672 Reviewed-by: bnilsen
| | * | | QTapAndHoldGesture is gone, remove referenceVolker Hilsheimer2009-08-051-1/+1
| | | | |