VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator 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 Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)