MAK RTIspy API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
genericConfigWidget.h
Go to the documentation of this file.
1 /****************************************************************************
2  * Copyright (c) 2017 VT MAK
3  * All rights reserved.
4  ****************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <rtiMsConfig.h>
13 #include <QWidget>
14 #include "propertyEditView.h"
15 
16 class Ui_genericConfigWidgetUi;
17 class DtProperty;
18 
19 
25 {
26  Q_OBJECT
27 
28 public:
29 
31  DtGenericConfigWidget(bool viewOnly, QWidget* parent = 0);
32 
35 
37  void addProperty(const DtProperty& p);
38 
40  void addToProperty( const DtProperty& p );
41 
42  void setProperty(QString prop, int value);
43  void setProperty(QString prop, QString value);
44  void setProperty(QString prop, bool value);
45  void setProperty(QString prop, double value);
46  void setProperty(QString prop, const QStringList& value);
47 
48  virtual bool property(QString name,int& value) const;
49  virtual bool property(QString name,QString& value) const;
50  virtual bool property(QString name,double& value) const;
51  virtual bool property(QString name,bool& value) const;
52  virtual bool property(QString name,QStringList& value) const;
53  virtual bool property(QString name) const;
54 
56  DtPropertyEditView* propertyEditView();
57  const DtPropertyEditView* propertyEditView() const;
58 
59 
60 protected:
62  bool myViewOnly;
63 
65  virtual void init();
66 
67  Ui_genericConfigWidgetUi* myImpl;
68 };

Document ID: Generated on Mon Jul 9 10:30:41 EDT 2018 from SVN revision 190224
Copyright © 2005-2018 VT MÄK Inc. All Rights Reserved (www.mak.com)