<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Setting &quot;hot keys&quot; (or whatever they are called) for items in menus]]></title><description><![CDATA[<p dir="auto">How do you set the shortcuts for opening menus and submenus? I know there is setShortcut in QAction, but I am referring to the underlining of a specific character, so when that character is pressed while the parent menu is open, the submenu will open. (e.g.) "Print" is a submenu in the file menu, and the "P" character needs to be underlined so that when it is pressed, the print dispatch will trigger. I know that putting '&amp;' before the specified character usually notifies the program which character should be the "hot key". Just wondering if there is any specific way to do that with Qt.</p>
]]></description><link>https://forum.qt.io/topic/53999/setting-hot-keys-or-whatever-they-are-called-for-items-in-menus</link><generator>RSS for Node</generator><lastBuildDate>Fri, 05 Jun 2026 22:07:29 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/53999.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 06 May 2015 20:40:13 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Setting &quot;hot keys&quot; (or whatever they are called) for items in menus on Thu, 07 May 2015 14:53:55 GMT]]></title><description><![CDATA[<p dir="auto">It's not Qt specific and that's how Windows worked from the time it was invented. The accelerators are keyboard navigation aid and they are not shown unless you use keyboard.</p>
]]></description><link>https://forum.qt.io/post/273165</link><guid isPermaLink="true">https://forum.qt.io/post/273165</guid><dc:creator><![CDATA[Chris Kawa]]></dc:creator><pubDate>Thu, 07 May 2015 14:53:55 GMT</pubDate></item><item><title><![CDATA[Reply to Setting &quot;hot keys&quot; (or whatever they are called) for items in menus on Thu, 07 May 2015 14:40:36 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/chris-kawa">@<bdi>Chris-Kawa</bdi></a> Is there a way to make them always visible? Seems unreasonable to ask the user of the app to have to press the alt key to see them beforehand.</p>
]]></description><link>https://forum.qt.io/post/273163</link><guid isPermaLink="true">https://forum.qt.io/post/273163</guid><dc:creator><![CDATA[joeydonovan4]]></dc:creator><pubDate>Thu, 07 May 2015 14:40:36 GMT</pubDate></item><item><title><![CDATA[Reply to Setting &quot;hot keys&quot; (or whatever they are called) for items in menus on Thu, 07 May 2015 14:21:41 GMT]]></title><description><![CDATA[<p dir="auto">It should show up (only) when you navigate to menus via keyboard i.e. hold "alt".</p>
]]></description><link>https://forum.qt.io/post/273160</link><guid isPermaLink="true">https://forum.qt.io/post/273160</guid><dc:creator><![CDATA[Chris Kawa]]></dc:creator><pubDate>Thu, 07 May 2015 14:21:41 GMT</pubDate></item><item><title><![CDATA[Reply to Setting &quot;hot keys&quot; (or whatever they are called) for items in menus on Thu, 07 May 2015 14:05:29 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/chris-kawa">@<bdi>Chris-Kawa</bdi></a> The accelerators are working, but the line that usually shows up below the accelerator key is not there.</p>
]]></description><link>https://forum.qt.io/post/273157</link><guid isPermaLink="true">https://forum.qt.io/post/273157</guid><dc:creator><![CDATA[joeydonovan4]]></dc:creator><pubDate>Thu, 07 May 2015 14:05:29 GMT</pubDate></item><item><title><![CDATA[Reply to Setting &quot;hot keys&quot; (or whatever they are called) for items in menus on Wed, 06 May 2015 20:49:19 GMT]]></title><description><![CDATA[<p dir="auto">It's like you said: put "&amp;" in front of the character you want to act as an accelerator.</p>
]]></description><link>https://forum.qt.io/post/273001</link><guid isPermaLink="true">https://forum.qt.io/post/273001</guid><dc:creator><![CDATA[Chris Kawa]]></dc:creator><pubDate>Wed, 06 May 2015 20:49:19 GMT</pubDate></item></channel></rss>