VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
multipleOpdParameterPropertySheet.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 
12 
14 {
15  Q_OBJECT
16 
17 public:
20 
22  const QList<DtVrfObjectParameters*>& backup);
23 
24 protected:
25  virtual void valueUpdated(DtPropertyItem*);
26  virtual void valueRestored(DtPropertyItem*);
27  virtual void valueAdded(DtPropertyItem* newItem, DtPropertyItem* parent, DtPropertyCreationDialog*, bool isNew = false);
30 
31  // Returns true if the registry item needs an exact match based on potential multiple entries (i.e. the
32  // source item has an object type as part of it)
33  virtual DtReaderWriter* needsExactMatch(DtPropertyItem* source) const;
34  virtual DtReaderWriter* needsExactMatch(const DtReaderWriterRegistry& source, bool recurse = true) const;
35  virtual bool exactMatch(DtReaderWriter* source, DtReaderWriter* dest) const;
36 
37  // use the fact that it has an object
38  // Uses the name of the source to assign to a hardcoded list type of the
39  // expected opd parameter entry (i.e. Actuators is the actuator list, Controllers
40  // is the controller list, etc).
42 
43  // Returns the class type of the DtReaderWriter that contains the given
44  // item. Assumes that item has a DtReaderWriter object associated with it.
45  // Returns empty string if parent cannot be found.
46  virtual DtString lookupParentRwType(DtPropertyItem* item) const;
47 
48 signals:
50 
51 protected:
56 };
57 
59  const QList<DtVrfObjectParameters*>& backup)
60 {
61  myListParameters = current;
62  myListBackupParameters = backup;
63 }

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)