VR-Forces 4.5 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
takeControlOfEntity.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 
14 #include <vrvCore/DtUniqueID.h>
17 
18 #include <string>
19 
20 #include <QDialog>
21 
22 class QLabel;
23 class QComboBox;
24 class QPushButton;
25 class QCheckBox;
26 
27 namespace makVrv
28 {
29  class DtDe;
30 }
31 
32 namespace makVrf
33 {
37  {
38  Q_OBJECT
39 
40  public:
41 
43  DtTakeControlOfEntity(makVrv::DtDe& de, QWidget* parent = 0, const Qt::WindowFlags& flags = Qt::Tool);
44 
46  virtual ~DtTakeControlOfEntity();
47 
49  virtual void run(makVrv::DtUniqueID);
50 
51  virtual std::string selectedConfiguration() const;
52 
53  protected:
54  virtual void accept();
55 
56  protected slots:
57  virtual void onCheckStateChanged();
58  virtual void onConfigurationChanged();
59 
60  public:
66  std::map<std::string, QCheckBox*> myFunctionalGroups;
67 
68  protected:
72  };
73 
75  {
76  public:
79 
81  static DtTakeControlOfEntityCreator& instance(makVrv::DtDe&);
82 
84  static void registerInstance(makVrv::DtDe& de, DtTakeControlOfEntityCreator* instance);
85 
86  virtual DtTakeControlOfEntity* create(QWidget*);
87 
88  protected:
90  };
91 }

Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (www.mak.com)