VR-Forces 4.0.4 Class Documentation
include/vrfGuiCoreQt/DtSetRestoreDialog.h
Go to the documentation of this file.
00001 /******************************************************************************
00002 ** Copyright (c) 2008 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 ******************************************************************************/
00005 /******************************************************************************
00006 ** $RCSfile: DtSetRestoreDialog.h,v $ $Revision: 1.2 $ $State: Exp $
00007 ******************************************************************************/
00008 
00011 
00013 
00014 #pragma once
00015 
00016 #include <vrfGuiCoreQt/vrfGuiCoreQt.h>
00017 #include <vrfGuiCoreQt/DtTaskSetDialogInterface.h>
00018 
00019 namespace makVrf
00020 {
00021    class DT_DLL_VRFGUICOREQT DtSetRestoreDialog : public DtTaskSetDialogInterface
00022    {
00023       Q_OBJECT
00024    public:
00025       //CTOR
00026       DtSetRestoreDialog(makVrv::DtDe& de, QWidget* parent, const Qt::WindowFlags& flags = 0);
00027 
00028       //DTOR
00029       virtual ~DtSetRestoreDialog();
00030 
00032       virtual void run(const std::vector<makVrv::DtSimEntry*>&);
00033       virtual bool editStatement(const std::vector<makVrv::DtSimEntry*>& data, const DtSimStatement* s);
00034 
00035    protected:
00036       virtual void onCancel()
00037       {
00038       }
00039 
00040       virtual bool wantsSelectionOfObjectInCommandMode() const;
00041       virtual void sendRequest();
00042    };
00043 
00044    class DT_DLL_VRFGUICOREQT DtSetRestoreDialogCreator : public DtVrfTaskSetDialogCreator
00045    {
00046    public:
00047       virtual DtTaskSetDialogInterface* create(makVrv::DtDe&, QWidget* parent);
00048 
00049       virtual bool supportsType(int t, const DtSimStatement*) const;
00050       virtual bool canEdit() const
00051       {
00052          return false;
00053       }
00054    };
00055 }
00056 

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)