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 | Protected Attributes
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 ()
 

Protected Attributes

QString myDescription
 
bool myOneClickMode = false
 
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
 
virtual void setDescription (const QString &s)
 
virtual QString operation () const
 
virtual QString generatedDescription () const
 
virtual void setOneClickMode (bool b)
 
bool oneClickMode () const
 

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
virtual void makVrf::DtMapFocusHandlerInterface::setDescription ( const QString &  s)
inlinevirtual

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.

virtual QString makVrf::DtMapFocusHandlerInterface::operation ( ) const
inlinevirtual

If supported, the string operation the handler is performing.

virtual QString makVrf::DtMapFocusHandlerInterface::generatedDescription ( ) const
inlinevirtual

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.

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

virtual void makVrf::DtMapFocusHandlerInterface::setOneClickMode ( bool  b)
inlinevirtual

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.

bool makVrf::DtMapFocusHandlerInterface::oneClickMode ( ) const
inline

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.

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.

QString makVrf::DtMapFocusHandlerInterface::myDescription
protected
bool makVrf::DtMapFocusHandlerInterface::myOneClickMode = false
protected

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

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)