I am using Qt (Embedded Linux) and I want to hide the shortcuts displayed right next to the menu items. I still want to use the shortcuts though.
ie;
Quit Ctrl+Q
I want to get rid of the “Ctrl+Q” part of it.
Quit
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
As far as I know that is not directly possible.
What you could do, though, is to not set any shortcuts for your menu items, and instead create the shortcuts separately using QShortcut. Then they won’t appear next to any menu items, since they won’t be associated with any.