OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
ot::ContextMenu Class Reference

#include "ContextMenu.h"

Inheritance diagram for ot::ContextMenu:

Signals

void contextActionTriggered (const std::string &_actionName)
 

Public Member Functions

 ContextMenu (QWidget *_parent=(QWidget *) nullptr)
 
 ContextMenu (const MenuCfg &_config, QWidget *_parent=(QWidget *) nullptr)
 
virtual ~ContextMenu ()
 
void setFromConfiguration (const MenuCfg &_config)
 
void setContextMenuName (const std::string &_name)
 
const std::string & getContextMenuName (void) const
 

Constructor & Destructor Documentation

◆ ContextMenu() [1/2]

ot::ContextMenu::ContextMenu ( QWidget * _parent = (QWidget*) nullptr)

◆ ContextMenu() [2/2]

ot::ContextMenu::ContextMenu ( const MenuCfg & _config,
QWidget * _parent = (QWidget*) nullptr )

◆ ~ContextMenu()

ot::ContextMenu::~ContextMenu ( )
virtual

Member Function Documentation

◆ contextActionTriggered

void ot::ContextMenu::contextActionTriggered ( const std::string & _actionName)
signal

◆ getContextMenuName()

const std::string & ot::ContextMenu::getContextMenuName ( void ) const
inline

◆ setContextMenuName()

void ot::ContextMenu::setContextMenuName ( const std::string & _name)
inline

◆ setFromConfiguration()

void ot::ContextMenu::setFromConfiguration ( const MenuCfg & _config)

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