VR-Forces 5.0.3 Developer's Guide
 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, bool validOnlyForSyncMatrix) override;
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  bool validForOnlySyncMatrix = false);
58 
59  //DTOR
61 
62  virtual void setReregisterTrigger(bool);
63  virtual bool reregisterTrigger() const;
64 
65  virtual void setOption(const DtString&);
66  virtual DtString option() const;
67 
68  protected:
69  virtual void setupGui(const std::vector<makVrv::DtSimEntry*>& data);
70 
71  public:
74  };
75 }
Class that is used as a template for task/set dialogs.
Definition: conditionalDialogInterface.h:38
QCheckBox * myInterruptTask
Definition: whenConditionalDialog.h:73
Definition: conditionalDialogInterface.h:45
QCheckBox * myReregisterTrigger
Definition: whenConditionalDialog.h:72
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:53
Definition: conditionalDialog.h:28
class DtSimStatement:
Definition: simStatement.h:38
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:70
#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:49

Document ID: Generated on Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)