VR-Forces 4.5 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
emitterSelectionEntryWidget.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2012 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
10 
11 #pragma once
12 
14 
15 class QLabel;
16 class QHBoxLayout;
17 class QComboBox;
18 
19 namespace makVrf
20 {
23  {
24  public:
25  DtEmitterSelectionEntryWidget(makVrv::DtDe& de, QWidget* parent, const Qt::WindowFlags& flags = 0);
26 
27  //DTOR
29 
31  virtual void setLabel(const std::string&);
32 
34  virtual void setRange(double bottom, double top);
35 
37  virtual void setDefaultValue(const std::string&);
38 
40  virtual void setVariableData(const std::string&);
41 
43  virtual void setupFrom(const std::vector<makVrv::DtSimEntry*>& data);
44 
46  virtual DtReaderWriter* createBoundVariable(const std::string& variableName);
47 
49  virtual void setupFromBoundVariable(const DtReaderWriter* variableName);
50 
52  virtual int emitterCode() const;
53  virtual void setEmitterCode(int);
54 
56  virtual void setEditable(bool);
57 
58  static makVrv::DtUnicode codeVariableType()
59  {
60  return makVrv::DtUnicode::tr("Integer (emitter code)");
61  }
62 
63  public:
66  QHBoxLayout* myContentLayout;
68  };
69 
71 }

Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (www.mak.com)