51 #ifndef CONTEXTMENUINTERFACE_HH 52 #define CONTEXTMENUINTERFACE_HH 55 #if QT_VERSION >= 0x050000 257 #endif // CONTEXTMENUINTERFACE_HH Interface class for creating custom context menus.
The Menu will be shown when a node was picked.
virtual void slotUpdateContextMenuNode(int _nodeId)
The Menu will be shown when an object was picked.
virtual void slotUpdateContextMenu(int _objectId)
virtual void slotUpdateContextMenuBackground()
virtual ~ContextMenuInterface()
Destructor.
virtual void hideContextMenu()
hide the main context menu
virtual void addContextMenuItem(QAction *_action, ContextMenuType _type)
Add an entry for a context Menu.
The Menu will be shown when the background was picked.
virtual void addContextMenuItem(QAction *_action, DataType _objectType, ContextMenuType _type)
Add an entry for a context Menu.