aboutsummaryrefslogtreecommitdiffstats
path: root/examples
Commit message (Collapse)AuthorAgeFilesLines
* remove motionchart demo (uncompleted)Charles Yin2011-07-291-140/+0
| | | | | | | Change-Id: I4e6b068ca9ceb0b7f76a6548d1b7a8789bc4bf39 Reviewed-on: http://codereview.qt.nokia.com/2237 Reviewed-by: Charles Yin <charles.yin@nokia.com> Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
* Renamed ShaderEffectItem to ShaderEffect and some API changes.Kim Motoyoshi Kalland2011-07-285-21/+21
| | | | | | | | | | | | | | | | The ShaderEffectItem was renamed to ShaderEffect to be consistent with other QML element names. The GLSL uniform variable qt_ModelViewProjectionMatrix was renamed to qt_Matrix which is easier to type and remember. The GridMesh element was removed. The mesh resolution is now specified simply with a QSize. To make the transition easier, the old API will continue to work for some time, but will output warnings if used. Eventually, I will remove the old API completely. Change-Id: Iec4f2aa624a2c76a7db6750c58f73dbcb316ab6a Reviewed-on: http://codereview.qt.nokia.com/2270 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Gunnar Sletta <gunnar.sletta@nokia.com>
* Add some more properties to JS particle typeAlan Alpert2011-07-281-4/+28
| | | | | | | | | | | Adds the current position, velocity and acceleration. While we're at it, renaming the velocity vars from sx,sy to vx,vy Change-Id: I87f582169c7873c45a6fd453052b25c4dc940f3e Reviewed-on: http://codereview.qt.nokia.com/2021 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Martin Jones <martin.jones@nokia.com>
* Initial CustomEmitter and CustomAffector implementationAlan Alpert2011-07-2810-0/+199
| | | | | | | | Currently basic and can't access all properties. Change-Id: I66efc235112cffcf1a3ca5cc69099a5d09ec7691 Reviewed-on: http://codereview.qt.nokia.com/1950 Reviewed-by: Martin Jones <martin.jones@nokia.com>
* polish canvas stock chart exampleCharles Yin2011-07-2722-61/+601
| | | | | | Change-Id: Ie79859af8572c3c79185d98c54c2aae35190d257 Reviewed-on: http://codereview.qt.nokia.com/1908 Reviewed-by: Charles Yin <charles.yin@nokia.com>
* Update PhotoViewer to QtQuick 2.0Alan Alpert2011-07-269-9/+9
| | | | | | | | | Seems to work fine. Change-Id: I2da6487a6b3a5dc9ce1fb2036450ef0a0588430f Reviewed-on: http://codereview.qt.nokia.com/2149 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Yann Bodson <yann.bodson@nokia.com>
* more on canvas stock chart example.Charles Yin2011-07-207-71/+732
| | | | | | | Change-Id: I7e92414d397b8a0bfdd514c9045677cd00422263 Reviewed-on: http://codereview.qt.nokia.com/1627 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Charles Yin <charles.yin@nokia.com>
* Hook up durationVariation on SpritesAlan Alpert2011-07-201-2/+12
| | | | | | | Change-Id: I11ea38fc87373604debd469e03af3447b8adcecb Reviewed-on: http://codereview.qt.nokia.com/985 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Martin Jones <martin.jones@nokia.com>
* Add stock chart example for canvas itemCharles Yin2011-07-126-0/+560
| | | | | | Change-Id: I72aacfcb72b90d4d18f95cef3038a169c991a336 Reviewed-on: http://codereview.qt.nokia.com/1480 Reviewed-by: Charles Yin <charles.yin@nokia.com>
* Extract all QtQuick 1 elements into a separate library/plugin.Martin Jones2011-07-1217-23/+22
| | | | | | Change-Id: I41a280de2739ee08202f4be2519e5012870090f2 Reviewed-on: http://codereview.qt.nokia.com/1391 Reviewed-by: Martin Jones <martin.jones@nokia.com>
* Rewrite the canvas item's paint logic.Charles Yin2011-07-122-20/+74
| | | | | | | | | | | | | | 1. Only allow the context API calls inside onPaint() slot function, makes the context2d handle invalid when out of scope. 2. requestPaint() method supports region parameter 3. Emit paint() signal in updatePolish() function to allow threaded scene graph rendering work properly with context2d api 4. Allow request painting mutiple dirty regions between 2 frames. 5. Add svgpath for context2d Change-Id: I5ec48f7c0eb6820d5c9c16a8d0dcc0aae8d0fd2f Reviewed-on: http://codereview.qt.nokia.com/1465 Reviewed-by: Charles Yin <charles.yin@nokia.com>
* Remove references to demos.Casper van Donderen2011-07-1112-51/+19
| | | | | | | Change-Id: I21f935b6de8bdf6a5205f6048cdabf97e16b613a Reviewed-on: http://codereview.qt.nokia.com/1060 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Casper van Donderen <casper.vandonderen@nokia.com>
* Merge branch 'v8'Aaron Kennedy2011-07-082-0/+794
|\ | | | | | | | | | | | | | | Conflicts: src/declarative/qml/qdeclarativescarceresourcescriptclass.cpp src/declarative/qml/qdeclarativescarceresourcescriptclass_p.h Change-Id: I54e579307cbeafbbad21884218c5e797ba245c8b
| * update canvas exampleCharles Yin2011-07-012-2/+1
| | | | | | | | | | | | | | Change-Id: I8a797b85f88370c6ddfe64d40a6888aba06998d7 Reviewed-on: http://codereview.qt.nokia.com/693 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Sergio Ahumada <sergio.ahumada@nokia.com>
| * update canvas exampleCharles Yin2011-06-242-22/+33
| | | | | | | | Change-Id: I901532eafabc0344f3978c0093ee56ed230c74b0
| * add svgpath example for canvas context2dCharles Yin2011-06-232-0/+784
| | | | | | | | Change-Id: Ia54b5fd842d13c15c7914d1a1e6b2b2d5718bf81
* | Update licenseheader text in source files for qtdeclarative Qt moduleJyri Tahtela2011-07-0835-615/+615
| | | | | | | | | | | | | | | | Replace old license header with correct one. Change-Id: I492ddaaa0227b2c8faf11bdcd6e12e7231a54a10 Reviewed-on: http://codereview.qt.nokia.com/1312 Reviewed-by: Jyri Tahtela <jyri.tahtela@nokia.com>
* | Move the demos to the examples folder.Casper van Donderen2011-07-07209-2/+10690
| | | | | | | | | | | | | | Change-Id: I094383099bf116357a3bb6eed0052d6d14408558 Reviewed-on: http://codereview.qt.nokia.com/1059 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Casper van Donderen <casper.vandonderen@nokia.com>
* | Squashed Particle System Stateful RewriteAlan Alpert2011-07-0613-43/+342
|/ | | | | | | | | | | | | | | | | | | | Add TargetAffector Fix for ParticlePainter offsets Adds a particleStates property to ParticleSystem Augment SpriteGoal to change system states as well Also add 'collidingParticles' list to affector. Particle Stochastic States Now actually working, and you can put emitters, affectors and painters inside their targeted state. Fireworks example uses states instead of delegates. Replaced the delegate example with a text thing. The examples launcher now also contains all the custom examples. Adds CumulativeDirection and working null Affector (for affected signal). Add spaces after all flow control keywords. Change-Id: I77b7e3044a9800dbfff6db833914d63127602cf5 Reviewed-on: http://codereview.qt.nokia.com/968 Reviewed-by: Alan Alpert <alan.alpert@nokia.com>
* Rewrite particle system to cope with changing particle countsAlan Alpert2011-06-153-21/+108
| | | | | | | And might do it again... Caught up in this massive change were the following smaller ones: -Some custom particle examples -delegate property on ItemParticle and an example with it
* Add delegate property to ItemParticleAlan Alpert2011-06-103-0/+141
| | | | Also add burst(n,x,y) to ParticleEmitter, and a demo that uses both.
* Add a DragTarget element.Andrew den Exter2011-06-098-0/+620
| | | | | | | Provides an area that can be used to handle events when other items are dragged over it. Task-number: QMLNG-32
* Merge branch 'master' into qtquick2Aaron Kennedy2011-06-09671-578/+37767
|\ | | | | | | | | Conflicts: src/declarative/qml/qdeclarativeengine.cpp
| * Doc: Added missing license headers for documentation and examples.David Boddie2011-06-08108-0/+4320
| |
| * Removed generated files.David Boddie2011-06-0843-690/+0
| |
| * Fix usage of QT_SOURCE_TREEMarius Storm-Olsen2011-06-074-4/+4
| | | | | | | | Functionality has been moved into qt_example.prf
| * Remove more webkit dependency from qtdeclarative.Martin Jones2011-05-31113-5800/+0
| | | | | | | | Change-Id: I75fd903e6a8160210652c2cec3c4636e908a9ade
| * Remove the examples/declarative/demos copy.Martin Jones2011-05-31152-7834/+0
| | | | | | | | | | | | Not sure why it is here, but it shouldn't be. Change-Id: I1a2f9cc994de13690bbc77d41005051e340291f7
| * Remove webbrowser demo from qtdeclarative module.Martin Jones2011-05-3123-1215/+0
| | | | | | | | | | | | qtdeclarative should not depend on webkit. Change-Id: I82e3f49dbe710e408c1a74911787541a9ea9efa1
| * Merge branch 'qtquick2'Martin Jones2011-05-31109-285/+5428
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: demos/declarative/flickr/common/Progress.qml demos/declarative/flickr/common/RssModel.qml demos/declarative/flickr/common/ScrollBar.qml demos/declarative/flickr/common/Slider.qml demos/declarative/flickr/mobile/Button.qml demos/declarative/flickr/mobile/GridDelegate.qml demos/declarative/flickr/mobile/ImageDetails.qml demos/declarative/flickr/mobile/ListDelegate.qml demos/declarative/flickr/mobile/TitleBar.qml demos/declarative/flickr/mobile/ToolBar.qml demos/declarative/webbrowser/content/Button.qml demos/declarative/webbrowser/content/FlickableWebView.qml demos/declarative/webbrowser/content/Header.qml demos/declarative/webbrowser/content/ScrollBar.qml demos/declarative/webbrowser/content/UrlInput.qml demos/declarative/webbrowser/webbrowser.qml doc/src/snippets/declarative/mousearea/mousearea-snippet.qml examples/declarative/modelviews/webview/newwindows/qml/alerts.html examples/declarative/modelviews/webview/newwindows/qml/content/Mapping/map.html examples/declarative/modelviews/webview/newwindows/qml/content/pics/cancel.png examples/declarative/modelviews/webview/newwindows/qml/content/pics/ok.png examples/declarative/modelviews/webview/newwindows/qml/newwindows.html src/declarative/graphicsitems/qdeclarativetextinput.cpp src/declarative/qml/qdeclarativecompiledbindings.cpp src/declarative/qml/qdeclarativecompiledbindings_p.h src/declarative/qml/qdeclarativedom.cpp src/declarative/qml/qdeclarativedom_p.h src/declarative/qml/qdeclarativedom_p_p.h src/declarative/qml/qdeclarativeengine.cpp src/declarative/qml/qdeclarativetypeloader.cpp src/imports/particles/particles.cpp tests/auto/declarative/qdeclarativedom/tst_qdeclarativedom.cpp tests/auto/declarative/qmlvisual/qdeclarativeflickable/data/flickable-horizontal.4.png tests/auto/declarative/qmlvisual/qdeclarativepathview/data/test-pathview.6.png tests/auto/declarative/qmlvisual/qdeclarativepositioners/data/usingRepeater.0.png tests/auto/declarative/qmlvisual/qdeclarativespringanimation/data/follow.0.png tests/auto/declarative/qmlvisual/qdeclarativespringanimation/data/follow.1.png tests/auto/declarative/qmlvisual/qdeclarativespringanimation/data/follow.2.png tests/auto/declarative/qmlvisual/qdeclarativespringanimation/data/follow.3.png tests/auto/declarative/qmlvisual/qdeclarativespringanimation/data/follow.4.png tests/auto/declarative/qmlvisual/qdeclarativespringanimation/data/follow.5.png tests/auto/declarative/qmlvisual/qdeclarativespringanimation/data/follow.6.png tests/auto/declarative/qmlvisual/qdeclarativespringanimation/data/follow.7.png tests/auto/declarative/qmlvisual/qdeclarativetext/align/data-MAC/multilineAlign.0.png tests/auto/declarative/qmlvisual/qdeclarativetext/align/data-X11/multilineAlign.0.png tests/auto/declarative/qmlvisual/qdeclarativetext/baseline/data-X11/parentanchor.0.png tests/auto/declarative/qmlvisual/qdeclarativetext/data-MAC/qtbug_14865.0.png tests/auto/declarative/qmlvisual/qdeclarativetext/data-MAC/qtbug_14865.1.png tests/auto/declarative/qmlvisual/qdeclarativetext/data-X11/qtbug_14865.0.png tests/auto/declarative/qmlvisual/qdeclarativetext/data-X11/qtbug_14865.1.png tests/auto/declarative/qmlvisual/qdeclarativetext/elide/data-X11/elide.1.png tests/auto/declarative/qmlvisual/qdeclarativetext/elide/data-X11/elide2.0.png tests/auto/declarative/qmlvisual/qdeclarativetext/elide/data-X11/elide2.1.png tests/auto/declarative/qmlvisual/qdeclarativetext/elide/data-X11/multilength.1.png tests/auto/declarative/qmlvisual/qdeclarativetext/elide/data-X11/multilength.2.png tests/auto/declarative/qmlvisual/qdeclarativetext/elide/data-X11/multilength.3.png tests/auto/declarative/qmlvisual/qdeclarativetext/elide/data-X11/multilength.4.png tests/auto/declarative/qmlvisual/qdeclarativetext/elide/data-X11/multilength.5.png tests/auto/declarative/qmlvisual/qdeclarativetext/font/data-MAC/plaintext2.0.png tests/auto/declarative/qmlvisual/qdeclarativetext/font/data-MAC/plaintext3.0.png tests/auto/declarative/qmlvisual/qdeclarativetext/font/data-X11/plaintext.0.png tests/auto/declarative/qmlvisual/qdeclarativetext/font/data-X11/plaintext2.0.png tests/auto/declarative/qmlvisual/qdeclarativetext/font/data-X11/richtext.0.png tests/auto/declarative/qmlvisual/qdeclarativetext/font/data-X11/richtext2.0.png tests/auto/declarative/qmlvisual/qdeclarativetextedit/data-MAC/usingMultilineEdit.0.png tests/auto/declarative/qmlvisual/qdeclarativetextedit/data-MAC/usingMultilineEdit.1.png tests/auto/declarative/qmlvisual/qdeclarativetextedit/data-MAC/usingMultilineEdit.10.png tests/auto/declarative/qmlvisual/qdeclarativetextedit/data-MAC/usingMultilineEdit.11.png tests/auto/declarative/qmlvisual/qdeclarativetextedit/data-MAC/usingMultilineEdit.2.png tests/auto/declarative/qmlvisual/qdeclarativetextedit/data-MAC/usingMultilineEdit.3.png tests/auto/declarative/qmlvisual/qdeclarativetextedit/data-MAC/usingMultilineEdit.4.png tests/auto/declarative/qmlvisual/qdeclarativetextedit/data-MAC/usingMultilineEdit.5.png tests/auto/declarative/qmlvisual/qdeclarativetextedit/data-MAC/usingMultilineEdit.6.png tests/auto/declarative/qmlvisual/qdeclarativetextedit/data-MAC/usingMultilineEdit.7.png tests/auto/declarative/qmlvisual/qdeclarativetextedit/data-MAC/usingMultilineEdit.8.png tests/auto/declarative/qmlvisual/qdeclarativetextedit/data-MAC/usingMultilineEdit.9.png tests/auto/declarative/qmlvisual/qdeclarativetextedit/data-MAC/wrap.0.png tests/auto/declarative/qmlvisual/qdeclarativetextedit/data-MAC/wrap.1.png tests/auto/declarative/qmlvisual/qdeclarativetextedit/data-MAC/wrap.2.png tests/auto/declarative/qmlvisual/qdeclarativetextedit/data-MAC/wrap.3.png tests/auto/declarative/qmlvisual/qdeclarativetextedit/data-MAC/wrap.4.png tests/auto/declarative/qmlvisual/qdeclarativetextedit/data-MAC/wrap.5.png tests/auto/declarative/qmlvisual/qdeclarativetextedit/data-MAC/wrap.6.png tests/auto/declarative/qmlvisual/qdeclarativetextedit/data-X11/qt-669.0.png tests/auto/declarative/qmlvisual/qdeclarativetextedit/data-X11/qt-669.1.png tests/auto/declarative/qmlvisual/qdeclarativetextedit/data-X11/qt-669.2.png tests/auto/declarative/qmlvisual/qdeclarativetextedit/data-X11/qt-669.3.png tests/auto/declarative/qmlvisual/qdeclarativetextedit/data-X11/qt-669.4.png tests/auto/declarative/qmlvisual/qdeclarativetextedit/data-X11/usingMultilineEdit.10.png tests/auto/declarative/qmlvisual/qdeclarativetextedit/data-X11/usingMultilineEdit.11.png tests/auto/declarative/qmlvisual/qdeclarativetextedit/data-X11/usingMultilineEdit.12.png tests/auto/declarative/qmlvisual/qdeclarativetextedit/data-X11/usingMultilineEdit.7.png tests/auto/declarative/qmlvisual/qdeclarativetextedit/data-X11/usingMultilineEdit.9.png tests/auto/declarative/qmlvisual/qdeclarativetextedit/data-X11/wrap.7.png tests/auto/declarative/qmlvisual/qdeclarativetextinput/data-MAC/echoMode.0.png tests/auto/declarative/qmlvisual/qdeclarativetextinput/data-MAC/echoMode.1.png tests/auto/declarative/qmlvisual/qdeclarativetextinput/data-MAC/echoMode.2.png tests/auto/declarative/qmlvisual/qdeclarativetextinput/data-X11/usingLineEdit.11.png tests/auto/declarative/qmlvisual/tst_qmlvisual.cpp Change-Id: I40df8a9403a58a6c03a0f1734f16a5cbed6c85ff
| * | Update licenseheader text in source files for qtdeclarative Qt moduleJyri Tahtela2011-05-2452-892/+892
| | | | | | | | | | | | | | | | | | | | | Updated version of LGPL and FDL licenseheaders. Apply release phase licenseheaders for all source files. Reviewed-by: Trust Me
| * | Doc: Added missing project and desktop files.David Boddie2011-05-2314-0/+224
| | |
| * | Squashed commit of changes from the 4.8-temp branch.David Boddie2011-05-23963-0/+50211
| | |
| * | Squashed commit of the changes from the mobile-examples repositoryDavid Boddie2011-05-23143-2035/+8
| | | | | | | | | | | | | | | (4.7-generated-declarative branch). (cherry picked from commit 539311f7b2687e3148ea695ce06fee768abe7b44)
* | | Immense Particles Refactor Part DAlan Alpert2011-06-0833-329/+263
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changed the names of several properties: FollowEmitter: emissionShape->emitShape emissionHeight->emitHeight emissionWidth->emitWidth Emitter: particlesPerSecond->emitRate particleDuration->lifeSpan particleDurationVariation->lifeSpanVariation maxParticles->emitCap particleSize->size particleEndSize->endSize particleSizeVariation->sizeVariation ImageParticle: image->source And stopped being silly in the example launcher.
* | | Immense Particles Refactor Part CAlan Alpert2011-06-0837-4/+276
| | | | | | | | | | | | | | | | | | Demos work again (also, the examples I missed). Added an example launcher for particles.
* | | Immense Particles Refactor Part BAlan Alpert2011-06-0731-416/+486
| |/ |/| | | | | | | Examples work again. Also augmented Wander and PointAttractor with physics modes.
* | Update TextBallons .pro fileAlan Alpert2011-05-301-5/+5
| | | | | | | | Botched the previous alteration
* | Make textballon example follow conventionAlan Alpert2011-05-275-3/+3
| | | | | | | | | | Currently, the qml examples autotest works on a set of conventions defined in its source code to determine which tests to run.
* | Merge branch 'qtquick2' of scm.dev.nokia.troll.no:qt/qtdeclarative-staging ↵Alan Alpert2011-05-2712-573/+0
|\ \ | | | | | | | | | into qtquick2
| * | Remove webkit dependencies from qtdeclarative.Martin Jones2011-05-2712-573/+0
| | | | | | | | | | | | | | | | | | | | | The webkit examples and demo should be added to webkit repo. See https://bugs.webkit.org/show_bug.cgi?id=61596 Change-Id: Iffb2c5eb7f95a9bb563ad61c6002274cec54cd24
* | | Update image stream exampleAlan Alpert2011-05-271-2/+2
|/ / | | | | | | ModelParticle has died.
* | Fix QtDeclarative keyinteraction exampleYann Bodson2011-05-232-2/+2
| | | | | | | | | | Task-number: QTBUG-19033 (cherry picked from commit 00a72cd1f5aff15d5a3a59d61efd2f5653d7dd34)
* | Split up ModelParticleAlan Alpert2011-05-234-4/+5
| | | | | | | | | | | | Now has DataParticle (with model and delegate) and an ItemParticle (which you just feed items manually). ModelParticle left for now for damage control - it will probably just disappear someday.
* | Integrate QtQuickTest into QtCharles Yin2011-05-205-0/+182
| | | | | | | | | | Change-Id: I558821c0dec9166ea1d0d2e1e2f889553c436316 Task-number:QTBUG-16082
* | Fix typo.Casper van Donderen2011-05-191-1/+1
| |
* | Add .pro file to fix build.Casper van Donderen2011-05-191-0/+5
| | | | | | | | Reviewed-by: Kevin Wright
* | Add TextBalloon QML Scene Grpah example with documentation. I moved an old ↵Casper van Donderen2011-05-199-5/+351
| | | | | | | | | | | | example over to a subfolder. Reviewed-by: Gunnar Sletta
* | Merge branch 'qtquick2' of scm.dev.nokia.troll.no:qt/qtdeclarative-staging ↵Alan Alpert2011-05-181-0/+140
|\ \ | | | | | | | | | into qtquick2
| * | show initial chart in motion chart exampleCharles Yin2011-05-181-2/+7
| | | | | | | | | | | | Change-Id: I39297ced1c532f633a7c9c6c64c0818bbc852084