VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Static Public Member Functions | Public Attributes | Protected Attributes
makVrf::DtVrfContextMenuManagerSignaler Class Reference

This class is used by the right click context menu to send signals for various states of context menu design. More...

Inheritance diagram for makVrf::DtVrfContextMenuManagerSignaler:
Inheritance graph
[legend]

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::DtDemyDe
 

Detailed Description

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

Constructor & Destructor Documentation

makVrf::DtVrfContextMenuManagerSignaler::DtVrfContextMenuManagerSignaler ( makVrv::DtDe de)

CTOR.

virtual makVrf::DtVrfContextMenuManagerSignaler::~DtVrfContextMenuManagerSignaler ( )
virtual

DTOR.

Member Function Documentation

static DtVrfContextMenuManagerSignaler& makVrf::DtVrfContextMenuManagerSignaler::instance ( makVrv::DtDe de)
static

Member Data Documentation

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

makVrv::DtDe& makVrf::DtVrfContextMenuManagerSignaler::myDe
protected

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

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)