summaryrefslogtreecommitdiffstats
path: root/tests/auto/qsoftkeymanager
Commit message (Collapse)AuthorAgeFilesLines
* Fixed softkey autotest build after 5370e5ff.Janne Anttila2009-10-231-7/+18
| | | | Reviewed-by: axis
* Fix autotest case for QSoftkeyManagerSami Merilä2009-10-191-10/+46
| | | | | | | | | | | | QSoftkeyManager's test case checkSoftkeyEnableStates was broken with recent fix to QSoftkeyManager where softkey action is no longer initialized to the initial state of action widget. Instead, softkey action checks the state of action widget when handling the action. Autotest case is now fixed to handle the change. Task-number: N/A Reviewed-by: Miikka Heikkinen
* Triggering softkey action for disbled widget causes a crash.Sami Merilä2009-09-281-0/+18
| | | | | | | | | | Softkey actions need to copy enable state from action widget to prevent crash when action is triggered and action widget is disabled. OPEN: dynamically setting enable state for softkey actions. Task-number: QT-2117 Reviewed-by: Jason Barron
* Make sure the correct soft key is triggered.Jason Barron2009-09-281-0/+36
| | | | | | | | | In cases where there are both softkey actions as well as "normal" actions, we need to be sure to skip over the none softkey actions since they should not be a part of the softkey framework and the 'index' will be out of sync. Reviewed-by: Sami Merila
* Add a new compressable event QEvent::UpdateSoftKeys.Jason Barron2009-09-212-0/+142
Now that the softkey framework triggers updates on focus changed, window activated, and action added/removed/changed the softkey bar was updating many times resulting in flicker. Solve that by introducing a new event type that is posted to the softkey framework. Since we only need to update the softkeys once per event loop iteration, the event is compressible in the event loop. Reviewed-by: Alessandro Portale