VR-Forces 4.0.4 Class Documentation
examples/exampleHumbleDialog/HumbleDialogPage.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 "exampleHumbleDialogPlugin.h"
00013 
00014 #include <vrvCoreQt/DtPage.h>
00015 
00016 namespace makVrv { class DtDe; }
00017 
00018 class HumbleDialogWidget;
00019 class HumbleDialogLogic;
00020 
00031 class HumbleDialogPage : public makVrv::DtPage
00032 {
00033     Q_OBJECT;
00034 
00035 public:
00036 
00040     HumbleDialogPage(
00041         makVrv::DtDe& de,
00042         QWidget* parent = 0,
00043         Qt::WindowFlags f = Qt::Widget);
00044 
00046     virtual ~HumbleDialogPage();
00047 
00050     virtual QIcon icon();
00051 
00054     virtual QString title();
00055 
00058     virtual const std::string& pageClassName() const;
00059 
00062     static const std::string& thePageClassName();
00063 
00064 protected:
00065 
00070     virtual void activate();
00071 
00076     virtual void deactivate();
00077 
00078 private:
00079 
00080     makVrv::DtDe& myDe;
00081     HumbleDialogWidget* myWidget;
00082     HumbleDialogLogic* myLogic;
00083 };
00084 
00089 typedef makVrv::DtPageCreatorTemplate<HumbleDialogPage> HumbleDialogPageCreator;
00090 

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)