VR-Forces 5.0.3 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 }
 

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) const =0
 
virtual bool compactMode () const =0
 
virtual SelectionStatus selectionStatusFor (makVrv::DtUniqueID id) const =0
 

Member Enumeration Documentation

Enumerator
Unknown 
Valid 
Invalid 

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::DtVrfFilteredListView, makVrf::DtLocationEntryWidget, 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::DtVrfFilteredListView, and makVrf::DtLocationEntryWidget.

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, and makVrf::DtLocationEntryWidget.

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, and makVrf::DtLocationEntryWidget.

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

Returns a selection cursor based on the selection type.

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

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

Items that are in compact mode will get the map focus button shown regardless.

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

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

Return the selection status for the given id.

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

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 Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)