MAK RTIspy API Documentation for HLA Evolved
 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) 2006 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: genericConfigWidget.h,v $ $Revision: 1.1 $ $State: Exp $
7 *********************************************************************/
8 
9 #ifndef genericConfigWidget_H_
10 #define genericConfigWidget_H_
11 
12 #include <rtiMsConfig.h>
13 #include <QtGui/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 };
69 
70 #endif

Document ID: Generated on Wed Mar 11 20:26:49 EDT 2015 from SVN revision 150939
Copyright © 2005-2015 VT MÄK Inc. All Rights Reserved (www.mak.com)