Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Compile | Eskil Abrahamsen Blomfeldt | 2009-10-15 | 1 | -1/+1 |
| | | | | | | There's no implicit conversion from QPixmap to QImage Reviewed-by: Gunnar | ||||
* | Optimized bloom graphics effect implementation. | Samuel Rødal | 2009-10-14 | 1 | -9/+13 |
| | | | | | | | Avoid doing so many conversions by operating on raster pixmaps, and by using INV_PREMUL/PREMUL instead of converting to ARGB32. Reviewed-by: Gunnar Sletta | ||||
* | Fixed wrong use of graphics effects for pixmap graphics items. | Samuel Rødal | 2009-10-14 | 1 | -27/+7 |
| | | | | | | | | | | | The blur, drop shadow, and bloom graphics effects are scale dependent, since they have radius and offset (in the case of drop shadow) parameters that are specified in device coordinates. Thus, we can't apply the effect in logical coordinates and scale up, and need to always use the device coordinate path for these effects. The opacity and grayscale effects still use the logical coordinate optimization. Reviewed-by: Gunnar Sletta | ||||
* | Fix compilation with -pedantic | David Faure | 2009-10-07 | 1 | -1/+1 |
| | | | | | Merge-request: 1716 Reviewed-by: Thiago Macieira <thiago.macieira@nokia.com> | ||||
* | warning fix in qgraphicseffect_p.h for qreal == float | Joerg Bornemann | 2009-10-01 | 1 | -1/+1 |
| | | | | Reviewed-by: thartman | ||||
* | Doc: Remaining pieces of the Graphics effect documentation. | Bjørn Erik Nilsen | 2009-09-30 | 1 | -0/+21 |
| | |||||
* | Added QGraphicsBloomEffect::blurHint. | Bjørn Erik Nilsen | 2009-09-30 | 2 | -0/+38 |
| | | | | | | | This allows the user to control whether to use a fast dynamic blur or a static high quality blur. Reviewed-by: Samuel | ||||
* | Add Qt::RenderHint to control rendering operations. | Bjørn Erik Nilsen | 2009-09-30 | 2 | -34/+15 |
| | | | | | | | | | | | We need a way to control various rendering operations. For example, whether quality is more important than performance, or the other way around. This change also replaces occurences of QPixmapFilter/QGraphicsEffect::BlurHint (introduced in 1a431e850893b6b162c833f4f148f090e2427dda) with Qt::RenderHint. Reviewed-by: Samuel | ||||
* | Readd QGraphicsBloomEffect. | Bjørn Erik Nilsen | 2009-09-30 | 3 | -0/+224 |
| | | | | | | | | This effect was removed in 1c9a28ea64cc53e61a64644dc5a4ff121b475bc5, but has now been readded on request from a couple of customers. Andreas also agreed we should provide this effect. Reviewed-by: Andreas | ||||
* | Added BlurType to blur graphics effect API. | Samuel Rødal | 2009-09-24 | 2 | -2/+59 |
| | | | | | | | | This lets the user control whether to use a fast dynamic blur when animating the radius of the blur for example, or to use a static high quality blur for one-time or constant radius blurring. Reviewed-by: Gunnar Sletta | ||||
* | Made QGraphicsBlurEffect use the high blur quality setting. | Samuel Rødal | 2009-09-15 | 1 | -0/+2 |
| | | | | | | | This greatly increases the blur quality in the OpenGL implementation, and doesn't affect the performance of the raster implementation. Reviewed-by: Bjørn Erik Nilsen | ||||
* | doc: Fixed some qdoc errors. | Martin Smith | 2009-09-15 | 1 | -0/+12 |
| | |||||
* | Add filter strength to QGraphics[Colorize,Grayscale]Effect. | Ariya Hidayat | 2009-09-14 | 3 | -1/+86 |
| | | | | | Autotest: included Reviewed-by: Bjørn Erik Nilsen | ||||
* | Update license headers again. | Jason McDonald | 2009-09-09 | 3 | -12/+12 |
| | | | | Reviewed-by: Trust Me | ||||
* | Make QGraphicsShaderEffect private API for 4.6 | Rhys Weatherley | 2009-09-06 | 1 | -1/+0 |
| | | | | | | | The custom shader code in the OpenGL2 paint engine needs time to mature before we make this official public API. Reviewed-by: trustme | ||||
* | Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt into 4.6 | Michael Brasser | 2009-09-04 | 3 | -9/+71 |
|\ | |||||
| * | doc: Fixed several qdoc errors. | Martin Smith | 2009-09-02 | 1 | -1/+2 |
| | | | | | | | | That's the last of them... for now. | ||||
| * | Fix rounding bug in QGraphicsOpacityEffect. | Bjørn Erik Nilsen | 2009-09-01 | 1 | -4/+5 |
| | | | | | | | | The pixmap was painted at wrong offset. | ||||
| * | Make sure the BSP is updated when a graphics effect changes bounding rect. | Bjørn Erik Nilsen | 2009-09-01 | 2 | -2/+3 |
| | | | | | | | | | | | | | | | | | | In the case of applying an effect to a QGraphicsItem, we have to notify the scene's BSP that the item's bounding rect has changed. We do this by calling prepareGeometryChange(). In the case of QWidget, it's sub-optimal that we update its parent, but there's no other way to solve it at the moment. | ||||
| * | QGraphicsDropShadowEffect convenience; setXOffset() and setYOffset(). | Bjørn Erik Nilsen | 2009-09-01 | 2 | -1/+37 |
| | | | | | | | | Reviewed-by: Andreas | ||||
| * | Make sure graphics effects updates properly when changing their properties. | Bjørn Erik Nilsen | 2009-09-01 | 2 | -1/+24 |
| | | | | | | | | Reviewed-by: Leo | ||||
* | | Use qreal for QGraphicsOpacityEffect opacity property. | Michael Brasser | 2009-09-04 | 1 | -1/+1 |
|/ | | | | Reviewed-by: Yann Bodson | ||||
* | Update tech preview license header for files that are new in 4.6. | Jason McDonald | 2009-08-31 | 3 | -39/+39 |
| | | | | Reviewed-by: Trust Me | ||||
* | Don't call qFuzzyIsNull on every single frame in QGraphicsOpacityEffect. | Bjørn Erik Nilsen | 2009-08-28 | 2 | -3/+10 |
| | | | | | We only have to do it when the opacity changes (in ::setOpacity). Also, we cannot do the cut-off when the effect has an opacity mask set. | ||||
* | Add support for setting an opacity mask on QGraphicsOpacityEffect. | Bjørn Erik Nilsen | 2009-08-28 | 3 | -6/+96 |
| | | | | | | | | Opacity masks enable you to make portions of an element transparent. More information about opacity masks here: http://msdn.microsoft.com/en-us/library/ms743320.aspx Reviewed-by: Samuel | ||||
* | doc: Add Graphics Effect images. | Bjørn Erik Nilsen | 2009-08-26 | 1 | -3/+17 |
| | |||||
* | doc: Misspelled class names. | Bjørn Erik Nilsen | 2009-08-26 | 1 | -2/+2 |
| | |||||
* | doc: fixes qdoc warnings/errors related to the Graphics Effect framework. | Bjørn Erik Nilsen | 2009-08-26 | 1 | -71/+135 |
| | | | | Reviewed-by: Kavindra | ||||
* | Doc - Completed review of documentation for the QGraphicsEffect group of | Kavindra Devi Palaraja | 2009-08-26 | 1 | -77/+95 |
| | | | | | | classes Reviewed-By: TrustMe | ||||
* | fix warnings on Windows CE | Joerg Bornemann | 2009-08-26 | 1 | -1/+1 |
| | | | | | | | Lots of warnings in the qreal == float case. Some Q_UNUSED added. Reviewed-by: thartman | ||||
* | Doc - Removed a trailing whitespace and more cleanups | Kavindra Devi Palaraja | 2009-08-25 | 1 | -11/+6 |
| | | | | Reviewed-By: TrustMe | ||||
* | Doc - Reviewing documentation for QGraphicsEffect and QGraphicsEffectSource | Kavindra Devi Palaraja | 2009-08-25 | 1 | -24/+30 |
| | | | | Reviewed-By: TrustMe | ||||
* | doc: qdoc warning about signal not found. | Bjørn Erik Nilsen | 2009-08-25 | 1 | -1/+1 |
| | | | | QPoint -> QPointF | ||||
* | Remove semi-colon from Q_XXX macros in qgraphicseffect.h | Bjørn Erik Nilsen | 2009-08-25 | 1 | -1/+1 |
| | | | | Some compilers don't like them and fail to compile. | ||||
* | Merge commit 'origin/master' into 4.6 | Jason Barron | 2009-08-25 | 1 | -3/+3 |
|\ | |||||
| * | Removed some 'illegal empty declaration' warnings from Symbian build | Janne Anttila | 2009-08-24 | 1 | -3/+3 |
| | | | | | | | | Reviewed-by: TrustMe | ||||
* | | Make sure QGraphicsOpacityEffect::opacity is bound between 0.0 and 1.0 | Bjørn Erik Nilsen | 2009-08-24 | 1 | -0/+3 |
| | | |||||
* | | doc: More documentation of the graphics effect framework. | Bjørn Erik Nilsen | 2009-08-24 | 1 | -12/+338 |
| | | |||||
* | | Fix obsolete license headers. | Jason McDonald | 2009-08-21 | 2 | -4/+4 |
| | | | | | | | | Reviewed-by: Trust Me | ||||
* | | Fix obsolete license headers. | Jason McDonald | 2009-08-21 | 1 | -1/+1 |
| | | | | | | | | Reviewed-by: Trust Me | ||||
* | | Add QGraphicsOpacityEffect. | Bjørn Erik Nilsen | 2009-08-21 | 3 | -0/+92 |
|/ | | | | | | This is a common effect that many many customers have asked for. Reviewed-by: Samuel | ||||
* | Use pixmap filter for the drop shadow effect. | Bjørn Erik Nilsen | 2009-08-21 | 3 | -147/+42 |
| | |||||
* | Add support for graphics effects on QWidget. | Bjørn Erik Nilsen | 2009-08-20 | 3 | -0/+12 |
| | |||||
* | Rename QGraphicsShadowEffect to QGraphicsDropShadowEffect. | Bjørn Erik Nilsen | 2009-08-20 | 3 | -29/+29 |
| | | | | Discussed with Andreas. | ||||
* | Add missing effects.pri file in src/gui/effects | Bjørn Erik Nilsen | 2009-08-20 | 1 | -0/+4 |
| | |||||
* | Header cleanup. | Bjørn Erik Nilsen | 2009-08-20 | 1 | -8/+1 |
| | | | | Graphics effects is no longer dependent of graphics view. | ||||
* | Make QGraphicsXXXEffect::boundingRectFor public. | Bjørn Erik Nilsen | 2009-08-20 | 1 | -2/+2 |
| | |||||
* | Graphics Effect cleanup: Remove old comments; not valid anymore. | Bjørn Erik Nilsen | 2009-08-20 | 2 | -58/+4 |
| | |||||
* | Add Q_DECLARE_OPERATORS_FOR_FLAGS(QGraphicsEffect::ChangeFlags) | Bjørn Erik Nilsen | 2009-08-20 | 1 | -0/+1 |
| | |||||
* | Compile graphics effect. | Bjørn Erik Nilsen | 2009-08-20 | 1 | -3/+2 |
| | | | | We have to include QColor and QRect rather than forward declare them. |