VR-Forces 4.0.4 Class Documentation
include/vrvOsgEarthQt/DtOsgEarthStartupManager.h
Go to the documentation of this file.
00001 /*********************************************************************
00002 ** Copyright (c) 2010 MaK Technologies, Inc.
00003 ** All rights reserved.
00004 *********************************************************************/
00005 /*********************************************************************
00006 ** $RCSfile: DtOsgEarthStartupManager.h,v $ $Revision: 1.1 $ $State: Exp $
00007 *********************************************************************/
00008 
00009 #pragma once
00010 
00011 #include <vrvOsgEarthQt/vrvOsgEarthQt.h>
00012 #include <vrvUtil/DtVirtualBaseClass.h>
00013 
00014 class QDialog;
00015 
00016 namespace makVrv
00017 {
00018    class DtDe;
00019    class DtOsgEarthStartupDialog;
00020 
00024    class DT_DLL_VRVOSGEARTHQT DtOsgEarthStartupManager : public DtVirtualBaseClass
00025    {
00026    public:
00028       static DtOsgEarthStartupManager& instance(DtDe& de);
00029 
00031       virtual ~DtOsgEarthStartupManager();
00032 
00034       virtual void showDialog();
00035 
00037       virtual void init();
00038 
00040       virtual void setShowStartupDialog(bool show);
00041 
00043       virtual bool showStartupDialog() const;
00044 
00046       virtual void loadDefaultStartupSettings(bool loadOnlyFactorySettings = false);
00047 
00049       virtual void saveSettingsAsDefaults();
00050 
00052       virtual void setDoNotShowStartupDialog(bool b);
00053 
00054 
00055    private:
00056       DtOsgEarthStartupManager(DtDe& de);
00057 
00058    protected:
00059       DtDe& myDe;
00060       DtOsgEarthStartupDialog* myStartupDialog;
00061       bool myInitialized;
00062       bool myShowStartupDialog;
00063 
00064    };
00065 }

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)