VR-Forces 5.0.2 Developer's Guide
 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  Q_OBJECT
24  public:
25  //CTOR
26  DtSetAiEnabledDialog(makVrv::DtDe& de, QWidget* parent, const Qt::WindowFlags& flags = 0);
27 
28  //DTOR
29  virtual ~DtSetAiEnabledDialog();
30 
31  //\brief Returns whether the user has chosen to enable AI
32  virtual bool aiEnabled() const;
33 
34  //\brief Sets whether the user has chosen to enable AI
35  virtual void setAiEnabled(bool);
36 
39  virtual void run(const std::vector<makVrv::DtSimEntry*>&);
40 
41  virtual bool editStatement(const std::vector<makVrv::DtSimEntry*>& data, const DtSimStatement* s);
42 
43  protected:
45  virtual QWidget* contents(const std::vector<makVrv::DtSimEntry*>& data);
46 
48  virtual void setupStatement(const DtSimStatement*);
49 
50  virtual void setupGui(const std::vector<makVrv::DtSimEntry*>& data);
51 
52  virtual void onCancel();
53 
54  virtual void sendRequest();
55  virtual bool wantsSelectionOfObjectInCommandMode(const std::vector<makVrv::DtSimEntry*>&) const;
56 
57  virtual void onOK();
58  };
59 
61  {
62  public:
63  virtual DtTaskSetDialogInterface* create(makVrv::DtDe&, QWidget* parent);
64 
65  virtual bool supportsType(makVrv::DtDe&, const DtSetMessageType& t, const DtSimStatement*) const;
66  };
67 }
68 
Definition: taskSetDialogInterface.h:65
Dialog for enabling and disable AI for an entity. This dialog can either run as a proper dialog...
Definition: setAiEnabledDialog.h:21
Definition: taskSetDialogInterface.h:84
Definition: setAiEnabledDialog.h:60
Contains makVrf::DtBaseYesNoTaskSetDialog class.
Definition: baseYesNoTaskSetDialog.h:25
class DtSimStatement:
Definition: simStatement.h:38
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:70
#define DT_DLL_VRFGUITASKSETQT
Definition: vrfGuiTaskSetQt.h:22

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)