summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Improve performance of the drop shadow pixmap filter.Bjørn Erik Nilsen2009-08-212-30/+16
| | | | | | | The convolution filter is horrible slow. Instead we use a custom blur filter which is much more efficient. Reviewed-by: Samuel
* Add an alpha to the drop shadow pixmap filter by the default.Bjørn Erik Nilsen2009-08-211-1/+1
| | | | | | Shadows looks much nicer with an alpha, so we should use it by default. Reviewed-by: Gunnar
* Fix broken drop shadow pixmap filter on X11.Bjørn Erik Nilsen2009-08-211-2/+4
| | | | | | | | | Xrender is not rocket science when it comes to composition modes, so we have to use the raster engine for the fill. toImage/fromImage is a no-op on QWS and Windows, and on other platforms it is required, so we don't have to add any ifdefs or clever checks. Reviewed-by: Gunnar
* Use pixmap filter for the drop shadow effect.Bjørn Erik Nilsen2009-08-216-150/+48
|
* Add auto-tests for QGraphicsItem/QWidget::setGraphicsEffect.Bjørn Erik Nilsen2009-08-212-0/+64
|
* Merge commit 'qt/master-stable' into kinetic-graphicseffectBjørn Erik Nilsen2009-08-2083-990/+2735
|\ | | | | | | | | Conflicts: src/gui/graphicsview/qgraphicsscene.cpp
| * Improve memory usage of the connectionlists inside QObjectOlivier Goffart2009-08-1911-260/+353
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ... by not allocating space for slots in the vector. Before, the vector uses the signal index as index. The problem is that the slots and signal are mixed in the same index space. We solve the problem by having a different index space for the signal in the connectionlists vector. All we need to do is to add the information about the number of signals in the moc. Also, we are not connecting to cloned signal but only to the orginial ones. For example, destroyed(QObject * = 0) would generate two signal, we now only connect to the first one. This also improve a little bit the performence while activating signals since it removed one call to indexOfMethod. Reviewed-by: Brad
| * Doc - mentioning that the begin...() functions emit a signal that mustKavindra Devi Palaraja2009-08-191-0/+15
| | | | | | | | | | | | | | | | | | be handled by connected views/proxies. Otherwise, the views/proxies may end up in an invalid state. Task: 227718 Reviewed-By: Olivier Goffart
| * Document more of the behavior of QTouchEventBradley T. Hughes2009-08-191-43/+115
| | | | | | | | | | | | | | | | This includes docs on the default QWidget::event() behavior, how to use touch with QAbstractScrollArea subclasses, how the propagation and grouping works, as well as some caveats. Reviewed-by: David Boddie
| * Changed the streambookmarks example to use aggregationThorbjørn Lindeijer2009-08-197-71/+89
| | | | | | | | | | | | | | | | QXmlStreamReader and QXmlStreamWriter can be used conveniently without subclassing, which the example now demonstrates. Reviewed-by: mae Reviewed-by: David Boddie
| * Doc - Fixed whitespace issuesKavindra Devi Palaraja2009-08-191-15/+15
| | | | | | | | Reviewed-By: TrustMe
| * Doc - Cleanups on QAbstractTableModel, QAbstractItemModel, etc.Kavindra Devi Palaraja2009-08-191-388/+433
| | | | | | | | Reviewed-By: TrustMe
| * Carbon and Cocoa: Adding support for standard gestures.Richard Moe Gustavsen2009-08-192-4/+16
| |
| * Improved the documentation of saving and restoring window geometry.Denis Dzyubenko2009-08-193-23/+50
| | | | | | | | | | | | | | Mentioned in the doc that the preferred way to save/restore a geometry of a QMainWindow is to use both saveGeometry() and saveState(). Reviewed-by: Kavindra Devi Palaraja
| * Don't use pointers to temporary vars that go out of scope.Denis Dzyubenko2009-08-191-1/+1
| | | | | | | | | | | | | | | | Moved the dummy variable to the same scope as the 'motion' variable. This fixes Coverity defect CID 1528. Reviewed-by: Olivier Goffart Reviewed-by: Gabriel de Dietrich
| * Make the license test pass.Frans Englich2009-08-1955-91/+1479
| | | | | | | | | | | | | | This is partly done to address a review comment for S60. Reviewed-by: Marius SO Reviewed-by: Paul
| * Generate proper license header.Frans Englich2009-08-192-104/+189
| |
| * Revert re-adding of readUnknownElementThorbjørn Lindeijer2009-08-192-10/+0
| | | | | | | | | | Now that it is really no longer used. QXmlStreamReader::skipCurrentElement replaces it.
| * Fixed compile errorThorbjørn Lindeijer2009-08-191-1/+1
| | | | | | | | Apparently I forgot one occurrence.
* | Fix some rendering bugs on the Mac when applying an effect to QWidget.Bjørn Erik Nilsen2009-08-201-4/+4
| |
* | Delete existing graphics effect when setting a new one.Bjørn Erik Nilsen2009-08-202-10/+18
| | | | | | | | | | | | Before we had to delete the existing effect before setting a new one (in the same fashion as QLayout behaves). This feels wrong and we should automatically delete it instead.
* | Add "QObject *parent = 0" to QGraphicsShaderEffect constructor.Bjørn Erik Nilsen2009-08-202-3/+3
| | | | | | | | See also 39f5298ef2c0424e7b4916d8d1de1d46e534daee
* | Fix the most obvious rendering bugs when applying an effect to QWidget.Bjørn Erik Nilsen2009-08-207-46/+118
| |
* | Add support for graphics effects on QWidget.Bjørn Erik Nilsen2009-08-208-6/+192
| |
* | Make QGraphicsItem::effectiveBoundingRect/sceneEffectiveBoundingRect internal.Bjørn Erik Nilsen2009-08-205-12/+14
| | | | | | | | | | | | These shouldn't be in public API unless someone ask for it. The same information is accessible via public functions in QGraphicsEffect and QGraphicsEffectSource, so they are only convenience functions after all.
* | Rename QGraphicsShadowEffect to QGraphicsDropShadowEffect.Bjørn Erik Nilsen2009-08-206-34/+34
| | | | | | | | Discussed with Andreas.
* | Add missing effects.pri file in src/gui/effectsBjørn Erik Nilsen2009-08-201-0/+4
| |
* | Compile graphics effect on all platforms.Bjørn Erik Nilsen2009-08-202-0/+2
| | | | | | | | | | Looks like we need to include graphicseffect.h even though it should have been included by the _p.h.
* | Header cleanup.Bjørn Erik Nilsen2009-08-201-8/+1
| | | | | | | | Graphics effects is no longer dependent of graphics view.
* | Make QGraphicsXXXEffect::boundingRectFor public.Bjørn Erik Nilsen2009-08-201-2/+2
| |
* | Graphics Effect cleanup: Remove old comments; not valid anymore.Bjørn Erik Nilsen2009-08-202-58/+4
| |
* | Add Q_DECLARE_OPERATORS_FOR_FLAGS(QGraphicsEffect::ChangeFlags)Bjørn Erik Nilsen2009-08-201-0/+1
| |
* | Compile graphics effect.Bjørn Erik Nilsen2009-08-201-3/+2
| | | | | | | | We have to include QColor and QRect rather than forward declare them.
* | Add QT_BEGIN_NAMESPACE and QT_END_NAMESPACEBjørn Erik Nilsen2009-08-201-0/+4
| |
* | Add "QObject *parent = 0" to all graphics effect constructors.Bjørn Erik Nilsen2009-08-202-21/+21
| |
* | Cleanup after 19e01c93f9421a8db6c8a93ac103a7df2b93d9ecBjørn Erik Nilsen2009-08-192-12/+9
| | | | | | | | QGraphicsEffect is no longer dependent on the Graphics View module.
* | Move examples/graphicsview/blurpicker|lighting to examples/effects.Bjørn Erik Nilsen2009-08-1926-6/+17
| |
* | Make all graphics effect setters Q_SLOTS.Bjørn Erik Nilsen2009-08-191-7/+13
| |
* | Add Q_PROPERTY to all qgraphics effects.Bjørn Erik Nilsen2009-08-192-2/+50
| |
* | Remove QGraphicsBloomEffect and QGraphicsFrameEffect.Bjørn Erik Nilsen2009-08-193-248/+0
| | | | | | | | These belong to the examples directory as discussed with Andreas.
* | Move QGraphicsEffect from src/gui/graphicsview to src/gui/effects.Bjørn Erik Nilsen2009-08-197-6/+5
| |
* | Merge commit 'qt/master' into kinetic-graphicseffectBjørn Erik Nilsen2009-08-19801-10151/+11783
|\ \ | |/ | | | | | | Conflicts: src/gui/graphicsview/qgraphicsitem_p.h
| * Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qtAlan Alpert2009-08-19169-724/+1103
| |\
| | * Fixes compileBill King2009-08-192-0/+10
| | |
| | * Move math3d unit tests up one level to tests/autoRhys Weatherley2009-08-1812-74/+14
| | | | | | | | | | | | | | | | | | | | | | | | Some of the platform test infrastructure assumes that all unit tests are sub-directories under tests/auto, and the tests/auto/math3d sub-directory was confusing that infrastructure. Reviewed-by: trustme
| | * Make sure windows raise properly when focusedAnders Bakken2009-08-183-25/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We never used to properly raise windows with DirectFB's window management. Somehow the event happens on a window surface that doesn't really have a IDirectFBWindow associated with it but using permanentState I can establish a sibling relationship to ensure raise gets called on the right window surface. Reviewed-By: Donald <qt-info@nokia.com>
| | * Initialize bpl in QDirectFBPaintDevice(...)Anders Bakken2009-08-181-1/+1
| | | | | | | | | | | | Reviewed-by: Donald <qt-info@nokia.com>
| | * Disambiguate variable namesAnders Bakken2009-08-182-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | s/lock/lockFlgs/ lock is also a function in QWSWindowSurface. Reviewed-by: Donald <qt-info@nokia.com>
| | * Autotest: cosmetic: change trolltech.com to qt.nokia.comThiago Macieira2009-08-181-27/+27
| | |
| | * Fixed toRawForm because the domains usually start with a dot.Thiago Macieira2009-08-181-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Like 9fea895d6, the series of commits ending in ff1280178 made QUrl::toAce more strict. Now it doesn't accept empty domain labels, which is exactly what a leading dot means. Interestingly, KDE 3's KURL had a long-standing hack to support the leading dot and which I broke on more than one occasion. And it had that feature exactly because of cookies.