summaryrefslogtreecommitdiffstats
path: root/src/gui/statemachine
Commit message (Collapse)AuthorAgeFilesLines
* Change name of QMouseEventTransition::path() to hitTestPath().Eskil Abrahamsen Blomfeldt2009-11-034-14/+14
| | | | | | Make it clearer what the property actually does. Reviewed-by: Kent Hansen
* Change name of modifiersMask property to "modifierMask"Eskil Abrahamsen Blomfeldt2009-11-038-49/+49
| | | | | | "modifierMask" is more correct English. Reviewed-by: Kent Hansen
* compile without QT3SUPPORTJoerg Bornemann2009-10-061-0/+2
| | | | Reviewed-by: thartman
* statemachine: implement cloning of a whole bunch more GUI eventsKent Hansen2009-10-061-202/+142
| | | | | Now using QEventTransition with almost any type of event will actually work, instead of causing an assert.
* Make QSignalEvent and QWrappedEvent inner classes of QStateMachineKent Hansen2009-09-282-4/+4
| | | | | | | | | Those two classes are specific to the state machine framework, but their names were so generic that we felt they were polluting the Q-namespace. They are now QStateMachine::SignalEvent and QStateMachine::WrappedEvent. Reviewed-by: Eskil Abrahamsen Blomfeldt
* Update license headers again.Jason McDonald2009-09-099-36/+36
| | | | Reviewed-by: Trust Me
* Update tech preview license header for files that are new in 4.6.Jason McDonald2009-08-319-117/+117
| | | | Reviewed-by: Trust Me
* Update contact URL in license headers.Jason McDonald2009-08-129-9/+9
| | | | Reviewed-by: Trust Me
* remove constructors that are not usefulKent Hansen2009-08-034-35/+0
| | | | | | | 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.
* Compile with the following defines:msorvig2009-06-251-7/+9
| | | | | | QT_NO_DRAGANDROP QT_NO_ACTION QT_NO_GRAPHICSVIEW
* Update license headers in files that are new in 4.6.Jason McDonald2009-06-179-18/+18
| | | | Reviewed-by: Trust Me
* add QT_NO_STATEMACHINE define so state machine can be compiled outKent Hansen2009-06-049-0/+43
| | | | Reviewed-by: Thierry Bastian
* kill bad QT_END_HEADERKent Hansen2009-06-041-2/+0
| | | | There should be no QT_{BEGIN,END}_HEADER here; this is a private header.
* fix typosKent Hansen2009-06-032-2/+2
| | | | Copy&paste error; the classes are in Gui, not Core.
* Fix missing/outdated license headers.Jason McDonald2009-05-219-19/+289
| | | | Reviewed-by: Trust Me
* remove QT_EXPERIMENTAL stuffKent Hansen2009-05-208-48/+10
|
* Merge branch 'kinetic-animations' into kinetic-statemachineKent Hansen2009-05-142-0/+4
|\
| * Merge branch 'kinetic-animations' of git@scm.dev.nokia.troll.no:qt/kinetic ↵David Boddie2009-05-131-5/+0
| |\ | | | | | | | | | into kinetic-animations
| * \ Merge branch 'kinetic-animations' of git@scm.dev.nokia.troll.no:qt/kinetic ↵David Boddie2009-05-128-10/+10
| |\ \ | | | | | | | | | | | | into kinetic-animations
| * | | Merged local changes.David Boddie2009-04-292-0/+4
| | | |
* | | | Make QAbstractTransition::eventTest() non-constEskil Abrahamsen Blomfeldt2009-05-148-8/+8
| |_|/ |/| | | | | | | | | | | We decided to remove the const of the eventTest() since some transitions have dynamic conditions and need to update when eventTest() is called.
* | | kill the QT_STATEMACHINE_SOLUTION defineKent Hansen2009-05-131-5/+0
| |/ |/| | | | | We won't release another Qt Solution, so the define is no longer needed.
* | add event as argument to onEntry(), onExit() and onTransition()Kent Hansen2009-05-058-10/+10
|/ | | | | | | | | 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 dead function declarationKent Hansen2009-04-291-1/+0
|
* rename QBoundEvent to QWrappedEvent and make it publicKent Hansen2009-04-293-23/+14
| | | | Result of API review.
* modifiers --> modifiersMaskKent Hansen2009-04-298-24/+98
| | | | | | Result of API review. A == comparison of the modifiers is not useful. The common case is you want to test if one or more modifiers are set, i.e. a mask check.
* kill unnecessary qmake variable modsKent Hansen2009-04-291-3/+0
|
* docKent Hansen2009-04-202-0/+2
|
* docKent Hansen2009-04-171-1/+1
|
* Initial import of statemachine branch from the old kinetic repositoryAlexis Menard2009-04-1710-0/+1461