[Qt-interest] Standard keys in menus
John McClurkin
jwm at nei.nih.gov
Mon Oct 19 14:13:47 CEST 2009
KC Jones wrote:
> Thanks for the pointers. It helps me better understand how
> actions and menus fit together.
>
>>> Am I really supposed to code slots for each standard key I put in the menu?
>> Yes. Usually thats easy though, as the delete-code is inside a slot in
>> the relevant widget. That means all you need to do is connect the action
>> to the right slot of the right widget.
>
> And keep changing that with disconnect()/connect() as focus
> moves? Seems like a lot of unnecessary work.
>
Why would you need to connect and disconnect as focus moves?
More information about the Qt-interest-old
mailing list