gepetto::gui::ShortcutFactory Class Reference

#include <gepetto/gui/shortcut-factory.hh>

Inheritance diagram for gepetto::gui::ShortcutFactory:
Collaboration diagram for gepetto::gui::ShortcutFactory:

Public Slots

void open ()
 Open the widget that allows to change the different shortcut. More...
 

Public Member Functions

 ShortcutFactory ()
 
 ~ShortcutFactory ()
 
void addBinding (QString widgetName, QString actionName, QAction *action)
 

Constructor & Destructor Documentation

◆ ShortcutFactory()

gepetto::gui::ShortcutFactory::ShortcutFactory ( )

◆ ~ShortcutFactory()

gepetto::gui::ShortcutFactory::~ShortcutFactory ( )

Member Function Documentation

◆ addBinding()

void gepetto::gui::ShortcutFactory::addBinding ( QString  widgetName,
QString  actionName,
QAction *  action 
)

Add a binding to a given widget. If widgetName doesn't exists, then it will be add. If actionName exists, do nothing

Parameters
widgetNamename of the corresponding widget
actionNamename of the action
actioninstance of the action

◆ open

void gepetto::gui::ShortcutFactory::open ( )
slot

Open the widget that allows to change the different shortcut.


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