summaryrefslogtreecommitdiffstats
path: root/src/gui/painting/qunifiedtoolbarsurface_mac.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix a race condition when the main window is being destructed.Fabien Freling2011-04-121-1/+2
| | | | | | | | During the destructor of QWidget, we delete the layout. If the layout is not set to 0 afterwards, a check on the layout might turn true, but any access will end with a segfault. Reviewed-by: João Abecasis
* Merge remote branch 'raster/master' into merge_rasterFabien Freling2011-03-171-61/+67
|\
| * Add an overloading function to flush().Fabien Freling2011-03-161-0/+8
| | | | | | | | | | | | | | | | In the case of the unified toolbar, we don't need as much arguments for flush(). So we overload flush() to only take one argument, the widget. Reviewed-by: Samuel Rødal
| * Merge remote branch 'mainline/master' into merge_rasterFabien Freling2011-03-151-1/+1
| |\
| * | Change the way the unified toolbar is flushed.Fabien Freling2011-03-151-15/+16
| | | | | | | | | | | | | | | | | | | | | | | | The flushing of the unified toolbar is no longer tied to the main window, making it more flexible. Task-number: QTBUG-17754 Reviewed-by: Richard Moe Gustavsen
| * | Add the ability to remove a toolbar from the unified toolbar.Fabien Freling2011-02-251-0/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | This allows to toggle the unified look of the toolbar. This is useful for apps going fullscreen since we have to turn the unified look off when entering fullscreen mode. Reviewed-by: Samuel Rødal
| * | Optimize the rendering path for the unified toolbar.Fabien Freling2011-02-151-7/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | The over flushing of the toolbar had a huge performance impact so now we only flush the toolbar when necessary and moved the rendering out of the flushing process. Reviewed-by: Richard Moe Gustavsen
| * | Remove useless function.Fabien Freling2011-02-081-5/+0
| | | | | | | | | | | | Reviewed-by: Samuel Rødal
| * | Force the display: in the unified toolbar.Fabien Freling2011-01-271-1/+3
| | | | | | | | | | | | | | | | | | | | | Instead of calling setNeedsDisplay:, we call have to call display: to avoid flickering. Reviewed-by: Richard Moe Gustavsen
| * | Change variable name.Fabien Freling2011-01-261-1/+1
| | | | | | | | | Reviewed-by: Richard Moe Gustavsen
| * | Move the flushing to [view drawRect:rect]Fabien Freling2011-01-261-57/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of flushing by grabbing the Core Graphics context, we do it directly in the drawRect: method. This approach allows us to call flush() many times and only proceed to flush when the system is ready. Reviewed-by: Richard Moe Gustavsen
* | | Make getters for staticContentsSupport and partialUpdateSupport virtualArmin Berres2011-03-161-1/+0
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | When QRuntimeGraphicsSystem is asked for its support for static contents of partial updates it should return the value for the currently running wrapped graphicssystem. As the getters have not been virtual so far this could not be implemented. Additionally the setters have been removed as these values are not supposed to be set from the outside. Only the graphicssystems itself knows what it supports. If the default values should be changed the methods should be overwritten. Merge-request: 1136 Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
* | Update copyright year to 2011.Rohan McGovern2011-03-101-1/+1
|/ | | | | Reviewed-by: Trust Me (cherry picked from commit 774a3536b00c4d6e4c4c10b708e31b4373a338e3)
* Fix the redirection of painting for the toolbar.Fabien Freling2010-12-201-4/+4
| | | | | Task-number: QTBUG-16154 Reviewed-by: Samuel Rødal
* Fix some memory leaks.Fabien Freling2010-11-251-0/+2
| | | | | | | | | Update the retain/release mechanism for CGContexts. Some leaks were due to unnecessary retain calls. Task-number: QTBUG-15373 Reviewed-by: Samuel Rødal
* Fix QMenu rendering in the unified toolbarFabien Freling2010-11-051-3/+8
| | | | | | | with the raster engine. Task-number: QTBUG-12818 Reviewed-by: Samuel Rødal
* Update the offsets of the QToolBars insideFabien Freling2010-11-041-6/+21
| | | | | | | the unified toolbar on Mac OS X. Task-number: QTBUG-12818 Reviewed-by: Samuel Rødal
* Fix the #ifdef position.Fabien Freling2010-10-201-2/+2
| | | | Reviewed-by: Tor Arne Vestbø
* Enable the unified toolbar with the rasterFabien Freling2010-10-191-0/+4
| | | | | engine only in the Cocoa port. Reviewed-by: Tor Arne Vestbø
* Experimental support of the unified toolbar withFabien Freling2010-10-081-0/+233
the raster engine on Mac OS X. Task-number: QTBUG-12615 Reviewed-by: Samuel Rødal