VR-Forces 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) override;
29  virtual bool canEditType(int) const override;
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() override;
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(
49  const DtSimStatement* simStmt, const DtSimCondExpr* expr, const std::set<makVrv::DtUniqueID>& data) override;
50  };
51 
52 
54  {
55  Q_OBJECT
56  public:
57  DtWhenConditionalExpressionView(makVrv::DtDe& de, QWidget* parent, const Qt::WindowFlags& flags = 0, bool partOfGlobalPlan = false,
58  bool validForOnlySyncMatrix = false);
59 
60  //DTOR
61  virtual ~DtWhenConditionalExpressionView() override;
62 
63  virtual void setReregisterTrigger(bool);
64  virtual bool reregisterTrigger() const;
65 
66  virtual void setOption(const DtString&);
67  virtual DtString option() const;
68 
69  protected:
70  virtual void setupGui(const std::set<makVrv::DtUniqueID>& data) override;
71 
72  public:
75  };
76 }
Class that is used as a template for task/set dialogs.
Definition: conditionalDialogInterface.h:40
QCheckBox * myInterruptTask
Definition: whenConditionalDialog.h:74
Definition: conditionalDialogInterface.h:47
QCheckBox * myReregisterTrigger
Definition: whenConditionalDialog.h:73
Definition: whenConditionalDialog.h:32
Definition: whenConditionalDialog.h:53
DtSimCondExpr is an abstract base class representing various Conditional Expressions used by the Plan...
Definition: simCondExpr.h:53
Definition: conditionalDialog.h:29
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:76
#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:50

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)