VR-Forces 4.0.4 Class Documentation
include/vrvCoreQt/DtSelectedInstanceDialogPage.h
Go to the documentation of this file.
00001 /******************************************************************************
00002 ** Copyright (c) 2010 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 ******************************************************************************/
00005 /******************************************************************************
00006 ** $RCSfile: DtSelectedInstanceDialogPage.h,v $ $Revision: 1.11 $ $State: Exp $
00007 ******************************************************************************/
00008 
00015 
00016 #pragma once
00017 
00018 #include <vrvCoreQt/DtPage.h>
00019 
00020 namespace makVrv
00021 {
00022    class DtDe;
00023    class DtSelectInstanceWidget;
00024 
00028    class DT_DLL_VRVCOREQT DtSelectedInstanceDialogPage : public DtPage
00029    {
00030       Q_OBJECT;
00031    public:
00032 
00034       DtSelectedInstanceDialogPage(DtDe& de, QWidget* parent, 
00035          Qt::WindowFlags f = Qt::Widget);
00036 
00038       virtual ~DtSelectedInstanceDialogPage();      
00039 
00041       virtual void addInstance(const std::string&);
00042 
00044       virtual void removeInstance(const std::string&);
00045       virtual QString currentInstance();
00046 
00047 
00048    protected slots:
00049       virtual void onCurrentInstanceChanged(QString definition);
00050       virtual void onCurrentInstanceChanged(int);
00051 
00052       virtual void onRenameInstanceRequested();
00053       virtual void onNewInstanceRequested();
00054       virtual void onDeleteInstanceRequested();
00055 
00056    protected:
00057 
00058       void setupGui();
00059 
00061       virtual void activate();
00062 
00064       virtual void deactivate();
00065 
00066    protected:
00067 
00068       DtDe& myDe;
00069       DtSelectInstanceWidget* mySelectInstanceWidget;
00070    };
00071 }

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)