[Qt-interest] Menu accelerators without the Alt key

Malyushytsky, Alex alex at wai.com
Sat Jun 6 03:20:07 CEST 2009


I afraid really to achieve this you need to force Microsoft to change system behavior.
This is set by the option in Display properties / Effects.

You probably could change the style to ignore this settings, but it is not set by application normally.
This is user chosen setting which supposed to apply to each application running on the system.

Designer has a reason to do it - it has to simplify design of the application, which is much easier if you see everything at one glance.
Most of other applications do not.

Regards,
  Alex



-----Original Message-----
From: qt-interest-bounces at trolltech.com [mailto:qt-interest-bounces at trolltech.com] On Behalf Of andrew.m.goth at l-3com.com
Sent: Thursday, June 04, 2009 6:36 PM
To: qt-interest at trolltech.com
Subject: [Qt-interest] Menu accelerators without the Alt key

When I preview my main window in Qt 4.5.0 Designer, I am able to select menus simply by pressing their accelerator key, without pressing or holding Alt.  But when I run my application using this same main window, I must use Alt to access the menubar accelerators.  It is important that Alt not be required.  How can I make the menubar accelerators work in my application the same way they do in the Designer preview?

The main window doesn't contain any text entry widgets or widgets with accelerators, not counting the menubar.

--
Andy Goth
<amgoth at link.com>

_______________________________________________
Qt-interest mailing list
Qt-interest at trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-interest


---------------------------------------------------------------------------------------------------
Weidlinger Associates, Inc. made the following annotations.

"This message and any attachments are solely for the intended recipient and may contain confidential or privileged information. If you are not the intended recipient, any disclosure, copying, use, or distribution of the information included in this message and any attachments is prohibited. If you have received this communication in error, please notify us by reply e-mail and immediately and permanently delete this message and any attachments. Thank you."

"Please consider our environment before printing this email."




More information about the Qt-interest-old mailing list