<?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[Building up context menus]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">As I was working on my web browser, I started realizing that it would be much more complete if I had better right-click context menus. on right-click, I would like a menu to appear with a bunch of QActions. Qt already seems to have built a context menu into my app for me, but I would like to add more actions to it. I also need it to only display valid actions (i.e. if I right-clicked the QWebView I would get back, forward, reload, etc. but if I click on the tab of a QTabWidget I would get close, new tab, pin tab, etc.)<br />
How can I add actions to the context menu?</p>
]]></description><link>https://forum.qt.io/topic/38171/building-up-context-menus</link><generator>RSS for Node</generator><lastBuildDate>Thu, 16 Apr 2026 22:00:27 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/38171.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 23 Feb 2014 00:12:05 GMT</pubDate><ttl>60</ttl></channel></rss>