summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Video screen region is updated in response to ancestors of video widgetGareth Stockwell2009-10-239-11/+328
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | being moved. Because QWidget::moveEvent is only called when a widget moves relative to its parent, a widget's absolute screen position may change without it receiving a moveEvent (for example, as a result of its parent being moved). The MMF video playback API on Symbian v9.4 requires, in addition to a window handle, an absolute screen rectangle. Changes in the video widget's absolute screen position therefore need to be propagated into the MMF. This change introduces a new object, AncestorMoveMonitor, which installs an event filter on the QCoreApplication instance. A VideoOutput object registers with the AncestorMoveMonitor, which listens on its behalf for MoveEvents and ParentChangeEvents directed at any of the ancestors of the VideoOutput. MoveEvents trigger a callback to the VideoOutput instance, which then notifies the MMF of the new screen rectangle. ParentChangeEvents cause the AncestorMoveMonitor to update the ancestor list associated with the target VideoOutput instance. The video position now tracks that of the associated widget, but there are two problems which require further investigation: 1. The video window lags behind. This may be an unavoidable consequence of the fact that setting a new screen rectangle causes the MMF to tear down its DSA session and start a new one; this is known to block the window server and take some time to complete. 2. Artifacts are visible around the edges of the moving video widget. Task-number: QTBUG-4787 Reviewed-by: Frans Englich
* When creating a Symbian WId for a visible widget, make the controlGareth Stockwell2009-10-231-1/+3
| | | | | | | | | | | | visible after activating the window. This change was required in order to be able to run the test case for the below task; however, it is more generally required. Without it, the contents of the descendents of this widget will not be visible, until they are explicitly hidden and then re-shown. Task-number: QTBUG-4787 Reviewed-by: axis
* Softkeys should not put exit by default on RSK for dialogs and popups.Janne Anttila2009-10-231-1/+2
| | | | | | | | The idea is that softkeys and pop-ups need to take care of setting all softkeys by themselves. Task-number: QTBUG-4916 Reviewed-by: Jason Barron
* Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt into 4.6axis2009-10-231312-11946/+34750
|\
| * Fix bad check for GCC version.Thiago Macieira2009-10-231-1/+1
| | | | | | | | | | | | These macros are available since GCC 2.95. Reviewed-by: Olivier Goffart
| * fix line endingOswald Buddenhagen2009-10-231-1/+1
| |
| * Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt into 4.6Gunnar Sletta2009-10-231409-15771/+41325
| |\
| | * Store DirectFB winID as a dynamic propertyAnders Bakken2009-10-221-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since QWS uses the winids for its own purposes I have to store this as a dynamic property. _q_DirectFBWindowID The _q_ is documented to be reserved so this won't break anyone's applications. Reviewed-by: Donald Carr <donald.carr@nokia.com>
| | * Compile fix for gestures on Windows.Denis Dzyubenko2009-10-221-4/+4
| | | | | | | | | | | | Reviewed-by: trustme
| | * Temporary fix in qt.git to allow build on s60.Jocelyn Turcotte2009-10-221-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | Should be overwritten when the final patch of this bug hits trunk: https://bugs.webkit.org/show_bug.cgi?id=30671 Patch-by: Janne Koskinen Reviewed-by: Jocelyn Turcotte
| | * Temporary fix in qt.git to allow build on s60.Jocelyn Turcotte2009-10-221-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | Should be overwritten when the final patch of this bug hits trunk: https://bugs.webkit.org/show_bug.cgi?id=30670 Patch-by: Janne Koskinen Reviewed-by: Jocelyn Turcotte
| | * Re-apply change 0f8bff1970d4b0f10e98ce7d6ab341620f4ce76b by Martin SmithMartin Smith2009-10-221-1/+1
| | | | | | | | | | | | doc: Changed Trolltech to Nokia
| | * Re-apply change 8e0fbc2caa3edefb78d6667721235b783bc1a850 by IainIain2009-10-221-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | Temporary workaround to get WebKit to pick up DEF file from std location Tweak WebCore .pro file to get its DEF file from the same location as all the other DEF files come from Reviewed-by: TrustMe
| | * Re-apply change 6b8ac349b9a477863a8c8388dcc0658f3284bc54 by Jocelyn TurcotteJocelyn Turcotte2009-10-221-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Re-applying commit ee0a43fee20cc398b505eb65218ebed56dfc8f39 by Simon Hausmann Fix crash of QtScript on Mac OS X When compiling on 10.4 but running on 10.5 the flags passed to vm_map cause it to crash. For now fall back to the use of mmap() as allocator instead. Reviewed-by: Kent Hansen
| | * Updated WebKit from /home/jturcott/dev/webkit/ to ↵Jocelyn Turcotte2009-10-221270-11675/+33732
| | | | | | | | | | | | | | | | | | | | | qtwebkit-4.6-snapshot-22102009 ( 0639bb8e812c8923287cd5523248ca64fa5f7a50 ) Changes in WebKit/qt since the last update: Jocelyn: fatal error from script, sha1 in src/3rdparty/webkit/VERSION is bad
| | * Remove declaration of QDirectFBScreen::scrollAnders Bakken2009-10-221-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | This function has been declared since the initial commit but was never actually implemented. The function exists in QDirectFBWindowSurface. Reviewed-by: Donald Carr <donald.carr@nokia.com>
| | * Compile fix.Denis Dzyubenko2009-10-221-4/+4
| | | | | | | | | | | | | | | | | | | | | QPanGesture was changed to use QPointF instead of QSizeF, also need to change all usages of the pan gesture. Reviewed-by: trustme
| | * QTextEdit: Fix the wrong order for call of Qt::WA_InputMethodEnabled in ↵Liang QI2009-10-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | setReadOnly. Should set Qt::WA_InputMethodEnabled after set the flags, just because shouldEnableInputMethod() will read the flags. Task-number: QTBUG-4917 Reviewed-by: Shane Kearns
| | * QHttp: Fix bug related to SSL and big POST dataMarkus Goetz2009-10-222-0/+31
| | | | | | | | | | | | | | | | | | | | | | | | QHttp is deprecated, but let's be nice and fix this. POST/PUT now properly works over HTTPS without buffering the whole data when it is not needed. Reviewed-by: Peter Hartmann
| | * QSslSocket: Trigger a SSL transmission when reading from the socket.Markus Goetz2009-10-223-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | In certain cases a SSL transfer stalled when a readBufferSize was set. This change triggers a SSL transmission when there is data on the socket waiting to be decrypted. Task-number: QTBUG-3860 Reviewed-by: Thiago
| | * Make warning more helpful.Thomas Zander2009-10-221-1/+1
| | | | | | | | | | | | Also fix grammer and avoid using combined words.
| | * Change API; the pan gesture now has points for distance, not size.Thomas Zander2009-10-224-24/+24
| | |
| | * Make the already-public calls be documented and publicThomas Zander2009-10-222-3/+2
| | |
| | * Implemented gesture event delivery and propagation inside QGraphicsView.Denis Dzyubenko2009-10-222-18/+236
| | | | | | | | | | | | Reviewed-by: Thomas Zander
| | * Added debug operator for QGraphicsObjectDenis Dzyubenko2009-10-222-0/+18
| | | | | | | | | | | | Reviewed-by: Alexis Menard
| | * Add QGestureEvent::mapToScene for better graphicsView integrationThomas Zander2009-10-223-0/+24
| | |
| | * Fix for the gestures autotest.Denis Dzyubenko2009-10-221-1/+2
| | | | | | | | | | | | Reviewed-by: trustme
| | * Improvements for gesture event deliveryDenis Dzyubenko2009-10-226-40/+92
| | | | | | | | | | | | | | | | | | | | | | | | | | | When delivering GestureOverride events by default both the event and individual gestures will be ignored. We also store the acceptance state of individual gesture in the event and not in the gesture object, along with its target. Reviewed-by: Thomas Zander
| | * Improving gesture event delivery for widgets.Denis Dzyubenko2009-10-224-81/+148
| | | | | | | | | | | | Reviewed-by: trustme
| | * Fixed gesture event delivery when several gestures are triggered.Denis Dzyubenko2009-10-222-23/+20
| | | | | | | | | | | | | | | | | | | | | | | | When there are two different gestures are being triggered and they are supposed to be sent to different widgets, don't stop event "propagation" when the first event is successfully delivered. Reviewed-by: trustme
| | * Improved gesture event filtering inside QGraphicsView for QGraphicObjectsDenis Dzyubenko2009-10-2212-130/+212
| | | | | | | | | | | | Reviewed-by: trustme
| | * Changed qsrand() behavior for Windows to match the linux versionninerider2009-10-221-5/+20
| | | | | | | | | | | | | | | | | | | | | | | | A problem occurred related to the createUUid function on Windows Mobile. Calling rand() before srand() resulted in identical pseudo random sequences for different threads. Reviewed-by: Joerg
| * | Added caching of graphics effect source pixmaps to speed up effects.Samuel Rødal2009-10-229-13/+102
| | | | | | | | | | | | | | | | | | | | | If an effect is applied repeatedly on the same source, just with varying parameters, we can save a lot by caching the source pixmaps. Reviewed-by: Bjørn Erik Nilsen
| * | Remove whitespace before license header in qbackingstore_p.hEskil Abrahamsen Blomfeldt2009-10-221-1/+1
| | | | | | | | | | | | | | | | | | | | | This extra whitespace was introduced by mistake in a previous commit. Remove it again. Reviewed-by: Trust me
| * | Remove debug outputEskil Abrahamsen Blomfeldt2009-10-221-1/+0
| | | | | | | | | | | | | | | | | | Oops. Reviewed-by: Trust me
| * | Honor graphics system on Mac/Cocoa when exposing and resizing windowEskil Abrahamsen Blomfeldt2009-10-222-6/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When exposing or resizing a previously hidden window on Cocoa, we would go through the CoreGraphicsPaintEngine even when a different graphics system was set. This was because there were two different paths from the windowing system into our paint event. The one going through the virtual drawRect function in QCocoaView did not honor the graphics system. This patch makes sure the backing store is used for these types of events as well. Done with: Gunnar Reviewed-by: MortenS
| * | Fixed regression in translucent window creation on X11.Samuel Rødal2009-10-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | When setting the TranslucentBackground flag after the window has been created, we should check whether the widget has a native window id, and not the WA_NativeWindow attribute which doesn't seem to be set by default for top-level widgets. Reviewed-by: Trond
| * | updated documentation for QPixmap::fromImage()Gunnar Sletta2009-10-221-5/+7
| | |
| * | Added license headers to new filesGunnar Sletta2009-10-222-0/+82
| | |
| * | Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt-graphics-team into 4.6Gunnar Sletta2009-10-222-8/+17
| |\ \
| | * \ Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt-graphics-team into 4.6Gunnar Sletta2009-10-2214-46/+306
| | |\ \
| | | * | Improved QFontInfo::pointSize() slightly on X11.Kim Motoyoshi Kalland2009-10-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In non-GUI applications on X11, QFont and QFontInfo return different point size because for QFontInfo, the point size is converted to pixel size and back, but with different dpis. This commit improves the situation for the case where font config is used, but the bug still needs to be fixed properly by using the same dpi for all point<->pixel size conversions. Reviewed-by: Trond
| | * | | Added doc warning about ARGB32 image drawing and fixed format docsGunnar Sletta2009-10-211-7/+16
| | | | |
* | | | | QtGui def file updateShane Kearns2009-10-221-0/+2
| | | | | | | | | | | | | | | | | | | | Two new APIs in QDesktopWidget
* | | | | Fix def file error for qtcoreShane Kearns2009-10-221-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem caused by freezing with wrong openC version in environment Reviewed-by: TrustMe
* | | | | update QtGui def fileShane Kearns2009-10-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | One private export has been changed from non-const to const pointer parameter Reviewed-by: TrustMe
* | | | | Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt into 4.6Shane Kearns2009-10-22112-3780/+6777
|\ \ \ \ \ | | |_|_|/ | |/| | |
| * | | | Use the qsreal type instead of double when working with QtScript numbersKent Hansen2009-10-224-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The idea is that qsreal can be typedef'ed to float on platforms where it's appropriate. Since the QScriptValue ctor takes a qsreal, we should not convert it to a double internally. Reviewed-by: Olivier Goffart
| * | | | Merge branch 'origin/4.6' into widgets-team/4.6Olivier Goffart2009-10-22124-3829/+7950
| |\ \ \ \
| | * | | | QtScript: Compatibility with 4.5Olivier Goffart2009-10-221-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We must register the same type as they were registered in Qt 4.5 Reported on qt4-preview-feedback mailing list. Reviewed-by: Kent Hansen