Developer Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
ContextMenuInterface.hh File Reference
#include <OpenFlipper/common/Types.hh>
#include <QtGui>
#include <QMenuBar>

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

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 72 of file ContextMenuInterface.hh.