summaryrefslogtreecommitdiffstats
path: root/examples/animation
Commit message (Collapse)AuthorAgeFilesLines
* fix warnings in stickman demo on mingwThierry Bastian2009-09-036-37/+32
| | | | | We now also use the brand-new QGraphicsObject class We also make sure we have less memory leak or bad deallocation.
* Stickman: increases the view size for making room for jumping & dyingLeonardo Sobral Cunha2009-09-021-1/+5
| | | | Reviewed-by: ogoffart
* Don't show example fullscreen on desktopOlivier Goffart2009-09-021-4/+4
| | | | Reviewed-by: Jason Barron
* Fix repainting artifacts in Stickman exampleEskil Abrahamsen Blomfeldt2009-09-021-0/+1
| | | | | | | | | Graphics view now requires that you set a flag to get notifications about geometry changes. We need these changes to make sure the bounding rectangle of the parent item is up-to-date. Reviewed-by: Leo Task number: 258495
* make the animations file in stickman demo be resourcesThierry Bastian2009-09-023-5/+14
| | | | | | | This helps the demo find the files more easily Task-number: 260628 Reviewed-by: eskil
* Fixes examples/animation/states, supposedly hidden element was appearingLeonardo Sobral Cunha2009-09-011-2/+2
| | | | Reviewed-by: trustme
* Update tech preview license header for files that are new in 4.6.Jason McDonald2009-08-3118-234/+234
| | | | Reviewed-by: Trust Me
* Merge branch '4.5' into 4.6Thiago Macieira2009-08-311-13/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: demos/boxes/glshaders.cpp demos/boxes/vector.h demos/embedded/fluidlauncher/pictureflow.cpp demos/embedded/fluidlauncher/pictureflow.h doc/src/desktop-integration.qdoc doc/src/distributingqt.qdoc doc/src/examples-overview.qdoc doc/src/examples.qdoc doc/src/frameworks-technologies/dbus-adaptors.qdoc doc/src/geometry.qdoc doc/src/groups.qdoc doc/src/objecttrees.qdoc doc/src/platform-notes.qdoc doc/src/plugins-howto.qdoc doc/src/qt3support.qdoc doc/src/qtdbus.qdoc doc/src/qtdesigner.qdoc doc/src/qtgui.qdoc doc/src/qtmain.qdoc doc/src/qtopengl.qdoc doc/src/qtsvg.qdoc doc/src/qtuiloader.qdoc doc/src/qundo.qdoc doc/src/richtext.qdoc doc/src/topics.qdoc src/corelib/tools/qdumper.cpp src/gui/embedded/qkbdpc101_qws.cpp src/gui/embedded/qkbdsl5000_qws.cpp src/gui/embedded/qkbdusb_qws.cpp src/gui/embedded/qkbdvr41xx_qws.cpp src/gui/embedded/qkbdyopy_qws.cpp src/gui/embedded/qmousebus_qws.cpp src/gui/embedded/qmousevr41xx_qws.cpp src/gui/embedded/qmouseyopy_qws.cpp src/gui/painting/qpaintengine_d3d.cpp src/gui/painting/qwindowsurface_d3d.cpp src/opengl/gl2paintengineex/glgc_shader_source.h src/opengl/gl2paintengineex/qglpexshadermanager.cpp src/opengl/gl2paintengineex/qglpexshadermanager_p.h src/opengl/gl2paintengineex/qglshader.cpp src/opengl/gl2paintengineex/qglshader_p.h src/opengl/util/fragmentprograms_p.h src/plugins/kbddrivers/linuxis/linuxiskbdhandler.cpp src/plugins/mousedrivers/linuxis/linuxismousehandler.cpp src/script/parser/qscript.g src/script/qscriptarray_p.h src/script/qscriptasm_p.h src/script/qscriptbuffer_p.h src/script/qscriptclass.cpp src/script/qscriptclassdata_p.h src/script/qscriptcompiler.cpp src/script/qscriptcompiler_p.h src/script/qscriptcontext.cpp src/script/qscriptcontext_p.cpp src/script/qscriptcontext_p.h src/script/qscriptcontextfwd_p.h src/script/qscriptecmaarray.cpp src/script/qscriptecmaarray_p.h src/script/qscriptecmaboolean.cpp src/script/qscriptecmacore.cpp src/script/qscriptecmadate.cpp src/script/qscriptecmadate_p.h src/script/qscriptecmaerror.cpp src/script/qscriptecmaerror_p.h src/script/qscriptecmafunction.cpp src/script/qscriptecmafunction_p.h src/script/qscriptecmaglobal.cpp src/script/qscriptecmaglobal_p.h src/script/qscriptecmamath.cpp src/script/qscriptecmamath_p.h src/script/qscriptecmanumber.cpp src/script/qscriptecmanumber_p.h src/script/qscriptecmaobject.cpp src/script/qscriptecmaobject_p.h src/script/qscriptecmaregexp.cpp src/script/qscriptecmaregexp_p.h src/script/qscriptecmastring.cpp src/script/qscriptecmastring_p.h src/script/qscriptengine.cpp src/script/qscriptengine_p.cpp src/script/qscriptengine_p.h src/script/qscriptenginefwd_p.h src/script/qscriptextenumeration.cpp src/script/qscriptextenumeration_p.h src/script/qscriptextqobject.cpp src/script/qscriptextqobject_p.h src/script/qscriptextvariant.cpp src/script/qscriptfunction.cpp src/script/qscriptfunction_p.h src/script/qscriptgc_p.h src/script/qscriptmember_p.h src/script/qscriptobject_p.h src/script/qscriptprettypretty.cpp src/script/qscriptprettypretty_p.h src/script/qscriptvalue.cpp src/script/qscriptvalueimpl.cpp src/script/qscriptvalueimpl_p.h src/script/qscriptvalueimplfwd_p.h src/script/qscriptvalueiteratorimpl.cpp src/script/qscriptxmlgenerator.cpp src/script/qscriptxmlgenerator_p.h tests/auto/linguist/lupdate/testdata/recursivescan/project.ui tests/auto/linguist/lupdate/testdata/recursivescan/sub/finddialog.cpp tests/auto/qkeyevent/tst_qkeyevent.cpp tools/linguist/shared/cpp.cpp
* Runtime warning about non existing "zRotation" property in examples/states.Gabriel de Dietrich2009-08-281-30/+30
| | | | | | | Fixed by using the "rotation" property instead. Task-number: 260403 Reviewed-by: ogoffart
* Update contact URL in license headers.Jason McDonald2009-08-1219-19/+19
| | | | Reviewed-by: Trust Me
* remove constructors that are not usefulKent Hansen2009-08-031-2/+4
| | | | | | | The constructors that take a list of target states produce hard-to-read code, and they're rarely useful in practice since 99% of transitions take a single target state; so it's better to enforce that setTarget{State,States}() be used instead.
* Move sub-attaq from examples to demos because sub-attaq is a bitAlexis Menard2009-07-2872-6521/+0
| | | | too "advanced".
* Make QStateMachine inherit QStateKent Hansen2009-07-2210-32/+29
| | | | | | | | | | | | | | | | | | This removes the need for a "root state" in the machine; or rather, the machine _is_ the root state. User code can now pass in a QStateMachine directly to the QState constructor, instead of machine->rootState(). This also means we could get rid of the "proxying" from the machine to the root state for things like properties (initialState et al), finished() signal and auto-reparenting of states (the ChildAdded event hack). A fun little side-effect of this change is that it's now possible to embed state machines within state machines. We can't think of a good use case yet where you would rather embed a stand-alone state machine (with its own event processing etc.) rather than having just a regular nested state, but it's neat and it works. Reviewed-by: Eskil Abrahamsen Blomfeldt
* Remove Stickman editorEskil Abrahamsen Blomfeldt2009-07-217-437/+0
| | | | | The editor was a just a detail to make the animations and shouldn't be included in the example.
* Animation: fixed a NOTIFY signal name that was wrongThierry Bastian2009-07-011-6/+6
| | | | Also slightly updated a demo
* Doc: Documented the Move Blocks example.Geir Vattekar2009-06-291-4/+32
| | | | Reviewed-by: Andreas Aardal Hanssen
* Update license headers in files that are new in 4.6.Jason McDonald2009-06-1750-100/+100
| | | | Reviewed-by: Trust Me
* Make sure we draw the complete curve.Jan-Arve Sæther2009-06-081-1/+1
|
* Use a QPainterPath instead to draw the graph.Jan-Arve Sæther2009-06-081-5/+5
| | | | | | This enables the antialiazing to be done on the graph as a whole, and not on every tiny line segment. The result is that the curve is painter prettier.
* Remove trailing whitespace.Jan-Arve Sæther2009-06-081-7/+7
|
* Make the easing curve icons more beautiful.Ariya Hidayat2009-06-081-3/+17
| | | | | | | | Draw the curve with anti-aliasing. Do not use absolute black, but rather a dark black color for the lines. Draw the red and blue dots, indicating the start and end points. Reviewed-by: Jan-Arve
* Fixed compile error with Sun CC 5.5.jasplin2009-06-051-1/+1
| | | | Reviewed-by: TrustMe
* Fixed sub-attaq example buildThiago Marcos P. Santos2009-05-291-0/+2
|
* Fix build when compiling Qt using -no-opengl configuration.Brad Hards2009-05-281-3/+6
|
* small cleanup on the sub-attaq demoThierry Bastian2009-05-286-9/+6
| | | | removed declaration of properties that are already declared in Qt
* Fixes sub-attaq in shadow build.Olivier Goffart2009-05-272-1/+2
| | | | Reviewed-by: Alexis
* Compile without OpenGLOlivier Goffart2009-05-271-3/+3
| | | | Reviewed-by: Alexis
* Removed some export to symbols that don't need itThierry Bastian2009-05-252-35/+14
| | | | ...hopefully
* Make sure M_PI is definedKent Hansen2009-05-221-0/+4
| | | | It isn't on all platforms.
* Don't use the time() function; use QTime insteadKent Hansen2009-05-221-2/+1
| | | | time() is not available on all platforms.
* Fix compile issueThierry Bastian2009-05-221-0/+2
| | | | Reviewed-by: Kent Hansen
* Fix compile error caused by reference to non-existant example.Jason McDonald2009-05-211-1/+0
| | | | Reviewed-by: Trust Me
* Fix missing/outdated license headers.Jason McDonald2009-05-212-2/+24
| | | | Reviewed-by: Trust Me
* update the padnavigator example and suppress the padnavigator-ngThierry Bastian2009-05-2019-982/+0
|
* fix compiler warningsKent Hansen2009-05-202-3/+3
|
* fix two .pro file bugsKent Hansen2009-05-201-1/+0
|
* compile with -qtnamespace, clean up the example .pro filesKent Hansen2009-05-2023-59/+78
|
* add README file for examples/animationKent Hansen2009-05-201-0/+38
|
* Remove old examples and demos for animationsThierry Bastian2009-05-2032-3078/+0
|
* Removing QT_EXPERIMENTAL_SOLUTION from the animation apiLeonardo Sobral Cunha2009-05-1927-174/+14
|
* Remove the connectByAnimation() function and add some documentation for the ↵Eskil Abrahamsen Blomfeldt2009-05-142-28/+22
| | | | | | | Stickman example The connectByAnimation() function is no longer needed since we have default animations. The docs are unfinished.
* Start work on docs for Stickman exampleEskil Abrahamsen Blomfeldt2009-05-141-3/+5
|
* Fix top level compile in examples/animationEskil Abrahamsen Blomfeldt2009-05-141-3/+0
| | | | Three examples have been moved.
* Make QAbstractTransition::eventTest() non-constEskil Abrahamsen Blomfeldt2009-05-145-12/+12
| | | | | We decided to remove the const of the eventTest() since some transitions have dynamic conditions and need to update when eventTest() is called.
* Instead of adding animations for all properties to all transitions, we useEskil Abrahamsen Blomfeldt2009-05-061-7/+11
| | | | the default animation concept, since this is its intended use.
* add event as argument to onEntry(), onExit() and onTransition()Kent Hansen2009-05-057-34/+34
| | | | | | | | | Accessing the event can be useful. E.g., onEntry() can do some common event processing regardless of which transition caused the state to be entered; onTransition() can be used in combination with eventTest(), where eventTest() would first check that the input matches some criteria, and then the actual processing of that input would be done in onTransition.
* kill QStateMachine::animationsFinished(), introduce QState::polished()Kent Hansen2009-04-291-2/+2
|
* Merge branch 'kinetic-animations' into kinetic-statemachineKent Hansen2009-04-2921-117/+370
|\ | | | | | | | | Conflicts: examples/animation/sub-attaq/states.cpp
| * Build fix for mingwThierry Bastian2009-04-2718-54/+52
| |
| * Add an OSD to display game progress in the sceneAlexis Menard2009-04-2411-65/+320
| |