summaryrefslogtreecommitdiffstats
path: root/tests/auto/qgraphicseffect
Commit message (Collapse)AuthorAgeFilesLines
* Improvements to graphics effects API after review round.Samuel Rødal2009-11-101-4/+5
| | | | | | | | | | | | * 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
* Made graphics effects autotest compile.Samuel Rødal2009-10-271-1/+2
| | | | | | There's no grayscale effect anymore, use colorize effect. Reviewed-by: Gunnar Sletta
* Stabilize QGraphicsEffect and QToolTip testOlivier Goffart2009-09-231-8/+6
|
* Don't do pixel tests in QGraphicsEffect on other than 32-bit display.Ariya Hidayat2009-09-151-0/+11
| | | | Reviewed-by: Paul Olav Tvete
* Add filter strength to QGraphics[Colorize,Grayscale]Effect.Ariya Hidayat2009-09-141-0/+40
| | | | | Autotest: included Reviewed-by: Bjørn Erik Nilsen
* Add simple autotest for QGraphicsColorizeEffect.Ariya Hidayat2009-09-141-0/+25
| | | | Reviewed-by: Bjørn Erik Nilsen
* Add simple autotest for QGraphicsGrayscaleEffect.Ariya Hidayat2009-09-141-0/+24
| | | | Reviewed-by: Bjørn Erik Nilsen
* Wrong opacity set on the painter in QGraphicsEffect::draw.Bjørn Erik Nilsen2009-09-101-1/+24
| | | | | | | | We have to initialize the painter with the 'effected' item's opacity before calling QGraphicsEffect::draw; otherwise we'll use the previous rendered item's opacity (which is wrong). Reviewed-by: Michael Brasser
* Update license headers again.Jason McDonald2009-09-091-4/+4
| | | | Reviewed-by: Trust Me
* Update tech preview license header for files that are new in 4.6.Jason McDonald2009-08-311-13/+13
| | | | Reviewed-by: Trust Me
* Fix obsolete license headers.Jason McDonald2009-08-211-2/+2
| | | | Reviewed-by: Trust Me
* Notify QGraphicsEffect whenever the source is invalidated.Bjørn Erik Nilsen2009-08-071-0/+1
| | | | | | | In case of caching, the effect must be notified whenever the source has been invalidated; otherwise the cached pixmap will not be up-to-date. Auto-test included.
* Add ChangeFlags to QGraphicsEffect and pass flags to sourceChanged.Bjørn Erik Nilsen2009-08-071-18/+12
| | | | | | | | This is way more flexible as it allows for extension in the future. Instead of having several virtual functions, which in most cases when re-implemented have to do exactly the same, we now have one virtual function which takes a ChangedFlags parameter do describe what kind of changes that occurred to the source.
* Add tests/auto/qgraphicseffectBjørn Erik Nilsen2009-08-042-0/+355