VR-Forces 4.0.4 Class Documentation
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]

List of all members.

Public Member Functions

virtual ~DtContextMenuManager ()
 DTOR.
virtual void requestSelectionContextMenu (const QPoint &where)
 Displays the selection context menu at the given screen location.
virtual void requestTerrainContextMenu (const QPoint &where)
 Displays the terrain context menu at the given screen location.

Static Public Member Functions

static DtContextMenuManagerinstance (DtDe &de)
 Get an instance used to emit, or to connect.

Protected Member Functions

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

Protected Attributes

DtDemyDe

Friends

class DtContextMenuManagerCreator

Detailed Description

A global signaler object for the DtContextMenuManager class.


Constructor & Destructor Documentation

DTOR.

CTOR.


Member Function Documentation

Get an instance used to emit, or to connect.

Reimplemented in makVrf::DtVrfContextMenuManager.

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::positionPopupMenu ( QMenu menu,
const QPoint &  where 
) [protected, virtual]

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 [protected, virtual]

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


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

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)