VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Types | Public Member Functions
makVrf::DtMapFocusHandlerInterface Class Referenceabstract

Base class that must be implemented by items that wish to be part of a map focus handler chain.

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

Public Types

enum  SelectionStatus { Unknown = 0, Valid = 1, Invalid = 2 }
 
enum  CursorOver { ObjectList = 0, MapArea = 1 }
 

Public Member Functions

 DtMapFocusHandlerInterface ()
 
virtual ~DtMapFocusHandlerInterface ()
 
boost::signals2::signal< void(DtMapFocusHandlerInterface
*, bool)> 
signal_canTakeMapFocusChanged
 
boost::signals2::signal< void(DtMapFocusHandlerInterface *)> signal_selectionChangedByMapSelection
 
virtual void setHasMapFocus (bool)=0
 
virtual void setCanTakeMapFocus (bool)=0
 
virtual bool canTakeMapFocus () const =0
 
virtual bool hasMapFocus () const =0
 
virtual makVrv::DtQtCursor cursorForSelectionStatus (SelectionStatus, CursorOver) const =0
 
virtual SelectionStatus selectionStatusFor (makVrv::DtUniqueID id, CursorOver) const =0
 

Member Enumeration Documentation

Enumerator
Unknown 
Valid 
Invalid 
Enumerator
ObjectList 
MapArea 

Constructor & Destructor Documentation

makVrf::DtMapFocusHandlerInterface::DtMapFocusHandlerInterface ( )
inline

CTOR.

virtual makVrf::DtMapFocusHandlerInterface::~DtMapFocusHandlerInterface ( )
inlinevirtual

DTOR.

Member Function Documentation

virtual void makVrf::DtMapFocusHandlerInterface::setHasMapFocus ( bool  )
pure virtual

Methods implemented on behalf of being a map focus handler Sets whether or not the focus button has any effect. By default the focus button is not visible.

Implemented in makVrf::DtLocationReferenceEntryWidget, and makVrf::DtSphereEntryWidget.

virtual void makVrf::DtMapFocusHandlerInterface::setCanTakeMapFocus ( bool  )
pure virtual

Methods implemented on behalf of being a map focus handler Sets whether or not the focus button has any effect. By default the focus button is not visible.

Implemented in makVrf::DtLocationReferenceEntryWidget.

virtual bool makVrf::DtMapFocusHandlerInterface::canTakeMapFocus ( ) const
pure virtual

Methods implemented on behalf of being a map focus handler Sets whether or not the focus button has any effect. By default the focus button is not visible.

Implemented in makVrf::DtVrfFilteredListView, makVrf::DtLocationEntryWidget, and makVrf::DtLocationReferenceEntryWidget.

virtual bool makVrf::DtMapFocusHandlerInterface::hasMapFocus ( ) const
pure virtual

Methods implemented on behalf of being a map focus handler Sets whether or not the focus button has any effect. By default the focus button is not visible.

Implemented in makVrf::DtVrfFilteredListView, makVrf::DtLocationEntryWidget, and makVrf::DtLocationReferenceEntryWidget.

virtual makVrv::DtQtCursor makVrf::DtMapFocusHandlerInterface::cursorForSelectionStatus ( SelectionStatus  ,
CursorOver   
) const
pure virtual

Returns a selection cursor based on the selection type.

Implemented in makVrf::DtLocationEntryWidget, makVrf::DtVrfFilteredListView, makVrf::DtLocationReferenceEntryWidget, and makVrf::DtAerodromeListView.

virtual SelectionStatus makVrf::DtMapFocusHandlerInterface::selectionStatusFor ( makVrv::DtUniqueID  id,
CursorOver   
) const
pure virtual

Member Data Documentation

boost::signals2::signal<void (DtMapFocusHandlerInterface*, bool)> makVrf::DtMapFocusHandlerInterface::signal_canTakeMapFocusChanged

Methods implemented on behalf of being a map focus handler Sets whether or not the focus button has any effect. By default the focus button is not visible.

boost::signals2::signal<void (DtMapFocusHandlerInterface*)> makVrf::DtMapFocusHandlerInterface::signal_selectionChangedByMapSelection

Methods implemented on behalf of being a map focus handler Sets whether or not the focus button has any effect. By default the focus button is not visible.


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

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)