Developer Documentation
ContextMenuInterface.hh File Reference
#include <OpenFlipper/common/Types.hh>
#include <QAction>

Go to the source code of this file.

Classes

class  ContextMenuInterface
 Interface class for creating custom context menus. More...
 

Enumerations

enum  ContextMenuType { CONTEXTOBJECTMENU, CONTEXTNODEMENU, CONTEXTBACKGROUNDMENU }
 

Detailed Description

Interface for adding context menus to OpenFlippers UI from a plugin.Context Menu Interface

Definition in file ContextMenuInterface.hh.

Enumeration Type Documentation

◆ ContextMenuType

Enum to specify the type of context menus

Enumerator
CONTEXTOBJECTMENU 

The Menu will be shown when an object was picked.

CONTEXTNODEMENU 

The Menu will be shown when a node was picked.

CONTEXTBACKGROUNDMENU 

The Menu will be shown when the background was picked.

Definition at line 56 of file ContextMenuInterface.hh.