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

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)