VR-Forces 4.6.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
registerTriggerDialog.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 #include <vrfutil/rwUUID.h>
17 
18 #include <vlutil/vlString.h>
19 
20 class QComboBox;
21 class QLabel;
22 class QHBoxLayout;
23 class DtSimStatement;
24 
25 namespace makVrf
26 {
28  {
29  public:
30  virtual DtConditionalDialogInterface* create(makVrv::DtDe&, QWidget* parent, bool partOfGlobalPlan);
31  virtual bool canEditType(int) const;
32  };
33 
35  {
36  Q_OBJECT
37  public:
38  //CTOR
39  DtRegisterTriggerDialog(makVrv::DtDe& de, QWidget* parent, const Qt::WindowFlags& flags = 0, bool partOfGlobalPlan = false);
40 
41  //DTOR
42  virtual ~DtRegisterTriggerDialog();
43 
44  virtual DtUUID triggerUUID() const;
45  virtual void setTriggers(DtRwTriggersList*);
46 
47  protected:
48  virtual void setupGui(const std::vector<makVrv::DtSimEntry*>& data);
49  virtual void setupTriggers();
50  virtual bool editExpression(const DtSimStatement* simStmt, const DtSimCondExpr* expr, const std::vector<makVrv::DtSimEntry*>& data);
51  virtual void onOk();
52  virtual void slot_addTrigger(const DtSimStatement& s);
53  virtual void slot_conditionCancelled();
54  virtual void slot_conditionIncomplete();
55 
56  public:
59  QHBoxLayout* myTriggersLayout;
60 
61  protected:
62  bool myAddNew;
63  std::vector<makVrv::DtSimEntry*> mySelectedData;
64  };
65 
67  {
68  public:
69  virtual DtConditionalDialogInterface* create(makVrv::DtDe&, QWidget* parent, bool partOfGlobalPlan);
70  virtual bool canEditType(int) const;
71  };
72 
74  {
75  Q_OBJECT
76  public:
77  //CTOR
78  DtUnregisterTriggerDialog(makVrv::DtDe& de, QWidget* parent, const Qt::WindowFlags& flags = 0, bool partOfGlobalPlan = false);
79 
80  //DTOR
81  virtual ~DtUnregisterTriggerDialog();
82  };
83 
86  {
87  public:
88 
91 
94 
96  virtual DtSimStatement* conditionalStatement();
97  };
98 
101  {
102  public:
103 
106 
109 
111  virtual DtSimStatement* conditionalStatement();
112  };
113 }

Document ID: Generated on Wed Jul 25 16:57:45 EDT 2018 from SVN revision 190790
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)