VR-Forces 4.0.4 Class Documentation
examples/exampleExtendDialogByDerivation/ReplacementDialogPage.h
Go to the documentation of this file.
00001 /*****************************************************************************
00002  * Copyright (c) 2012 MAK Technologies, Inc.
00003  * All rights reserved.
00004  *****************************************************************************/
00005 
00009 
00010 #pragma once
00011 
00012 #include <vrvCoreQt/vrvCoreQt.h>
00013 #include <vrvCoreQt/DtPage.h>
00014 
00015 #include <QtCore/QString>
00016 #include <QtGui/QIcon>
00017 
00018 namespace makVrv
00019 {
00020    class DtDe;
00021    class DtPersistenceToolbarWidget;
00022 }
00023 
00024 class DerivedDialogWidget;
00025 class DerivedDialogLogic;
00026 
00027 
00039 class ReplacementDialogPage : public makVrv::DtPage
00040 {
00041    Q_OBJECT;
00042 
00043 public:
00044 
00048    ReplacementDialogPage(
00049       makVrv::DtDe& de,
00050       QWidget* parent = 0,
00051       Qt::WindowFlags f = Qt::Widget);
00052 
00056    virtual ~ReplacementDialogPage();
00057 
00060    virtual QIcon icon();
00061 
00064    virtual QString title();
00065 
00068    virtual const std::string& pageClassName() const;
00069 
00072    static const std::string& thePageClassName();
00073 
00074 protected:
00075 
00079    virtual void activate();
00080 
00085    virtual void deactivate();
00086 
00087 protected:
00088 
00089    makVrv::DtDe& myDe;
00090    makVrv::DtPersistenceToolbarWidget* myToolbar;
00091    DerivedDialogWidget* myWidget;
00092    DerivedDialogLogic* myLogic;
00093 };
00094 
00099 typedef makVrv::DtPageCreatorTemplate<ReplacementDialogPage> ReplacementDialogPageCreator;
00100 

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)