VR-Exchange 2.2 API Documentation
propertyType.h
Go to the documentation of this file.
1 /******************************************************************************
2  ** Copyright (c) 1992-2010 VT MAK
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 <namespace.h>
13 #include <QtCore/QVariant>
14 
15 class QWidget;
16 
17 namespace MAKVrExchange
18 {
19  class DtPropertyEditorWidget;
20 
23  {
24  public:
25 
28 
30  virtual ~DtPropertyType();
31 
32  private:
36  DtPropertyType& operator=(const DtPropertyType&);
37  public:
38 
40  virtual DtPropertyType* clone() const = 0;
41 
43  virtual DtPropertyEditorWidget* createEditor(QWidget*) const = 0;
44 
47  virtual bool isValid(QVariant value) const = 0;
48 
50  virtual QString text(QVariant value) const;
51 
53  virtual QString string() const = 0;
54  };
55 }
56 
57 #endif

Document ID: Generated on Mon Apr 15 17:15:50 EDT 2013 from SVN revision 126154
Copyright © 2005-2012 VT MÄK. All Rights Reserved (www.mak.com)