MAK RTIspy API Documentation for HLA Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
propertyType.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2012 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
6 // \file propertyType.h
7 // \brief Contains Abstract DtPropetyType class.
8 
9 #ifndef propertyType_H_
10 #define propertyType_H_
11 
12 #include <rtiMsConfig.h>
13 #include <QtCore/QVariant>
14 
15 class QWidget;
16 
18 
21 {
22 public:
23 
26 
28  virtual ~DtPropertyType();
29 
30 private:
34  DtPropertyType& operator=(const DtPropertyType&);
35 public:
36 
38  virtual DtPropertyType* clone() const = 0;
39 
41  virtual DtPropertyEditorWidget* createEditor(QWidget*) const = 0;
42 
45  virtual bool isValid(QVariant value) const = 0;
46 
48  virtual QString text(QVariant value) const;
49 
51  virtual QString string() const = 0;
52 };
53 
54 #endif

Document ID: Generated on Mon Mar 21 09:41:37 EDT 2016 from SVN revision 163228
Copyright © 2005-2015 VT MÄK Inc. All Rights Reserved (www.mak.com)