VR-Forces 4.6 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 
16 
17 #include <vlutil/vlString.h>
18 
19 class QCheckBox;
20 
21 namespace makVrf
22 {
24  {
25  public:
26  virtual DtConditionalDialogInterface* create(makVrv::DtDe&, QWidget* parent, bool partOfGlobalPlan);
27  virtual bool canEditType(int) const;
28  };
29 
31  {
32  Q_OBJECT
33  public:
34  //CTOR
35  DtWhenConditionalDialog(makVrv::DtDe& de, QWidget* parent, const Qt::WindowFlags& flags = 0, bool partOfGlobalPlan = false);
36 
37  //DTOR
38  virtual ~DtWhenConditionalDialog();
39 
40  virtual bool reregisterTrigger() const;
41  virtual DtString option() const;
42 
43  protected:
45  virtual DtConditionalExpressionView* createConditionalExpressionView(bool partOfGlobalPlan);
46  virtual bool editExpression(const DtSimStatement* simStmt, const DtSimCondExpr* expr, const std::vector<makVrv::DtSimEntry*>& data);
47  };
48 
49 
51  {
52  public:
53  DtWhenConditionalExpressionView(makVrv::DtDe& de, QWidget* parent, const Qt::WindowFlags& flags = 0, bool partOfGlobalPlan = false);
54 
55  //DTOR
57 
58  virtual void setReregisterTrigger(bool);
59  virtual bool reregisterTrigger() const;
60 
61  virtual void setOption(const DtString&);
62  virtual DtString option() const;
63 
64  protected:
65  virtual void setupGui(const std::vector<makVrv::DtSimEntry*>& data);
66 
67  public:
70  };
71 }

Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)