summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* simplify opacity handling in QGraphicsItemLars Knoll2009-06-092-111/+31
| | | | | | | | | Greatly simplify how we handle opacity and store it as a member in QGraphicsItemPrivate. Remove the caching of effectiveOpacity. It's faster to calculate it on the fly, and the recursive painting algorithm will make even that need go away. Reviewed-by: Andreas
* get rid of the hasTransform flag in QGraphicsItemLars Knoll2009-06-094-54/+48
| | | | | | | | Since the transform is now a pointer in QGraphicsItemPrivate, we can use this pointer directly and there's no need for a separate bitflag anymore. Reviewed-by: Andreas
* Remove scene transform cache from QGraphicsItem.Andreas Aardal Hanssen2009-06-094-78/+10
| | | | | | | | | Now that we have a recursive painting algorithm these types of optimizations are no longer necessary. In fact they only cause more problems and clutter up the code unnecessarily. Removing this also removes extra overhead from moving and transforming items. Reviewed-by: Lars
* simplify and cleanup handling of transformations in QGraphicsItemLars Knoll2009-06-094-464/+23
| | | | | | | | | | | Removed some experimental code to handle scaling and rotating around different axis. It cuased setTransform and transform not to behave symmetrically and caused some performance regressions. Additionally moved the QTransform out of the (relatively slow) extra list and made it a pointer in QGraphicsItemPrivate. Reviewed-by: Andreas
* Massive re-factoring of Graphics View's update mechanism.Bjørn Erik Nilsen2009-06-099-380/+253
| | | | | | | | | | | This is work-in-progress, so don't expect everything to work perfectly. Most of the auto-test pass and examples and demos seem to run fine. Unfortunately I'm too tired to write about the actual update mehanism now, but it's faster than the old approach (if that helps:)). There's more to optimize, but I'll come back to that later. I need some sleep now :) To be continued.
* Cache QGraphicsItem::childrenBoundingRect.Bjørn Erik Nilsen2009-06-092-1/+19
| | | | We'll need this later when making a smarter update mechanism.
* Further optimizations, from the simple canvas rendering logics.Andreas Aardal Hanssen2009-06-093-57/+63
|
* Minor optimizations.Andreas Aardal Hanssen2009-06-091-8/+7
|
* Fix optimization flags and opacity.Andreas Aardal Hanssen2009-06-093-15/+35
|
* Add recursive drawing method to QGraphicsScene. For now it's opt-in, butAndreas Aardal Hanssen2009-06-094-15/+107
| | | | | | the important thing is by effectively implementing Simple Canvas' approach to drawing, we're in theory (and in practise measured on the desktop) as fast as Simple Canvas when rendering.
* Another breakage in 1bbe23c5 - move qpaintengineex_opengl2_p.h include upRhys Weatherley2009-06-091-3/+6
| | | | | | | | Moving qpaintengineex_opengl2_p.h down caused it to come after an include of <X11/Xlib.h>, which causes problems on some platforms. Move it back up again. Reviewed-by: trustme
* Fix build breakage from 1bbe23c5 - endif in the wrong placeRhys Weatherley2009-06-091-1/+1
| | | | Reviewed-by: trustme
* Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qtRhys Weatherley2009-06-091-2/+2
|\
| * Fixed compile with MinGW 3.4.Rohan McGovern2009-06-091-2/+2
| | | | | | | | | | | | | | This compiler doesn't seem to follow the same rule as others for implicit conversions to/from wchar_t. Add the necessary casts, keeping in mind that sizeof(wchar_t) == 2 on Windows.
* | Make OpenGL/ES 1.1 work again for Qt/EmbeddedRhys Weatherley2009-06-094-4/+21
| | | | | | | | Reviewed-by: trustme
* | Protect EGL property names that only exist in some versions with #ifdefsRhys Weatherley2009-06-091-1/+9
|/ | | | Reviewed-by: trustme
* openUrl("mailto:") fails to open Thunderbird on windows.Prasanth Ullattil2009-06-081-36/+28
| | | | | | | | | | | Thunderbird sets only the user level shell association for mailto. This is now being read before the default mail application registry. The registry crawling could have been avoided by using the ShellExecute() but it supports only around 2KBytes of data as parameter, so we will continue using CreateProcess(). Task-number: 251554 Reviewed-by: Jens Bache-Wiig
* Reduce binary size by using 16bits integers in static data over 32 bits.Thierry Bastian2009-06-081-23/+18
| | | | Reviewed-by: ogoffart
* Reduce the members in QLocale to 16bit integer instea of 32 bits.Thierry Bastian2009-06-081-19/+19
| | | | | | That reduces memory usage. Reviewed-by: denis
* Make sure that indexes in the autogenerated locale info do not exceed 16bit ↵Denis Dzyubenko2009-06-081-1/+11
| | | | | | range. Reviewed-By: TrustMe
* Clip region to screen coordinates before setting its component rectangles dirty.Alex Cucos2009-06-081-0/+1
| | | | | | | | | | | When using Qt/E with VNC screen driver on top of the Linux framebuffer (export QWS_DISPLAY="VNC:LinuxFb") the region to be exposed needs be clipped to the real screen to avoid possible negative coordinates which in turn cause access to invalid memory locations when comparing the content of the VNC buffer with the Linux framebuffer. Merge-request: 603 Reviewed-by: Tom Cooksey <thomas.cooksey@nokia.com>
* Small simplification on codeThierry Bastian2009-06-086-46/+35
|
* Sync the French tutorial with the English versionBenjamin Poulain2009-06-085-15/+1
| | | | Reviewed-by: Pierre
* qdoc: Changed to mountain fresh blue.Martin Smith2009-06-081-3/+2
| | | | | I didn't test this, because I can't build qdoc3 due to changes in QStringBuilder.
* Fixed ListView so that it is able to move items in negative space andThierry Bastian2009-06-082-1/+52
| | | | | | | | | still paint them. The autotest is included. Task-number: 254449 Reviewed-by: ogoffart
* small code cleanupThierry Bastian2009-06-081-7/+1
|
* Small fix to exported symbolThierry Bastian2009-06-081-1/+1
|
* Make sure we draw the complete curve.Jan-Arve Sæther2009-06-081-1/+1
|
* Use a QPainterPath instead to draw the graph.Jan-Arve Sæther2009-06-081-5/+5
| | | | | | This enables the antialiazing to be done on the graph as a whole, and not on every tiny line segment. The result is that the curve is painter prettier.
* Remove trailing whitespace.Jan-Arve Sæther2009-06-081-7/+7
|
* Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qtOswald Buddenhagen2009-06-088-747/+994
|\
| * Make the easing curve icons more beautiful.Ariya Hidayat2009-06-081-3/+17
| | | | | | | | | | | | | | | | Draw the curve with anti-aliasing. Do not use absolute black, but rather a dark black color for the lines. Draw the red and blue dots, indicating the start and end points. Reviewed-by: Jan-Arve
| * Compile with gcc 4.0.xRoberto Raggi2009-06-081-2/+2
| |
| * Fix GDI object leak.Prasanth Ullattil2009-06-081-1/+2
| | | | | | | | | | | | | | In case the SetWindowRgn() fails, the region object has to be deleted. Task-number: 251293 Reviewed-by: Denis Dzyubenko
| * Doc: Added information about the Fontconfig and FreeType dependencies.David Boddie2009-06-083-693/+908
| | | | | | | | | | Task-number: 250349 Reviewed-by: Trust Me
| * qdoc: Updated the code to create references to documents and files.David Boddie2009-06-081-32/+48
| | | | | | | | | | Task-number: 251995 Reviewed-by: Martin Smith
| * Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qtDavid Boddie2009-06-0840-43/+155
| |\
| * | Reflected the state machine framework API changes on documentation.Bruno Abinader2009-06-081-16/+17
| | | | | | | | | | | | | | | | | | | | | Signed-off-by: Bruno Abinader <bruno.abinader@openbossa.org> Merge-request: 602 Reviewed-by: David Boddie <dboddie@trolltech.com>
* | | Merge commit 'origin/4.5'Oswald Buddenhagen2009-06-0821-112/+446
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | Conflicts: src/3rdparty/phonon/qt7/mediaobject.mm src/3rdparty/phonon/qt7/quicktimevideoplayer.mm src/gui/text/qfontengine_win.cpp tools/linguist/shared/cpp.cpp
| * | Mac: play music from CD does not work in PhononRichard Moe Gustavsen2009-06-086-83/+313
| | | | | | | | | | | | | | | | | | ...because it was never implemented. This patch does that. Task-number: 255377
| * | Doc typo fix in QSslSocketMarkus Goetz2009-06-081-1/+1
| | | | | | | | | | | | Reviewed-by: TrustMe
| * | My changes for 4.5.2Jarek Kobus2009-06-081-0/+4
| | |
| * | Set the error to be HostUnreacheable if WSAEHOSTUNREACH is recievedAndy Shaw2009-06-081-0/+5
| | | | | | | | | | | | | | | | | | | | | This was a contribution sent via the public bugs channel. Task-number: 255161 Reviewed-by: Marius Storm-Olsen
| * | Ensure that the manifest files are placed correctlyAndy Shaw2009-06-082-6/+10
| | | | | | | | | | | | | | | | | | | | | | | | If OBJECTS_DIR was empty then it would create a directory for the manifest files in the root directory. This is not desired as it should create a directory in the build directory instead. Reviewed-by: Marius Storm-Olsen
| * | Add a comment for the translator so the placeholders are describedAndy Shaw2009-06-061-0/+3
| | | | | | | | | | | | Reviewed-by: TrustMe
| * | Fixed typos.Trond Kjernåsen2009-06-051-2/+2
| | |
| * | My 4.5.2 changes.Trond Kjernåsen2009-06-051-1/+43
| | |
| * | explicitly handle windows and mac9 line endingsOswald Buddenhagen2009-06-051-5/+20
| | | | | | | | | | | | | | | | | | in practice, this matters only for backslashed line continuations Task-number: 255336
| * | Fixed an issue with graphicssystem raster on 8 and 16 bit X servers.Trond Kjernåsen2009-06-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We didn't actually check the depth of the target window before calling the qt_x11_drawImage() fu, that will only work with depths >= 24. Task-number: 255311 Reviewed-by: Samuel BT: yes
| * | Doc - fixed a typoKavindra Devi Palaraja2009-06-051-2/+1
| | | | | | | | | | | | Reviewed-By: TrustMe