VR-Forces 4.0.4 Class Documentation
include/vrvOsgQt/DtLoaderSettingsPage.h
Go to the documentation of this file.
00001 /******************************************************************************
00002 ** Copyright (c) 2008 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 ******************************************************************************/
00005 /******************************************************************************
00006 ** $RCSfile: DtLoaderSettingsPage.h,v $ $Revision: 1.7 $ $State: Exp $
00007 ******************************************************************************/
00008 
00012 
00013 #pragma once
00014 #include <vrvOsgQt/vrvOsgQt.h>
00015 #include <vrvCoreQt/DtPage.h>
00016 #include <QtCore/QString>
00017 #include <QtGui/QIcon>
00018 
00019 class QWidget;
00020 class QLayout;
00021 
00022 namespace makVrv
00023 {
00024    class DtDe;
00025    class DtPersistenceToolbarWidget;
00026    class DtLoaderSettingsLogic;
00027    class DtLoaderSettingsWidget;
00028 
00031    class DT_DLL_VRVOSGQT DtLoaderSettingsPage : public DtPage
00032    {
00033       Q_OBJECT
00034    public:
00036       DtLoaderSettingsPage(DtDe& de, QWidget* parent, Qt::WindowFlags f = 0);
00037 
00039       virtual ~DtLoaderSettingsPage();
00040 
00042       virtual QIcon icon();
00043 
00045       virtual QString title();
00046 
00048       virtual const std::string& pageClassName() const;
00049 
00051       static const std::string& thePageClassName();
00052 
00053    protected:
00054 
00056       void setupGui();
00057 
00059       virtual void activate();
00060 
00062       virtual void deactivate();
00063 
00064    protected:
00065       DtLoaderSettingsLogic* myLogic;
00066       DtLoaderSettingsWidget* myWidget;
00067       DtPersistenceToolbarWidget* myToolbar;
00068       DtDe& myDe;
00069 
00070       QLayout* myMainLayout;
00071    };
00072 
00075    typedef DtPageCreatorTemplate<DtLoaderSettingsPage>
00076       DtLoaderSettingsPageCreator;
00077 }

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)