SOFA API  c76874b7
Open source framework for multi-physics simuation
sofa::gui::qt::SofaMouseManager Class Reference

#include <SofaMouseManager.h>

Inheritance diagram for sofa::gui::qt::SofaMouseManager:

Protected Attributes

PickHandlerpickHandler
 
std::map< int, std::string > mapIndexOperation
 
helper::fixed_array< std::string, NONEusedOperations
 

Public Member Functions

 SofaMouseManager (QWidget *parent)
 
 ~SofaMouseManager () override
 
void updateContent ()
 
void setPickHandler (PickHandler *)
 
std::map< int, std::string > & getMapIndexOperation ()
 
void updateOperation (sofa::component::configurationsetting::MouseButtonSetting *setting)
 
void updateOperation (MOUSE_BUTTON button, const std::string &id)
 

Protected Member Functions

void updateOperation (Operation *op)
 

Public Slots

void selectOperation (int)
 

Attribute details

std::map< int, std::string > sofa::gui::qt::SofaMouseManager::mapIndexOperation
protected
PickHandler* sofa::gui::qt::SofaMouseManager::pickHandler
protected
helper::fixed_array< std::string,NONE > sofa::gui::qt::SofaMouseManager::usedOperations
protected

Constructor details

sofa::gui::qt::SofaMouseManager::SofaMouseManager ( QWidget parent)
sofa::gui::qt::SofaMouseManager::~SofaMouseManager ( )
override

Function details

std::map< int, std::string >& sofa::gui::qt::SofaMouseManager::getMapIndexOperation ( )
inline
void sofa::gui::qt::SofaMouseManager::selectOperation ( int  operation)
slot
void sofa::gui::qt::SofaMouseManager::setPickHandler ( PickHandler picker)
void sofa::gui::qt::SofaMouseManager::updateContent ( )
void sofa::gui::qt::SofaMouseManager::updateOperation ( sofa::component::configurationsetting::MouseButtonSetting setting)
void sofa::gui::qt::SofaMouseManager::updateOperation ( MOUSE_BUTTON  button,
const std::string &  id 
)
void sofa::gui::qt::SofaMouseManager::updateOperation ( Operation op)
protected