OpenStructure
Public Member Functions
ContextMenu Class Reference

#include <context_menu.hh>

Inherits QObject.

Public Member Functions

 ContextMenu (QTreeView *view, SceneWinModel *model)
 
 ~ContextMenu ()
 
void ShowMenu (const QPoint &pos)
 
void Rename (QModelIndex index)
 
void AddAction (QAction *action, ContextActionTypes type)
 

Detailed Description

Definition at line 58 of file context_menu.hh.

Constructor & Destructor Documentation

◆ ContextMenu()

ContextMenu ( QTreeView *  view,
SceneWinModel model 
)

◆ ~ContextMenu()

~ContextMenu ( )
inline

Definition at line 62 of file context_menu.hh.

Member Function Documentation

◆ AddAction()

void AddAction ( QAction *  action,
ContextActionTypes  type 
)

◆ Rename()

void Rename ( QModelIndex  index)

◆ ShowMenu()

void ShowMenu ( const QPoint &  pos)

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