VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
conditionalDialog.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2015 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
8 
10 
11 #pragma once
12 
15 
16 class QVBoxLayout;
17 class QHBoxLayout;
18 class QPushButton;
19 
20 namespace makVrf
21 {
22  class DtConditionalLogic;
23  class DtConditionalExpressionViewInterface;
24  class DtConditionalEpxressionInterface;
25 
27  {
28  Q_OBJECT
29 
30  public:
31  //CTOR
32  DtConditionalDialog(makVrv::DtDe& de, QWidget* parent, const Qt::WindowFlags& flags = 0, bool partOfGlobalPlan = false);
33 
34  //DTOR
35  virtual ~DtConditionalDialog();
36 
38  virtual void run(const std::vector<makVrv::DtSimEntry*>& data);
39 
40  protected:
42  virtual void setupGui(const std::vector<makVrv::DtSimEntry*>& data);
43  virtual DtConditionalExpressionViewInterface* createConditionalExpressionView(bool partOfGlobalPlan);
44 
45  virtual void slot_conditionComplete();
46 
48  virtual DtSimCondExpr* conditionalExpression() const;
49 
51  virtual void enable();
52 
54  virtual void disable();
55 
56  protected slots:
57  virtual void onOk();
58  virtual void onCancel();
59 
60  protected:
61  virtual bool editExpression(const DtSimCondExpr*, const std::vector<makVrv::DtSimEntry*>& data);
62 
63  public:
64  QVBoxLayout* myMainLayout;
65  QHBoxLayout* myButtonLayout;
69 
70  protected:
74  };
75 }

Document ID: Generated on Mon Jul 4 01:00:18 EDT 2016 from SVN revision 166489
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)