VR-Forces 4.1 Class Documentation
DtConditionalDialog.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2009 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: DtConditionalDialog.h,v $ $Revision: 1.1 $ $State: Exp $
7 ******************************************************************************/
8 
11 
13 
14 #pragma once
15 
18 
19 class QVBoxLayout;
20 class QHBoxLayout;
21 class QPushButton;
22 
23 namespace makVrf
24 {
25  class DtConditionalLogic;
26  class DtConditionalExpressionViewInterface;
27  class DtConditionalEpxressionInterface;
28 
30  {
31  Q_OBJECT
32 
33  public:
34  //CTOR
35  DtConditionalDialog(makVrv::DtDe& de, QWidget* parent, const Qt::WindowFlags& flags = 0);
36 
37  //DTOR
38  virtual ~DtConditionalDialog();
39 
41  virtual void run(const std::vector<makVrv::DtSimEntry*>& data);
42 
43  protected:
45  virtual void setupGui(const std::vector<makVrv::DtSimEntry*>& data);
46  virtual DtConditionalExpressionViewInterface* createConditionalExpressionView();
47 
48  virtual void slot_conditionComplete();
49 
51  virtual DtSimCondExpr* conditionalExpression() const;
52 
54  virtual void enable();
55 
57  virtual void disable();
58 
59  protected slots:
60  virtual void onOk();
61  virtual void onCancel();
62 
63  protected:
64  virtual bool editExpression(const DtSimCondExpr*, const std::vector<makVrv::DtSimEntry*>& data);
65 
66  public:
67  QVBoxLayout* myMainLayout;
68  QHBoxLayout* myButtonLayout;
72 
73  protected:
76  };
77 }

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)