VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
whenConditionalDialog.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2016 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
8 
10 
11 #pragma once
12 
13 #if !defined(Q_MOC_RUN)
17 
18 #include <vlutil/vlString.h>
19 #endif
20 
21 class QCheckBox;
22 
23 namespace makVrf
24 {
26  {
27  public:
28  virtual DtConditionalDialogInterface* create(makVrv::DtDe&, QWidget* parent, bool partOfGlobalPlan);
29  virtual bool canEditType(int) const;
30  };
31 
33  {
34  Q_OBJECT
35  public:
36  //CTOR
37  DtWhenConditionalDialog(makVrv::DtDe& de, QWidget* parent, const Qt::WindowFlags& flags = 0, bool partOfGlobalPlan = false);
38 
39  //DTOR
40  virtual ~DtWhenConditionalDialog();
41 
42  virtual bool reregisterTrigger() const;
43  virtual DtString option() const;
44 
45  protected:
47  virtual DtConditionalExpressionView* createConditionalExpressionView(bool partOfGlobalPlan);
48  virtual bool editExpression(const DtSimStatement* simStmt, const DtSimCondExpr* expr, const std::vector<makVrv::DtSimEntry*>& data);
49  };
50 
51 
53  {
54  Q_OBJECT
55  public:
56  DtWhenConditionalExpressionView(makVrv::DtDe& de, QWidget* parent, const Qt::WindowFlags& flags = 0, bool partOfGlobalPlan = false);
57 
58  //DTOR
60 
61  virtual void setReregisterTrigger(bool);
62  virtual bool reregisterTrigger() const;
63 
64  virtual void setOption(const DtString&);
65  virtual DtString option() const;
66 
67  protected:
68  virtual void setupGui(const std::vector<makVrv::DtSimEntry*>& data);
69 
70  public:
73  };
74 }
Class that is used as a template for task/set dialogs.
Definition: conditionalDialogInterface.h:39
QCheckBox * myInterruptTask
Definition: whenConditionalDialog.h:72
Definition: conditionalDialogInterface.h:46
QCheckBox * myReregisterTrigger
Definition: whenConditionalDialog.h:71
Definition: whenConditionalDialog.h:32
Definition: whenConditionalDialog.h:52
DtSimCondExpr is an abstract base class representing various Conditional Expressions used by the Plan...
Definition: simCondExpr.h:49
Definition: conditionalDialog.h:28
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
Definition: whenConditionalDialog.h:25
DtConditionalExpressionView is the view that is used to create and modify conditional expressions...
Definition: conditionalExpressionView.h:47

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)