VR-Forces 4.1 Class Documentation
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes
makVrv::DtEntityDisplaySettingsLogic Class Reference

The logic for the entity display settings dialog. More...

Public Member Functions

 DtEntityDisplaySettingsLogic (DtDe &de, DtPersistenceControlsInterface &persistenceControls, DtEntityDisplaySettingsInterface &widget)
 CTOR.
 ~DtEntityDisplaySettingsLogic ()
 DTOR.

Protected Member Functions

void sendSettingsToGui ()
 Set up the GUI with the current window settings.
Boost slots
void slot_entityLabelsShown (bool enabled)
 Called when info popup mode is changed to "on select" or to normal mode (mouse over or context menu only)
void slot_infoPopupsOnSelectSet (bool enabled)
 Called when info popup mode is changed to "on select" or to normal mode (mouse over or context menu only)
void slot_groundClampingEnabled (bool enabled)
 Called when ground clamping is enabled/disabled by the gui.
void slot_smoothingEnabled (bool enabled)
 Called when position smoothing is enabled/disabled by gui.
void slot_smoothingPeriodSet (float time)
 Called when position smoothing period time is set by gui.
void slot_lifeformsUprightEnabled (bool enabled)
 Called when lifeform upright clamping is set in the gui.
void slot_iconScaleChanged (float iconScale)
 Called when icon scale setting change is signalled by the de.
void slot_groundClampingDistanceSet (float distance)
 Called when the ground clamping distance/distance multiplier is set in the gui.
void slot_orientationClampingEnabled (bool enabled)
 Called when orientation clamping is set in the gui.
void slot_clearHistory ()
 Called when track histories are cleared by the gui.
void slot_showStealthsSet (bool enabled)
 Called when stealth filtering is turned on /off.
void slot_showEmitterVolumesSet (bool enabled)
 Called when emitter volumes are set visible / invisible.
void slot_heightAboveTerrainEnabled (bool enabled)
 Called when height above terrain lines turned on /off.
void slot_heightAboveTerrainSelectedOnlySet (bool enabled)
 Call when height above terrain lines set for selected only (or all)
void slot_useModelColorType (DtSharedEntityDisplaySettings::ColorizedModelColorType colorType)
 Called when info popup mode is changed to "on select" or to normal mode (mouse over or context menu only)
void slot_iconScaleSet (int scale)
 Called when the icon scale is set.
void slot_entitySettingsRestored (const DtSettingsBackup *s)
 Called when settings are restored.
Persistence slots
void on_import ()
void on_export ()
void on_importFilePathChosen (const std::string &filePath)
void on_exportFilePathChosen (const std::string &filePath)

Protected Attributes

DtDemyDe
DtSignalConnectionManager myConnections
DtEntityDisplaySettingsInterfacemyInterface
DtPersistenceControlsInterfacemyPersistenceControls

Detailed Description

The logic for the entity display settings dialog.

Constructor & Destructor Documentation

makVrv::DtEntityDisplaySettingsLogic::DtEntityDisplaySettingsLogic ( DtDe de,
DtPersistenceControlsInterface persistenceControls,
DtEntityDisplaySettingsInterface widget 
)

CTOR.

makVrv::DtEntityDisplaySettingsLogic::~DtEntityDisplaySettingsLogic ( )

DTOR.

Member Function Documentation

void makVrv::DtEntityDisplaySettingsLogic::sendSettingsToGui ( )
protected

Set up the GUI with the current window settings.

void makVrv::DtEntityDisplaySettingsLogic::slot_entityLabelsShown ( bool  enabled)
protected

Called when info popup mode is changed to "on select" or to normal mode (mouse over or context menu only)

void makVrv::DtEntityDisplaySettingsLogic::slot_infoPopupsOnSelectSet ( bool  enabled)
protected

Called when info popup mode is changed to "on select" or to normal mode (mouse over or context menu only)

void makVrv::DtEntityDisplaySettingsLogic::slot_groundClampingEnabled ( bool  enabled)
protected

Called when ground clamping is enabled/disabled by the gui.

void makVrv::DtEntityDisplaySettingsLogic::slot_smoothingEnabled ( bool  enabled)
protected

Called when position smoothing is enabled/disabled by gui.

void makVrv::DtEntityDisplaySettingsLogic::slot_smoothingPeriodSet ( float  time)
protected

Called when position smoothing period time is set by gui.

void makVrv::DtEntityDisplaySettingsLogic::slot_lifeformsUprightEnabled ( bool  enabled)
protected

Called when lifeform upright clamping is set in the gui.

void makVrv::DtEntityDisplaySettingsLogic::slot_iconScaleChanged ( float  iconScale)
protected

Called when icon scale setting change is signalled by the de.

void makVrv::DtEntityDisplaySettingsLogic::slot_groundClampingDistanceSet ( float  distance)
protected

Called when the ground clamping distance/distance multiplier is set in the gui.

void makVrv::DtEntityDisplaySettingsLogic::slot_orientationClampingEnabled ( bool  enabled)
protected

Called when orientation clamping is set in the gui.

void makVrv::DtEntityDisplaySettingsLogic::slot_clearHistory ( )
protected

Called when track histories are cleared by the gui.

void makVrv::DtEntityDisplaySettingsLogic::slot_showStealthsSet ( bool  enabled)
protected

Called when stealth filtering is turned on /off.

void makVrv::DtEntityDisplaySettingsLogic::slot_showEmitterVolumesSet ( bool  enabled)
protected

Called when emitter volumes are set visible / invisible.

void makVrv::DtEntityDisplaySettingsLogic::slot_heightAboveTerrainEnabled ( bool  enabled)
protected

Called when height above terrain lines turned on /off.

void makVrv::DtEntityDisplaySettingsLogic::slot_heightAboveTerrainSelectedOnlySet ( bool  enabled)
protected

Call when height above terrain lines set for selected only (or all)

void makVrv::DtEntityDisplaySettingsLogic::slot_useModelColorType ( DtSharedEntityDisplaySettings::ColorizedModelColorType  colorType)
protected

Called when info popup mode is changed to "on select" or to normal mode (mouse over or context menu only)

void makVrv::DtEntityDisplaySettingsLogic::slot_iconScaleSet ( int  scale)
protected

Called when the icon scale is set.

void makVrv::DtEntityDisplaySettingsLogic::slot_entitySettingsRestored ( const DtSettingsBackup s)
protected

Called when settings are restored.

Will restore gui if settings are entity settings

void makVrv::DtEntityDisplaySettingsLogic::on_import ( )
protected
void makVrv::DtEntityDisplaySettingsLogic::on_export ( )
protected
void makVrv::DtEntityDisplaySettingsLogic::on_importFilePathChosen ( const std::string &  filePath)
protected
void makVrv::DtEntityDisplaySettingsLogic::on_exportFilePathChosen ( const std::string &  filePath)
protected

Member Data Documentation

DtDe& makVrv::DtEntityDisplaySettingsLogic::myDe
protected
DtSignalConnectionManager makVrv::DtEntityDisplaySettingsLogic::myConnections
protected
DtEntityDisplaySettingsInterface& makVrv::DtEntityDisplaySettingsLogic::myInterface
protected
DtPersistenceControlsInterface& makVrv::DtEntityDisplaySettingsLogic::myPersistenceControls
protected

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

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)