![]() |
VR-Forces 4.10 Class Documentation
|
This class is used by the right click context menu to send signals for various states of context menu design. More...

Public Member Functions | |
| DtVrfContextMenuManagerSignaler (makVrv::DtDe &de) | |
| CTOR. More... | |
| virtual | ~DtVrfContextMenuManagerSignaler () |
| DTOR. More... | |
Public Member Functions inherited from makVrv::DtVirtualBaseClass | |
| DtVirtualBaseClass () | |
| Do nothing constructor. More... | |
| virtual | ~DtVirtualBaseClass () |
| Virtual do nothing destructor. More... | |
Static Public Member Functions | |
| static DtVrfContextMenuManagerSignaler & | instance (makVrv::DtDe &de) |
Public Attributes | |
| boost::signals2::signal< void(makVrv::DtQtMenuAssembler &menuAssembler, makVrv::DtMenuConfiguration &menus, const makVrv::DtSelectionManager::IdSet &idSet, int selectionType, makVrv::DtDe &, std::string)> | signal_contextMenuAboutToBeCreated |
| Sent before the menu is created. More... | |
| boost::signals2::signal< void(QMenu *menu, const makVrv::DtSelectionManager::IdSet &idSet, int selectionType, makVrv::DtDe &, std::string)> | signal_contextMenuAboutToBeShown |
| Sent after the menu is created but before it is to be shown. You can effect the Qt QMenu for display at this point. More... | |
| boost::signals2::signal< void(makVrv::DtQtMenuAssembler &menuAssembler, makVrv::DtMenuConfiguration &menus, const makVrv::DtSelectionManager::IdSet &idSet)> | signal_unhandledRightClick |
| boost::signals2::signal< void(makVrv::DtUniqueID, int &)> | signal_objectToBeDeleted |
| Connect to this signal to implement your own delete. More... | |
Protected Attributes | |
| makVrv::DtDe & | myDe |
This class is used by the right click context menu to send signals for various states of context menu design.
Connect to signals from this class in order to manipulate the contents of the right click menu
| makVrf::DtVrfContextMenuManagerSignaler::DtVrfContextMenuManagerSignaler | ( | makVrv::DtDe & | de | ) |
CTOR.
|
virtual |
DTOR.
|
static |
| boost::signals2::signal<void (makVrv::DtQtMenuAssembler& menuAssembler, makVrv::DtMenuConfiguration& menus, const makVrv::DtSelectionManager::IdSet& idSet, int selectionType, makVrv::DtDe&, std::string)> makVrf::DtVrfContextMenuManagerSignaler::signal_contextMenuAboutToBeCreated |
Sent before the menu is created.
Modify the menu configuration (menus) in order to change what is displayed in the right click menu. The last parameter is a string which defines the menu to be created. See default_guiConfiguration.gui for a list of possible right click menus
| boost::signals2::signal<void (QMenu* menu, const makVrv::DtSelectionManager::IdSet& idSet, int selectionType, makVrv::DtDe&, std::string)> makVrf::DtVrfContextMenuManagerSignaler::signal_contextMenuAboutToBeShown |
Sent after the menu is created but before it is to be shown. You can effect the Qt QMenu for display at this point.
| boost::signals2::signal<void (makVrv::DtQtMenuAssembler& menuAssembler, makVrv::DtMenuConfiguration& menus, const makVrv::DtSelectionManager::IdSet& idSet)> makVrf::DtVrfContextMenuManagerSignaler::signal_unhandledRightClick |
| boost::signals2::signal<void (makVrv::DtUniqueID, int&)> makVrf::DtVrfContextMenuManagerSignaler::signal_objectToBeDeleted |
Connect to this signal to implement your own delete.
Set the bool flag to true if you handle the delete. The int is a state to set for this object: 0 = Not handled, continue with default delete 1 = Handled 2 = Do not delete
|
protected |