forms: radio buttons, unique selection list, combo: add possibility to deselect/uncheck
Current situation with radio buttons, unique selection list and combo widgets
Forms offer radio buttons, unique selection list and combo widgets. The possibilities offered are mutually exclusive: you can only check one radio button, you can only select one element in the list and you can chose only one element in the drop down list.
This behaviour is useful in many cases where there is only one correct choice or answer.
Problem
Unfortunately, users sometimes make mistakes (mouse slip, keyboard mishap, etc) or change their mind...
Possible solutions
It would be very convenient to have a way to deselect the selected item (list or combo) or button.
We could have a push button called "Deselect" near radio buttons implementing this hack: http://stackoverflow.com/questions/1731620/is-there-a-way-to-have-all-radion-buttons-be-unchecked
For QListWidget this might be a solution: http://www.qtcentre.org/threads/17610-QListWidget-Deselect
For combo setCurrentIndex(int -1) will work. Other solution for QComboBox: How to set non-selectable default text on QComboBox?
Another possibility is to add a "null" / "empty" / "none" item to each widget but I think it will add work for the user and unnecessarily consume coding time and disk space.
Thanks.
(was issue n° 67 in FMF)