<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi all,<br>
<br>
In the section "Adding a Menu" of the ParaView Wiki regarding the
development of plugins there is a note about adding a menu to the
ParaView menu bar using the following:<br>
<br>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<pre style="padding: 1em; border: 1px dashed rgb(47, 111, 171); color: rgb(0, 0, 0); line-height: 1.1em; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(249, 249, 249);"><font color="violet">ADD_PARAVIEW_ACTION_GROUP</font>(IFACES IFACE_SRCS
<font color="purple">CLASS_NAME</font> SourceToolbarActions
<font color="purple">GROUP_NAME</font> "MenuBar/MyActions")
</pre>
<br>
However, the added element SourceToolbarActions is a QActionGroup
and therefore it can only have actions which are displayed as
elements of a menu. What if one wants to add a submenu to this new
menu which appears as "MyActions" in the ParaView menu bar?<br>
<br>
Thanks in advance,<br>
Panos<br>
</body>
</html>