VR-Forces 4.6 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
setAiEnabledDialog.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2017 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
8 
10 
11 #pragma once
12 
15 
16 namespace makVrf
17 {
22  {
23  public:
24  //CTOR
25  DtSetAiEnabledDialog(makVrv::DtDe& de, QWidget* parent, const Qt::WindowFlags& flags = 0);
26 
27  //DTOR
28  virtual ~DtSetAiEnabledDialog();
29 
30  //\brief Returns whether the user has chosen to enable AI
31  virtual bool aiEnabled() const;
32 
33  //\brief Sets whether the user has chosen to enable AI
34  virtual void setAiEnabled(bool);
35 
38  virtual void run(const std::vector<makVrv::DtSimEntry*>&);
39 
40  virtual bool editStatement(const std::vector<makVrv::DtSimEntry*>& data, const DtSimStatement* s);
41 
42  protected:
44  virtual QWidget* contents(const std::vector<makVrv::DtSimEntry*>& data);
45 
47  virtual void setupStatement(const DtSimStatement*);
48 
49  virtual void setupGui(const std::vector<makVrv::DtSimEntry*>& data);
50 
51  virtual void onCancel();
52 
53  virtual void sendRequest();
54  virtual bool wantsSelectionOfObjectInCommandMode() const;
55 
56  virtual void onOK();
57  };
58 
60  {
61  public:
62  virtual DtTaskSetDialogInterface* create(makVrv::DtDe&, QWidget* parent);
63 
64  virtual bool supportsType(makVrv::DtDe&, const DtSetMessageType& t, const DtSimStatement*) const;
65  };
66 }
67 

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)