API Documentation
Loading...
Searching...
No Matches
ContextMenuCallback Class Referenceabstract

Allows for customization of what is shown when the user right-clicks or accesses the ContextMenu for an object, selection, or scene. More...

#include <ContextMenuManager.h>

Inheritance diagram for ContextMenuCallback:
[legend]
Collaboration diagram for ContextMenuCallback:
[legend]

Public Member Functions

virtual void addContextMenuItems (QTModelManager *manager, QMenu &menu, const Buffer< UUID > &ids, const SelectionInfo &cursor_location)=0
 
virtual void contextMenu (QTModelManager *manager, QAction *action, const Buffer< UUID > &ids, const SelectionInfo &cursor_location, PopupInfo origin)=0
 

Detailed Description

Allows for customization of what is shown when the user right-clicks or accesses the ContextMenu for an object, selection, or scene.


Member Function Documentation

◆ addContextMenuItems()

virtual void addContextMenuItems ( QTModelManager * manager,
QMenu & menu,
const Buffer< UUID > & ids,
const SelectionInfo & cursor_location )
pure virtual

◆ contextMenu()

virtual void contextMenu ( QTModelManager * manager,
QAction * action,
const Buffer< UUID > & ids,
const SelectionInfo & cursor_location,
PopupInfo origin )
pure virtual

The documentation for this class was generated from the following file: