VR-Forces Developer's Guide
 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.

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

Public Member Functions

virtual ~DtContextMenuManager ()
 
virtual void requestSelectionContextMenu (const QPoint &where)
 
virtual void requestTerrainContextMenu (const QPoint &where)
 
virtual void requestObserverViewsContextMenu (const QPoint &where)
 
- Public Member Functions inherited from makVrv::DtVirtualBaseClass
 DtVirtualBaseClass ()
 
virtual ~DtVirtualBaseClass ()
 

Static Public Member Functions

static DtContextMenuManagerinstance (DtDe &de)
 

Protected Member Functions

 DtContextMenuManager (DtDe &de)
 
virtual void positionPopupMenu (QMenu *menu, const QPoint &where)
 
virtual QRect getScreenGeometry (int screen) const
 
virtual QRect getScreenGeometry (QScreen *screen) const
 

Protected Attributes

DtDemyDe
 

Friends

class DtContextMenuManagerCreator
 

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.

virtual QRect makVrv::DtContextMenuManager::getScreenGeometry ( QScreen *  screen) const
protectedvirtual

Retrieves the geometry of the requested screen pointer.

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 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)