VR-Forces 4.0.4 Class Documentation
include/vrvCoreQt/DtInterfaceLayoutEditorLogic.h
Go to the documentation of this file.
00001 /******************************************************************************* 
00002 ** Copyright (c) 2009 MAK Technologies, Inc. 
00003 ** All rights reserved. 
00004 *******************************************************************************/ 
00005 /******************************************************************************* 
00006 ** $RCSfile: DtInterfaceLayoutEditorLogic.h,v $ $Revision: 1.12 $ $State: Exp $ 
00007 *******************************************************************************/ 
00008 
00012 
00013 #pragma once
00014 
00015 #include <vrvCoreQt/vrvCoreQt.h> 
00016 #include <vrvUtil/DtSignalConnectionManager.h>
00017 #include <vrvCore/DtVrvApplicationConfiguration.h>
00018 
00019 #include <QtCore/QString>
00020 
00021 namespace makVrv 
00022 { 
00023    class DtDe;
00024    class DtInterfaceLayoutEditorWidgetInterface;
00025    class DtPersistenceControlsInterface;
00026 
00029    class DT_DLL_VRVCOREQT DtInterfaceLayoutEditorLogic : public DtSignalConnectionManager
00030    {
00031 
00032    public:
00033 
00034       DtInterfaceLayoutEditorLogic(DtDe& de, DtPersistenceControlsInterface& persistenceControls, DtInterfaceLayoutEditorWidgetInterface& iFace);
00035 
00037       virtual ~DtInterfaceLayoutEditorLogic();
00038 
00040       virtual void setupGui();
00041 
00043       virtual void on_import();
00044       virtual void on_export();
00045       virtual void on_importFilePathChosen(const std::string& filePath);
00046       virtual void on_exportFilePathChosen(const std::string& filePath);
00047       virtual void on_restoreFactorySettings();
00048       virtual void on_restoreLastSettings();
00049 
00050    protected:
00051       virtual void processSavedConfig( 
00052          const DtVrvApplicationConfiguration::UIConfiguration& savedConfig );
00053 
00054    protected:
00055 
00056       DtDe& myDe;
00057       DtInterfaceLayoutEditorWidgetInterface&   myInterface;
00058       DtPersistenceControlsInterface& myToolbar;
00059 
00060    };
00061 }

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)