VR-Forces 4.6 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
uiStringElement.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 #include "vrfutil/rwInt.h"
14 
16 {
17 public:
18 
21 
23  virtual ~DtUiStringElement();
24 
26 
28  virtual void setValue(const QString&);
29  virtual QString value() const;
30 
31  virtual void elementChanged();
32 
33 protected:
34  virtual void setFromParameters(const std::vector<DtReaderWriter*>& parentRw);
35 
37  virtual void createControls(QWidget* widget);
38 
39  virtual DtString sourceValueToDisplayLabel(const DtString& source);
40  virtual DtString displayLabelToSourceValue(const DtString& display);
41 
42 protected:
45 
46  typedef std::map<DtString, DtString> DisplayLabelToSourceValueMap;
48 };

Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)