Details
-
Suggestion
-
Resolution: Done
-
P3: Somewhat important
-
5.11.2
-
-
c826e677658e858eaff309e02571e7876702a4ed (qt/qtbase/dev)
Description
This bug was previously reported many years ago in QTBUG-3512 and closed as not critical, but given the many requests, I decided to open it again.
I have the exact same problem reported by sadesaapuu in QTBUG-3512
"I'm working on a toolbar which has three tools. Only one of them can be enabled at a time, but all of them can be disabled. This is not currently possible with the QActionGroup, and I have to create this simple functionality by hand."
Moreover this feature has been requested multiple times in different forums:
https://stackoverflow.com/questions/22312807/how-to-force-qactiongroup-to-allow-uncheck
https://www.qtcentre.org/threads/32035-QActionGroup-allowing-unchecking
https://www.qtcentre.org/threads/531-No-action-checked-in-an-exclusive-action-group