VR-Forces 4.1 Class Documentation
behaviorCanvas.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2012 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 
8 
9 #ifndef DTBEHAVIORCANVAS_H_
10 #define DTBEHAVIORCANVAS_H_
11 
12 #include <QtGui/QWidget>
14 
15 class DtBehaviorUi;
16 class DtEntityMapperKey;
17 class DtFilename;
19 class DtModelSetEntry;
20 
22 
24 {
25 
26  Q_OBJECT
27 
28 public:
29 
31  DtBehaviorCanvas(QWidget* parent = NULL, const Qt::WindowFlags& flags = 0);
32 
34  virtual ~DtBehaviorCanvas();
35 
36  virtual void init(DtBehaviorUi*, DtEntityEditorWindow*);
37 
39  virtual void selectEntity(const DtEntityMapperKey& key, bool useStateForParameter = false);
40 
41  static void elementChanged(DtUiElement*, void* usr);
42  virtual void clearContents();
43 
45  virtual bool isDisplaying(const DtString&) const;
46 
47  DtVrfObjectParameters* parameters() const;
48  DtBehaviorUi* behaviorUi() const;
49  QWidget* controls() const;
50 
51  virtual void setModelModified(DtModelSetEntry* m);
52  virtual QMap<QString, QVariant> uiState() const;
53  virtual void setUiState(const QMap<QString, QVariant>&);
54 
55  virtual void sendEvent(const DtUiElementEvent&);
56 
57  virtual void processElementChanged(DtUiElement*);
58 
59 protected:
64 };
65 
67 {
68  return myParameters;
69 }
70 
72 {
73  return myBehaviorUi;
74 }
75 
77 {
78  return myControls;
79 }
80 
81 #endif
82 

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)