![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /****************************************************************************** 00002 ** Copyright (c) 2008 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 ******************************************************************************/ 00005 /****************************************************************************** 00006 ** $RCSfile: DtLoaderSettingsLogic.h,v $ $Revision: 1.19 $ $State: Exp $ 00007 ******************************************************************************/ 00008 00012 00013 #ifndef DtLoaderSettingsLogic_H_ 00014 #define DtLoaderSettingsLogic_H_ 00015 00016 #include <vrvUtil/DtSignalConnectionManager.h> 00017 #include <vrvOsgQt/vrvOsgQt.h> 00018 #include <vrvUtil/DtChannelConfiguration.h> 00019 #include <vector> 00020 00021 namespace makVrv 00022 { 00023 class DtLoaderSettingsInterface; 00024 class DtPersistenceControlsInterface; 00025 class DtModel; 00026 class DtDe; 00027 class DtSettingsBackup; 00028 00031 class DT_DLL_VRVOSGQT DtLoaderSettingsLogic : protected DtSignalConnectionManager 00032 { 00033 public: 00034 00036 DtLoaderSettingsLogic(DtDe& de, 00037 DtPersistenceControlsInterface& persistenceControls, 00038 DtLoaderSettingsInterface& widget); 00039 00041 ~DtLoaderSettingsLogic(); 00042 00043 protected: 00044 00046 void sendSettingsToGui(); 00047 00049 //@ { 00050 00052 void slot_ddsFlipSet(bool flip); 00053 00055 void on_import(); 00056 void on_export(); 00057 void on_importFilePathChosen(const std::string& filePath); 00058 void on_exportFilePathChosen(const std::string& filePath); 00059 //@ } 00060 00062 virtual void settingsRestored(const DtSettingsBackup*); 00063 00064 protected: 00065 00066 DtLoaderSettingsInterface& myWidget; 00067 DtPersistenceControlsInterface& myPersistenceControls; 00068 DtDe& myDe; 00069 }; 00070 } 00071 00072 #endif 00073