summaryrefslogtreecommitdiffstats
path: root/examples/effects
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright year to 2010Jason McDonald2010-01-0611-11/+11
| | | | Reviewed-by: Trust Me
* Fix build breakage in 1b14c3d33dea0fe4814f2749c49cf916ca13e012Jason McDonald2009-11-191-6/+0
| | | | Reviewed-by: Bradley T. Hughes
* Merge branch '4.6' of oslo-staging-1 into 4.6Simon Hausmann2009-11-191-1/+1
|\
| * Fix compilation with Sun CC: no semi-colon after Q_PROPERTYThiago Macieira2009-11-181-1/+1
| | | | | | | | Reviewed-By: Peter Hartmann
* | Remove examples/effects/customshader which uses private APITom Cooksey2009-11-1919-572/+0
|/ | | | | | | | Commit 3f109fd85cbdc49dc3ef1c14066073079f4e34bf made QGraphicsShaderEffect private API, however the example showing how to use it was kept. This patch just removes that example. Reviewed-by: Samuel
* Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/oslo-staging-2 into 4.6Gunnar Sletta2009-11-136-69/+84
|\
| * Merge oslo-staging-2/4.6 into upstream/4.6Olivier Goffart2009-11-136-69/+84
| |\
| | * Merge commit 'widget/4.6' into oslo-staging-2/4.6Olivier Goffart2009-11-116-69/+84
| | |\ | | | | | | | | | | | | | | | | Conflicts: src/gui/painting/qbrush.cpp
| | | * Make the new examples for effects use the Qt Animation FrameworkThierry Bastian2009-11-106-69/+84
| | | | | | | | | | | | | | | | | | | | Task-number: QTBUG-5640 Reviewed-by: Leo
* | | | Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt into 4.6Gunnar Sletta2009-11-136-9/+16
|\ \ \ \ | |/ / / | | | | | | | | | | | | Conflicts: dist/changes-4.6.0
| * | | fademessage example: don't use a fixed width for the rect under the textJoerg Bornemann2009-11-111-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | Its using QFontMetrics::width now. Reviewed-by: thartman
| * | | fademessage example: deploy jpeg plugin on Windows CEJoerg Bornemann2009-11-111-0/+3
| |/ / | | | | | | | | | Reviewed-by: thartman
| * | Improvements to graphics effects API after review round.Samuel Rødal2009-11-104-6/+6
| |/ | | | | | | | | | | | | | | | | | | | | | | * 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
* | Use a non-cosmetic 1-width pen in example to match graphicsview specsGunnar Sletta2009-11-101-1/+1
|/ | | | Reviewed-by: Samuel
* customshader won't work on OpenGL/ES 1.1 so disable for those platformsRhys Weatherley2009-10-151-1/+5
| | | | Reviewed-by: trustme
* Add an example that shows strength animation QGraphicsColorizeEffect.Ariya Hidayat2009-09-148-1/+274
| | | | | | | | When a button is pressed, a popup message is shown and the background (everything, every items, behind the popup message) is faded to light green. Reviewed-by: Bjørn Erik Nilsen
* Bring back the blurry drop shadow in the lighting example.Ariya Hidayat2009-09-141-1/+3
| | | | Reviewed-by: Bjørn Erik Nilsen
* Update license headers again.Jason McDonald2009-09-0915-60/+60
| | | | Reviewed-by: Trust Me
* Make QGraphicsShaderEffect private API for 4.6Rhys Weatherley2009-09-063-5/+5
| | | | | | | The custom shader code in the OpenGL2 paint engine needs time to mature before we make this official public API. Reviewed-by: trustme
* Cleanup examples/effects/lighting.Bjørn Erik Nilsen2009-09-015-149/+21
| | | | There's no need to re-implement QGraphicsDropShadowEffect anymore.
* Update tech preview license header for files that are new in 4.6.Jason McDonald2009-08-3117-221/+221
| | | | Reviewed-by: Trust Me
* Fixed custom shader example to correctly use premultiplied colors.Samuel Rødal2009-08-311-1/+1
| | | | Reviewed-by: Gunnar
* Added missing precision specifiers to custom shader effect.Samuel Rødal2009-08-261-1/+1
| | | | | | The precision specifiers need to be there on OpenGL ES 2.0. Reviewed-by: Tom
* Make the 'effects' examples compile when qreal == float.Jason Barron2009-08-262-2/+2
| | | | | | | | | All of the types supplied to qBound() must be the same and in the case where qreal is typedef'ed to a float, this is not the case because the outer 2 arguments are considered doubles. We explicitly cast them to qreal to guarantee they are all the same type. Reviewed-by: bnilsen
* Fixed documentation and use of incorrect entry point for custom shaders.Samuel Rødal2009-08-251-3/+1
| | | | | | | The entry point has been changed to be customShader, taking source image and texture coordinates as parameters. Reviewed-by: Tom
* Fix obsolete license headers.Jason McDonald2009-08-2117-34/+34
| | | | Reviewed-by: Trust Me
* Only compile shader effect example when having OpenGL.Bjørn Erik Nilsen2009-08-211-2/+3
|
* Move shader effect example from examples/graphicsview to examples/effectsBjørn Erik Nilsen2009-08-2120-1/+569
|
* Use pixmap filter for the drop shadow effect.Bjørn Erik Nilsen2009-08-212-2/+5
|
* Rename QGraphicsShadowEffect to QGraphicsDropShadowEffect.Bjørn Erik Nilsen2009-08-202-4/+4
| | | | Discussed with Andreas.
* Move examples/graphicsview/blurpicker|lighting to examples/effects.Bjørn Erik Nilsen2009-08-1924-0/+828