VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
opdParameterPropertySheet.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2013 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
6 #pragma once
7 
8 #include <vrvUtil/signalslib.h>
9 
10 #include "propertySheet.h"
11 #include <vlutil/vlString.h>
12 
13 class DtReaderWriter;
16 
18 {
19  Q_OBJECT
20 
21 public:
24 
27 
28  // Looks up the closest parameter documentation for the given item. Assumes
29  // that item has a DtReaderWriter object associated with it. If it cannot
30  // find an entry for the given item, it recursively looks up the tree for
31  // the closest DtReaderWriter parent object that has documentation.
33  DtReaderWriterClassMemberDataRecord& rwClassMemberDataRec) const;
34 
35  // Update parameter reference display widget with documentation associated
36  // with selected item.
38 
39  void setReadOnly(bool b) { myReadOnly = b; };
40 
41 protected:
42  virtual void valueUpdated(DtPropertyItem*);
43  virtual void valueRestored(DtPropertyItem*);
44  virtual void valueAdded(DtPropertyItem* newItem, DtPropertyItem* parent, DtPropertyCreationDialog*, bool isNew = false);
45  virtual void addListVariable(DtReaderWriter* p, const char* var);
46  virtual void addBooleanVariable(DtReaderWriter* p, const char* var);
47 
48  // Returns the class type of the DtReaderWriter that contains the given
49  // item. Assumes that item has a DtReaderWriter object associated with it.
50  // Returns empty string if parent cannot be found.
51  virtual DtString lookupParentRwType(DtPropertyItem* item) const;
52 
53 public slots:
54 
55  // Override to handle context-senstive help
56  virtual void selectionChanged(const QItemSelection&, const QItemSelection&);
57 
58 signals:
60 
61 protected:
63  bool myReadOnly;
64 };
65 
67 {
68  return myObjectParameters;
69 }

Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)