[Paraview-developers] Plugin: Add a submenu to a menu?
Panos Asproulis
panos.asproulis at gmail.com
Fri Aug 22 08:45:22 EDT 2014
Hi all,
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:
ADD_PARAVIEW_ACTION_GROUP(IFACES IFACE_SRCS
CLASS_NAME SourceToolbarActions
GROUP_NAME "MenuBar/MyActions")
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?
Thanks in advance,
Panos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview-developers/attachments/20140822/a57bc45a/attachment.html>
More information about the Paraview-developers
mailing list