VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
uiMapAwareElement.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2013 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 
8 
9 #pragma once
10 
13 
14 class QComboBox;
15 class DtRwPropertiesMap;
16 
19 {
20  Q_OBJECT
21 
22 public:
23 
26 
28  virtual ~DtUiMapAwareElement();
29 
30  virtual void init(QWidget* sourceWidget, QWidget* label,
31  const std::vector<DtReaderWriter*>& sourceData, const std::vector<DtReaderWriter*>& backup, DtElementChangedCallbackFcn f);
32  virtual void init(QWidget* sourceWidget, QWidget* label,
34 
35 protected:
36  virtual void connectedTo(QObject*);
37 
38  virtual void setupReaderWriterFromMapCombo(QComboBox*);
39 
40  virtual void setupReaderWriterFromMapKey(const DtString& key, const std::string& elementContainer);
41  virtual void setupReaderWriterFromMapKey(const DtString& key, const std::string& elementContainer,
42  std::vector<DtReaderWriter*>& vars, std::vector<DtReaderWriter*>& backupVars);
43 
44  virtual DtString variableNameFromParameters(const DtRwPropertiesMap* mapToCheck, const std::string& prototypeName, const std::string& variableName,
45  const DtString& mapKey) const;
46 
47  virtual void setupReaderWriterFromVariable(const std::string& elementContainer);
48 
49 protected slots:
50  virtual void setupMapValuesFromKey();
51 };

Document ID: Generated on Mon Jul 4 01:00:18 EDT 2016 from SVN revision 166489
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)