I am a freshman here for helping.
The Qt3 uses Key_Space to set a checkbox checked, now I want to use the Key_Enter to chose the selected checkbox , what should I do? Thanks a lot.
I am a freshman here for helping.
The Qt3 uses Key_Space to set a checkbox checked, now I want to use the Key_Enter to chose the selected checkbox , what should I do? Thanks a lot.
Install a event filter on the check box. and set the state if Key_Enter is received for that.
Other way would be to subclass QCheckBox and override keyPressEvent.
Bookmarks