summaryrefslogtreecommitdiffstats
path: root/src/gui/effects/qgraphicseffect.h
Commit message (Collapse)AuthorAgeFilesLines
* Update licenseheader text in source files for qt4.8Jyri Tahtela2011-05-131-17/+17
| | | | | | | Updated version of LGPL and FDL licenseheaders. Apply release phase licenseheaders for all source files. Reviewed-by: Trust Me
* Update copyright year to 2011.Jason McDonald2011-01-101-1/+1
| | | | Reviewed-by: Trust Me
* Update copyright year to 2010Jason McDonald2010-01-061-1/+1
| | | | Reviewed-by: Trust Me
* Improvements to graphics effects API after review round.Samuel Rødal2009-11-101-55/+35
| | | | | | | | | | | | * Get rid of QGraphicsEffectSource from the public API, instead add convenience functions in QGraphicsEffect. This way we commit to less API, and are free to introduce a customizable QGraphicsEffectSource in a future release. * Move PixmapPadMode into QGraphicsEffect and tweak the names of the enum values. * Make QGraphicsBlurEffect::BlurHint into a bit flag, for extensibility. Reviewed-by: Bjørn Erik Nilsen
* Add QT_NO_GRAPHICSEFFECTJørgen Lind2009-11-041-0/+2
| | | | | | | It depends on QT_NO_GRAPHICSVIEW for now, but it is possible to remove this dependency. Reviewed-by: paul
* Moved Qt::RenderHint back into QGraphicsBlurEffect and added a hint.Samuel Rødal2009-11-021-4/+10
| | | | | | | | Added AnimationHint, which didn't make too much sense in a generic enum, so Qt::RenderHint was moved back into QGraphicsBlurEffect as QGraphicsBlurEffect::BlurHint. Reviewed-by: Gunnar Sletta
* Made blur and drop shadow APIs use qreal instead of int for blur radius.Samuel Rødal2009-10-271-8/+8
| | | | | | | There's no reason to lock ourselves to int in the API when some of the backend could handle floating point blur radii. Reviewed-by: Bjørn Erik Nilsen
* Options on how to get a pixmap from an effect sourceGunnar Sletta2009-10-271-1/+9
| | | | | | Usable for future optimizations. Reviewed-by: Samuel
* Removed pixelize, bloom and grayscale filterGunnar Sletta2009-10-231-88/+0
| | | | | | | | | | | | | | | | | This is new API and we don't want to add several items that are not strictly needed. This is a new set of features and we can grow them once we have more input from users on what is needed. The Bloom filter was added based on input from designers, but is not implemented according to how designers think of blook, so the effect doesn't meet the requirements. The Grayscale filter is functionally a duplicate of the colorize filter and is therefore not needed. The Pixelize filter has no genuine usecase. Reviewed-by: Samuel
* Added caching of graphics effect source pixmaps to speed up effects.Samuel Rødal2009-10-221-0/+1
| | | | | | | 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
* Added QGraphicsBloomEffect::blurHint.Bjørn Erik Nilsen2009-09-301-0/+4
| | | | | | | 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 Nilsen2009-09-301-9/+4
| | | | | | | | | | | 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 Nilsen2009-09-301-0/+34
| | | | | | | | 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ødal2009-09-241-0/+9
| | | | | | | | 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
* Add filter strength to QGraphics[Colorize,Grayscale]Effect.Ariya Hidayat2009-09-141-0/+13
| | | | | Autotest: included Reviewed-by: Bjørn Erik Nilsen
* Update license headers again.Jason McDonald2009-09-091-4/+4
| | | | Reviewed-by: Trust Me
* Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt into 4.6Michael Brasser2009-09-041-1/+19
|\
| * QGraphicsDropShadowEffect convenience; setXOffset() and setYOffset().Bjørn Erik Nilsen2009-09-011-0/+18
| | | | | | | | Reviewed-by: Andreas
| * Make sure graphics effects updates properly when changing their properties.Bjørn Erik Nilsen2009-09-011-1/+1
| | | | | | | | Reviewed-by: Leo
* | Use qreal for QGraphicsOpacityEffect opacity property.Michael Brasser2009-09-041-1/+1
|/ | | | Reviewed-by: Yann Bodson
* Update tech preview license header for files that are new in 4.6.Jason McDonald2009-08-311-13/+13
| | | | Reviewed-by: Trust Me
* Add support for setting an opacity mask on QGraphicsOpacityEffect.Bjørn Erik Nilsen2009-08-281-0/+5
| | | | | | | | 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
* Remove semi-colon from Q_XXX macros in qgraphicseffect.hBjørn Erik Nilsen2009-08-251-1/+1
| | | | Some compilers don't like them and fail to compile.
* Merge commit 'origin/master' into 4.6Jason Barron2009-08-251-3/+3
|\
| * Removed some 'illegal empty declaration' warnings from Symbian buildJanne Anttila2009-08-241-3/+3
| | | | | | | | Reviewed-by: TrustMe
* | Fix obsolete license headers.Jason McDonald2009-08-211-2/+2
| | | | | | | | Reviewed-by: Trust Me
* | Add QGraphicsOpacityEffect.Bjørn Erik Nilsen2009-08-211-0/+25
|/ | | | | | 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 Nilsen2009-08-211-12/+12
|
* Add support for graphics effects on QWidget.Bjørn Erik Nilsen2009-08-201-0/+5
|
* Rename QGraphicsShadowEffect to QGraphicsDropShadowEffect.Bjørn Erik Nilsen2009-08-201-6/+6
| | | | Discussed with Andreas.
* 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-201-1/+0
|
* 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 "QObject *parent = 0" to all graphics effect constructors.Bjørn Erik Nilsen2009-08-201-7/+7
|
* Cleanup after 19e01c93f9421a8db6c8a93ac103a7df2b93d9ecBjørn Erik Nilsen2009-08-191-9/+9
| | | | QGraphicsEffect is no longer dependent on the Graphics View module.
* 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-191-1/+24
|
* Remove QGraphicsBloomEffect and QGraphicsFrameEffect.Bjørn Erik Nilsen2009-08-191-47/+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-191-0/+291