summaryrefslogtreecommitdiffstats
path: root/src/gui/statemachine
Commit message (Collapse)AuthorAgeFilesLines
* Wheel delta is always zero in QEventTransition's eventDean Dettman2011-02-211-0/+1
| | | | | | | | When a QGraphicsSceneWheelEvent was cloned, the original event's delta property was not copied. Task-number: QTBUG-17536 Reviewed-by: Kent Hansen
* Update copyright year to 2011.Jason McDonald2011-01-109-9/+9
| | | | Reviewed-by: Trust Me
* Add a new qconfig feature GESTURESTasuku Suzuki2010-06-021-0/+2
| | | | | Merge-request: 535 Reviewed-by: Andreas Aardal Hanssen <andreas.aardal.hanssen@nokia.com>
* Merge branch '4.6'Thiago Macieira2010-01-139-9/+9
|\ | | | | | | | | | | | | | | | | | | | | Conflicts: bin/syncqt doc/src/deployment/deployment.qdoc src/corelib/io/qfsfileengine_win.cpp src/corelib/xml/qxmlstream.cpp src/opengl/gl2paintengineex/qpaintengineex_opengl2_p.h tools/assistant/tools/assistant/centralwidget.cpp tools/linguist/lupdate/main.cpp
| * Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/oslo-staging-1 into 4.6Jason McDonald2010-01-061-0/+2
| |\
| * | Update copyright year to 2010Jason McDonald2010-01-069-9/+9
| | | | | | | | | | | | Reviewed-by: Trust Me
* | | Cocoa: application will not quit when using dialogsRichard Moe Gustavsen2010-01-121-6/+0
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | When creating a single dialog in the main function, and tell it to exec, we run a modal dialog. But there is really no other window on screen to be modal for. So in that case, since this is a rather common pattern for Qt applications, we allow users to quit the application from the dock. But this action is sendt as an apple event. And and that point in time, cocoa has the the apple event handler, and refuses to close down the application because it detects a modal window. Our solution is to install/overwrite the apple event handler for kAEQuit _after_ cocoa has finished its own installation. But in order to do this, we need to wait until [NSApplication run] has started, otherwise it will not take effect. And that is what this patch essentially does.
* | Fix QT_NO_CONTEXTMENUKent Hansen2010-01-061-0/+2
|/ | | | Task-number: QTBUG-6474
* Fix QT_NO_WHEELEVENTJørgen Lind2009-11-061-0/+2
| | | | Reviewed-by: Trust Me
* Fix QT_NO_WHATSTHISJørgen Lind2009-11-061-0/+2
| | | | Reviewed-by: tom
* Fix QT_NO_SHORTCUTJørgen Lind2009-11-061-0/+2
| | | | Reviewed-by: Harald Fernengel <harald.fernengel@nokia.com>
* Fix QT_NO_TABLETEVENTJørgen Lind2009-11-061-0/+6
| | | | Reviewed-by: tom
* Fix QT_NO_STATUSTIPJørgen Lind2009-11-061-0/+2
| | | | Reviewed-by: paul
* Fix QT_NO_TOOLBARJørgen Lind2009-11-061-0/+2
| | | | Reviewed-by: tom
* 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