summaryrefslogtreecommitdiffstats
path: root/tests/auto/qsoftkeymanager/tst_qsoftkeymanager.cpp
Commit message (Collapse)AuthorAgeFilesLines
* 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-211-0/+138
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