![]() |
VR-Forces 4.0.4 Class Documentation
|
The logic for populating the DtGridLinesPage. More...

Public Member Functions | |
| virtual | ~DtGridLinesLogic () |
| Virtual DTOR. | |
| virtual void | sendSettingsToGui () |
| Provide the GUI with initial values from the settings record. | |
| virtual void | slot_onAutoSpacingChanged (bool) |
| Slots for signals from GUI. | |
| virtual void | slot_onFixedSpacingAmountChanged (double) |
| virtual void | slot_onMinSpacingChanged (int) |
| virtual void | slot_onGridTypeChanged (makArchives::DtDisplayUnitsSettingsRecord::CoordSys) |
| virtual void | slot_onUnitTypeChanged (makArchives::DtDisplayUnitsSettingsRecord::DistanceUnits) |
| virtual void | slot_onAngularUnitTypeChanged (makArchives::DtDisplayUnitsSettingsRecord::OrientationUnits) |
| virtual void | slot_onXOffsetChanged (double) |
| virtual void | slot_onYOffsetChanged (double) |
| virtual void | slot_onDecimalsChanged (unsigned) |
| virtual void | on_import () |
| Persistence slots: | |
| virtual void | on_export () |
| virtual void | on_importFilePathChosen (const std::string &filePath) |
| virtual void | on_exportFilePathChosen (const std::string &filePath) |
| virtual void | settingsRestored (const DtSettingsBackup *b) |
| virtual void | slot_coordinateSystemChanged (const std::string &, const std::string &) |
| Coordinate system related slots. | |
Protected Member Functions | |
| DtGridLinesLogic (DtDe &de, DtPersistenceControlsInterface &persistenceControls, DtGridLinesInterface &iface) | |
| Protected Constructor. | |
| virtual void | sendGridTypesToGui () |
| virtual void | sendUnitTypesToGui () |
| bool | gridTypeUsesAngularUnits (makArchives::DtDisplayUnitsSettingsRecord::CoordSys gridType) const |
| virtual void | processCurrentCoordinateSystem () |
| Enable / disable grid types as appropriate based on the current loaded database's coordinate system; if the current grid type is not supported, select a new one. | |
| virtual void | processCurrentGridType () |
| Enable / disable unit types as appropriate based on the current selected grid type; if current unit type is not supported, select a new one. | |
| virtual double | fixedSpacingAmount () |
| return the appropriate fixed spacing amount based on unit type | |
| virtual double | xOffset () |
| return the appropriate x offset based on unit type | |
| virtual double | yOffset () |
| return the appropriate y offset based on unit type | |
| virtual unsigned | decimals () |
| return the appropriate precision based on unit type | |
| virtual void | setMinAndMaxFixedSpacing (const DtCoordinateDisplay *display) |
Protected Attributes | |
| DtDe & | myDe |
| DtGridLinesInterface & | myWidget |
| DtPersistenceControlsInterface & | myPersistenceControls |
| DtSignalConnectionManager | mySignals |
Friends | |
| class | DtGridLinesLogicCreator |
The logic for populating the DtGridLinesPage.
| virtual makVrv::DtGridLinesLogic::~DtGridLinesLogic | ( | ) | [virtual] |
Virtual DTOR.
| makVrv::DtGridLinesLogic::DtGridLinesLogic | ( | DtDe & | de, |
| DtPersistenceControlsInterface & | persistenceControls, | ||
| DtGridLinesInterface & | iface | ||
| ) | [protected] |
Protected Constructor.
Use DtGridLinesLogicCreator to create instances of this class
| virtual void makVrv::DtGridLinesLogic::sendSettingsToGui | ( | ) | [virtual] |
Provide the GUI with initial values from the settings record.
| virtual void makVrv::DtGridLinesLogic::slot_onAutoSpacingChanged | ( | bool | ) | [virtual] |
Slots for signals from GUI.
| virtual void makVrv::DtGridLinesLogic::slot_onFixedSpacingAmountChanged | ( | double | ) | [virtual] |
| virtual void makVrv::DtGridLinesLogic::slot_onMinSpacingChanged | ( | int | ) | [virtual] |
| virtual void makVrv::DtGridLinesLogic::slot_onGridTypeChanged | ( | makArchives::DtDisplayUnitsSettingsRecord::CoordSys | ) | [virtual] |
| virtual void makVrv::DtGridLinesLogic::slot_onUnitTypeChanged | ( | makArchives::DtDisplayUnitsSettingsRecord::DistanceUnits | ) | [virtual] |
| virtual void makVrv::DtGridLinesLogic::slot_onAngularUnitTypeChanged | ( | makArchives::DtDisplayUnitsSettingsRecord::OrientationUnits | ) | [virtual] |
| virtual void makVrv::DtGridLinesLogic::slot_onXOffsetChanged | ( | double | ) | [virtual] |
| virtual void makVrv::DtGridLinesLogic::slot_onYOffsetChanged | ( | double | ) | [virtual] |
| virtual void makVrv::DtGridLinesLogic::slot_onDecimalsChanged | ( | unsigned | ) | [virtual] |
| virtual void makVrv::DtGridLinesLogic::on_import | ( | ) | [virtual] |
Persistence slots:
| virtual void makVrv::DtGridLinesLogic::on_export | ( | ) | [virtual] |
| virtual void makVrv::DtGridLinesLogic::on_importFilePathChosen | ( | const std::string & | filePath | ) | [virtual] |
| virtual void makVrv::DtGridLinesLogic::on_exportFilePathChosen | ( | const std::string & | filePath | ) | [virtual] |
| virtual void makVrv::DtGridLinesLogic::settingsRestored | ( | const DtSettingsBackup * | b | ) | [virtual] |
| virtual void makVrv::DtGridLinesLogic::slot_coordinateSystemChanged | ( | const std::string & | , |
| const std::string & | |||
| ) | [virtual] |
Coordinate system related slots.
| virtual void makVrv::DtGridLinesLogic::sendGridTypesToGui | ( | ) | [protected, virtual] |
| virtual void makVrv::DtGridLinesLogic::sendUnitTypesToGui | ( | ) | [protected, virtual] |
| bool makVrv::DtGridLinesLogic::gridTypeUsesAngularUnits | ( | makArchives::DtDisplayUnitsSettingsRecord::CoordSys | gridType | ) | const [protected] |
| virtual void makVrv::DtGridLinesLogic::processCurrentCoordinateSystem | ( | ) | [protected, virtual] |
Enable / disable grid types as appropriate based on the current loaded database's coordinate system; if the current grid type is not supported, select a new one.
| virtual void makVrv::DtGridLinesLogic::processCurrentGridType | ( | ) | [protected, virtual] |
Enable / disable unit types as appropriate based on the current selected grid type; if current unit type is not supported, select a new one.
| virtual double makVrv::DtGridLinesLogic::fixedSpacingAmount | ( | ) | [protected, virtual] |
return the appropriate fixed spacing amount based on unit type
| virtual double makVrv::DtGridLinesLogic::xOffset | ( | ) | [protected, virtual] |
return the appropriate x offset based on unit type
| virtual double makVrv::DtGridLinesLogic::yOffset | ( | ) | [protected, virtual] |
return the appropriate y offset based on unit type
| virtual unsigned makVrv::DtGridLinesLogic::decimals | ( | ) | [protected, virtual] |
return the appropriate precision based on unit type
| virtual void makVrv::DtGridLinesLogic::setMinAndMaxFixedSpacing | ( | const DtCoordinateDisplay * | display | ) | [protected, virtual] |
friend class DtGridLinesLogicCreator [friend] |
DtDe& makVrv::DtGridLinesLogic::myDe [protected] |
DtGridLinesInterface& makVrv::DtGridLinesLogic::myWidget [protected] |