VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
setDestroyedDialog.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2008 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
8 
10 
11 #pragma once
12 
15 
16 namespace makVrf
17 {
19  {
20  Q_OBJECT
21  public:
22  //CTOR
23  DtSetDestroyedDialog(makVrv::DtDe& de, QWidget* parent, const Qt::WindowFlags& flags = 0);
24 
25  //DTOR
26  virtual ~DtSetDestroyedDialog();
27 
29  virtual void run(const std::vector<makVrv::DtSimEntry*>&);
30  virtual bool editStatement(const std::vector<makVrv::DtSimEntry*>& data, const DtSimStatement* s);
31 
32  protected:
33  virtual void onCancel()
34  {
35  }
36 
37  virtual void sendRequest();
38  virtual bool wantsSelectionOfObjectInCommandMode(const std::vector<makVrv::DtSimEntry*>&) const;
39 
40  virtual void onOK() { sendRequest(); };
41  };
42 
44  {
45  public:
46  virtual DtTaskSetDialogInterface* create(makVrv::DtDe&, QWidget* parent);
47 
48  virtual bool supportsType(makVrv::DtDe&, const DtSetMessageType& t, const DtSimStatement*) const;
49  virtual bool canEdit() const
50  {
51  return false;
52  }
53  };
54 }
Definition: taskSetDialogInterface.h:64
Definition: taskSetDialogInterface.h:83
Definition: setDestroyedDialog.h:18
Definition: setDestroyedDialog.h:43
virtual bool canEdit() const
Override to say whether or not this item can be edited by itself if it supports the type...
Definition: setDestroyedDialog.h:49
virtual void onCancel()
Definition: setDestroyedDialog.h:33
class DtSimStatement:
Definition: simStatement.h:35
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
#define DT_DLL_VRFGUITASKSETQT
Definition: vrfGuiTaskSetQt.h:22
virtual void onOK()
Definition: setDestroyedDialog.h:40

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)