VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Member Functions | Friends
makVrv::DtDisplayUnitsSettingsLogic Class Reference

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

Public Member Functions

virtual ~DtDisplayUnitsSettingsLogic ()
 DTOR. More...
 

Protected Member Functions

 DtDisplayUnitsSettingsLogic (DtDe &de, DtPersistenceControlsInterface &persistenceControls, DtDisplayUnitsSettingsInterface &widget)
 Protected CTOR ( use creator ) More...
 
virtual void sendSettingsToGui ()
 Update the GUI with the current display unit settings. More...
 
void populateGuiWithUnits ()
 Populates the GUI with Display Units and Unit of Measurements. More...
 
virtual void populateGuiWithDisplayUnitsByCollection (const DtUnicode &displayUnitCollectionName) const
 Populates the GUI with Display Units from the display unit collection with the specified name. More...
 
virtual void populateGuiWithUnitOfMeasurementsByDisplayUnitType (makArchives::DtDisplayUnitsSettingsRecord::DisplayUnitType displayUnitType) const
 Populates the GUI with Unit of Measurements that measure the specified display unit type. More...
 
Boost Slots
virtual void slot_currentObjectTypeChanged ()
 Called when the current object type selection has changed via the GUI. More...
 
virtual void slot_displayUnitUnitChanged (const std::string &displayUnitCollectionName, const std::string &displayUnitName, unsigned int unit)
 Called when the unit of measurement used for a display unit has changed via the GUI. More...
 
virtual void slot_displayUnitDecimalsChanged (const std::string &displayUnitCollectionName, const std::string &displayUnitName, unsigned int decimals)
 Called when the number of decimals for a display unit has changed via the GUI. More...
 
virtual void slot_suppressMagneticNorthNotationEnabledChanged (bool enabled)
 Called when the suppress magnetic north notation state changed. More...
 

Friends

class DtDisplayUnitsSettingsLogicCreator
 

Persistence Slots

DtSignalConnectionManager mySignals
 
DtDisplayUnitsSettingsInterfacemyWidget
 
DtPersistenceControlsInterfacemyPersistenceControls
 
DtDemyDe
 
virtual void on_import ()
 Called when import is requested. More...
 
virtual void on_export ()
 Called when export is requested. More...
 
virtual void on_importFilePathChosen (const std::string &filePath)
 Called when the user chooses a file to import. More...
 
virtual void on_exportFilePathChosen (const std::string &filePath)
 Called when the user chooses a file to import to. More...
 
virtual void on_settingsRestored (const DtSettingsBackup *b)
 Called when the user requests to restore settings. More...
 

Detailed Description

The logic for the entity display settings dialog.

Constructor & Destructor Documentation

virtual makVrv::DtDisplayUnitsSettingsLogic::~DtDisplayUnitsSettingsLogic ( )
virtual

DTOR.

makVrv::DtDisplayUnitsSettingsLogic::DtDisplayUnitsSettingsLogic ( DtDe de,
DtPersistenceControlsInterface persistenceControls,
DtDisplayUnitsSettingsInterface widget 
)
protected

Protected CTOR ( use creator )

Member Function Documentation

virtual void makVrv::DtDisplayUnitsSettingsLogic::sendSettingsToGui ( )
protectedvirtual

Update the GUI with the current display unit settings.

The function gets which object type is selected from the widget.

void makVrv::DtDisplayUnitsSettingsLogic::populateGuiWithUnits ( )
protected

Populates the GUI with Display Units and Unit of Measurements.

virtual void makVrv::DtDisplayUnitsSettingsLogic::populateGuiWithDisplayUnitsByCollection ( const DtUnicode displayUnitCollectionName) const
protectedvirtual

Populates the GUI with Display Units from the display unit collection with the specified name.

virtual void makVrv::DtDisplayUnitsSettingsLogic::populateGuiWithUnitOfMeasurementsByDisplayUnitType ( makArchives::DtDisplayUnitsSettingsRecord::DisplayUnitType  displayUnitType) const
protectedvirtual

Populates the GUI with Unit of Measurements that measure the specified display unit type.

virtual void makVrv::DtDisplayUnitsSettingsLogic::slot_currentObjectTypeChanged ( )
protectedvirtual

Called when the current object type selection has changed via the GUI.

virtual void makVrv::DtDisplayUnitsSettingsLogic::slot_displayUnitUnitChanged ( const std::string &  displayUnitCollectionName,
const std::string &  displayUnitName,
unsigned int  unit 
)
protectedvirtual

Called when the unit of measurement used for a display unit has changed via the GUI.

virtual void makVrv::DtDisplayUnitsSettingsLogic::slot_displayUnitDecimalsChanged ( const std::string &  displayUnitCollectionName,
const std::string &  displayUnitName,
unsigned int  decimals 
)
protectedvirtual

Called when the number of decimals for a display unit has changed via the GUI.

virtual void makVrv::DtDisplayUnitsSettingsLogic::slot_suppressMagneticNorthNotationEnabledChanged ( bool  enabled)
protectedvirtual

Called when the suppress magnetic north notation state changed.

virtual void makVrv::DtDisplayUnitsSettingsLogic::on_import ( )
protectedvirtual

Called when import is requested.

virtual void makVrv::DtDisplayUnitsSettingsLogic::on_export ( )
protectedvirtual

Called when export is requested.

virtual void makVrv::DtDisplayUnitsSettingsLogic::on_importFilePathChosen ( const std::string &  filePath)
protectedvirtual

Called when the user chooses a file to import.

virtual void makVrv::DtDisplayUnitsSettingsLogic::on_exportFilePathChosen ( const std::string &  filePath)
protectedvirtual

Called when the user chooses a file to import to.

virtual void makVrv::DtDisplayUnitsSettingsLogic::on_settingsRestored ( const DtSettingsBackup b)
protectedvirtual

Called when the user requests to restore settings.

Friends And Related Function Documentation

Member Data Documentation

DtSignalConnectionManager makVrv::DtDisplayUnitsSettingsLogic::mySignals
protected
DtDisplayUnitsSettingsInterface& makVrv::DtDisplayUnitsSettingsLogic::myWidget
protected
DtPersistenceControlsInterface& makVrv::DtDisplayUnitsSettingsLogic::myPersistenceControls
protected
DtDe& makVrv::DtDisplayUnitsSettingsLogic::myDe
protected

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

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)