VR-Forces 5.0.1 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
makVrv::DtDisplayNameProvider Class Reference

DtDisplayNameProvider is an interface for a class to provide display names for integer keyed items such as model sets and observer settings. Providers for each type can use the creator pattern to allow Qt-specific versions to be instantiated, initializing the providers with Qt-translatable string. Plugins can add new strings (translation is their responsibility).

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

Public Types

typedef std::map< int, DtUnicodeIntKeyToDisplayNameMap
 

Public Member Functions

 DtDisplayNameProvider ()
 
virtual ~DtDisplayNameProvider ()
 
virtual const DtUnicodefindDisplayName (int intKey) const
 
virtual void setDisplayName (int intKey, const DtUnicode &displayName)
 
virtual const
IntKeyToDisplayNameMap
displayNames () const
 
virtual const DtUnicodefindToolTip (int intKey) const
 
virtual void setToolTip (int intKey, const DtUnicode &displayName)
 
virtual const
IntKeyToDisplayNameMap
toolTips () const
 

Protected Attributes

IntKeyToDisplayNameMap myIntKeyToDisplayNameMap
 
IntKeyToDisplayNameMap myIntKeyToToolTipMap
 

Member Typedef Documentation

Constructor & Destructor Documentation

makVrv::DtDisplayNameProvider::DtDisplayNameProvider ( )

CTOR.

virtual makVrv::DtDisplayNameProvider::~DtDisplayNameProvider ( )
virtual

Virtual DTOR.

Member Function Documentation

virtual const DtUnicode* makVrv::DtDisplayNameProvider::findDisplayName ( int  intKey) const
virtual

Get the display name that's mapped to the specified int key.

virtual void makVrv::DtDisplayNameProvider::setDisplayName ( int  intKey,
const DtUnicode displayName 
)
virtual

Change the dislay name associated with a key (if it exists) or add a new display name to key mapping.

virtual const IntKeyToDisplayNameMap& makVrv::DtDisplayNameProvider::displayNames ( ) const
virtual

Get the list of display names.

virtual const DtUnicode* makVrv::DtDisplayNameProvider::findToolTip ( int  intKey) const
virtual

Get the tool tip that's mapped to the specified int key. If tool tip does not exist, returns display name.

virtual void makVrv::DtDisplayNameProvider::setToolTip ( int  intKey,
const DtUnicode displayName 
)
virtual

Change the tool tip associated with a key (if it exists) or add a new tool tip to key mapping.

virtual const IntKeyToDisplayNameMap& makVrv::DtDisplayNameProvider::toolTips ( ) const
virtual

Get the list of tool tips.

Member Data Documentation

IntKeyToDisplayNameMap makVrv::DtDisplayNameProvider::myIntKeyToDisplayNameMap
protected
IntKeyToDisplayNameMap makVrv::DtDisplayNameProvider::myIntKeyToToolTipMap
protected

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

Document ID: Generated on Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)