VR-Forces 4.10 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 | Protected Member Functions | Protected Attributes | Friends
makVrv::DtContextMenuManager Class Reference

A global signaler object for the DtContextMenuManager class. More...

Inheritance diagram for makVrv::DtContextMenuManager:
Inheritance graph
[legend]

Public Member Functions

virtual ~DtContextMenuManager ()
 DTOR. More...
 
virtual void requestSelectionContextMenu (const QPoint &where)
 Displays the selection context menu at the given screen location. More...
 
virtual void requestTerrainContextMenu (const QPoint &where)
 Displays the terrain context menu at the given screen location. More...
 
virtual void requestObserverViewsContextMenu (const QPoint &where)
 Displays the Observer view list context menu at the given screen location. 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 DtContextMenuManagerinstance (DtDe &de)
 Get an instance used to emit, or to connect. More...
 

Protected Member Functions

 DtContextMenuManager (DtDe &de)
 CTOR. More...
 
virtual void positionPopupMenu (QMenu *menu, const QPoint &where)
 Position the menu based on the requested display location. More...
 
virtual QRect getScreenGeometry (int screen) const
 Retrieves the geometry of the requested screen. More...
 

Protected Attributes

DtDemyDe
 

Friends

class DtContextMenuManagerCreator
 

Detailed Description

A global signaler object for the DtContextMenuManager class.

Constructor & Destructor Documentation

virtual makVrv::DtContextMenuManager::~DtContextMenuManager ( )
virtual

DTOR.

makVrv::DtContextMenuManager::DtContextMenuManager ( DtDe de)
protected

CTOR.

Member Function Documentation

static DtContextMenuManager& makVrv::DtContextMenuManager::instance ( DtDe de)
static

Get an instance used to emit, or to connect.

virtual void makVrv::DtContextMenuManager::requestSelectionContextMenu ( const QPoint &  where)
virtual

Displays the selection context menu at the given screen location.

If the menu would extend off the screen when placed at the 'where' location, the menu is moved so that it remains on screen.

Reimplemented in makVrf::DtVrfContextMenuManager.

virtual void makVrv::DtContextMenuManager::requestTerrainContextMenu ( const QPoint &  where)
virtual

Displays the terrain context menu at the given screen location.

If the menu would extend off the screen when placed at the 'where' location, the menu is moved so that it remains on screen.

Reimplemented in makVrf::DtVrfContextMenuManager.

virtual void makVrv::DtContextMenuManager::requestObserverViewsContextMenu ( const QPoint &  where)
virtual

Displays the Observer view list context menu at the given screen location.

If the menu would extend off the screen when placed at the 'where' location, the menu is moved so that it remains on screen.

Reimplemented in makVrf::DtVrfContextMenuManager.

virtual void makVrv::DtContextMenuManager::positionPopupMenu ( QMenu menu,
const QPoint &  where 
)
protectedvirtual

Position the menu based on the requested display location.

If the menu would extend off screen when placed at 'where' location, the menu is repositioned so that it remains on screen.

virtual QRect makVrv::DtContextMenuManager::getScreenGeometry ( int  screen) const
protectedvirtual

Retrieves the geometry of the requested screen.

Reimplemented since it is private in QMenu.

Friends And Related Function Documentation

friend class DtContextMenuManagerCreator
friend

Member Data Documentation

DtDe& makVrv::DtContextMenuManager::myDe
protected

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

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)