VR-Forces 4.0.4 Class Documentation
examples/exampleDialogPage/DtExamplePage.h
Go to the documentation of this file.
00001 /*****************************************************************************
00002  * Copyright (c) 2011 MAK Technologies, Inc.
00003  * All rights reserved.
00004  *****************************************************************************/
00005 
00009 
00010 #pragma once
00011 
00012 #include "exampleDialogPagePlugin.h"
00013 
00014 #include <vrvCoreQt/DtPage.h>
00015 
00016 namespace makVrv
00017 {
00018 
00019    class DtDe;
00020    class DtExampleWidget;
00021    class DtExampleLogic;
00022    class DtPersistenceToolbarWidget;
00023 
00026    class DT_DLL_EXAMPLEDIALOGPAGE DtExamplePage : public DtPage
00027    {  Q_OBJECT;
00028    public:
00029 
00031       DtExamplePage( DtDe& de, QWidget* parent = 0,
00032          Qt::WindowFlags f = Qt::Widget );
00033 
00035       virtual ~DtExamplePage();
00036 
00038       virtual QIcon icon();
00039 
00041       virtual QString title();
00042 
00044       virtual const std::string& pageClassName() const;
00045 
00047       static const std::string& thePageClassName();
00048 
00049    protected:
00050 
00052       void setupGui();
00053 
00055       virtual void activate();
00056 
00058       virtual void deactivate();
00059 
00060    protected:
00061 
00062       DtDe& myDe;
00063       DtExampleWidget* myWidget;
00064       DtPersistenceToolbarWidget* myToolbar;
00065       DtExampleLogic* myLogic;
00066 
00067    };
00068 
00071    typedef DtPageCreatorTemplate<DtExamplePage> DtExamplePageCreator;
00072 }

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)