![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /****************************************************************************** 00002 ** Copyright (c) 2009 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 ******************************************************************************/ 00005 /****************************************************************************** 00006 ** $RCSfile: DtTacticalGraphicsSettingsLogic.h,v $ $Revision: 1.3 $ $State: Exp $ 00007 ******************************************************************************/ 00008 00012 00013 #ifndef DtTacticalGraphicsSettingsLogic_H_ 00014 #define DtTacticalGraphicsSettingsLogic_H_ 00015 00016 #include <vrvVrlQt/vrvVrlQt.h> 00017 #include <vrvUtil/DtSignalConnectionManager.h> 00018 #include <vector> 00019 00020 namespace makVrv 00021 { 00022 class DtTacticalGraphicsSettingsInterface; 00023 class DtPersistenceControlsInterface; 00024 class DtDe; 00025 class DtSettingsBackup; 00026 00029 class DT_DLL_VRVVRLQT DtTacticalGraphicsSettingsLogic : DtSignalConnectionManager 00030 { 00031 public: 00033 DtTacticalGraphicsSettingsLogic(DtDe& de, 00034 DtPersistenceControlsInterface& persistenceControls, 00035 DtTacticalGraphicsSettingsInterface& widget); 00036 00038 ~DtTacticalGraphicsSettingsLogic(); 00039 00040 protected: 00042 void sendSettingsToGui(); 00043 00045 //@ { 00046 00048 void slot_tacticalGraphicsSet(bool enabled); 00049 00051 void slot_tacticalGraphicsIndicatorsSet(bool enabled); 00052 00054 void slot_heightAboveTerrainEnabled(bool enabled); 00055 00057 void slot_heightAboveTerrainSelectedOnlySet(bool enabled); 00058 00060 void slot_tacticalGraphicSettingsRestored(const DtSettingsBackup* s); 00061 00063 void slot_remoteGraphicsSet(bool enabled); 00064 00066 void on_import(); 00067 void on_export(); 00068 void on_importFilePathChosen(const std::string& filePath); 00069 void on_exportFilePathChosen(const std::string& filePath); 00070 //@ } 00071 00072 DtTacticalGraphicsSettingsInterface& myWidget; 00073 DtPersistenceControlsInterface& myPersistenceControls; 00074 DtDe& myDe; 00075 }; 00076 } 00077 00078 #endif