VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
taskDisembarkAllDialog.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  DtTaskDisembarkAllDialog(makVrv::DtDe& de, QWidget* parent, const Qt::WindowFlags& flags = 0);
24 
25  //DTOR
26  virtual ~DtTaskDisembarkAllDialog();
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  virtual bool wantsSelectionOfObjectInCommandMode(const std::vector<makVrv::DtSimEntry*>&) const;
37  virtual void sendRequest();
38  virtual void onOK() { sendRequest(); };
39  };
40 
42  {
43  public:
44  virtual DtTaskSetDialogInterface* create(makVrv::DtDe&, QWidget* parent);
45 
46  virtual bool supportsType(makVrv::DtDe&, const DtSimTaskMessageType& t, const DtSimStatement*) const;
47  virtual bool canEdit() const
48  {
49  return false;
50  }
51  };
52 }
Definition: taskDisembarkAllDialog.h:18
Definition: taskSetDialogInterface.h:83
Class that is used as a template for task/set dialogs.
Definition: taskSetDialogInterface.h:45
virtual void onCancel()
Definition: taskDisembarkAllDialog.h:33
virtual void onOK()
Definition: taskDisembarkAllDialog.h:38
class DtSimStatement:
Definition: simStatement.h:41
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
virtual bool canEdit() const
Override to say whether or not this item can be edited by itself if it supports the type...
Definition: taskDisembarkAllDialog.h:47
#define DT_DLL_VRFGUITASKSETQT
Definition: vrfGuiTaskSetQt.h:22
Definition: taskDisembarkAllDialog.h:41

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)