VR-Exchange 2.4 API Documentation
 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) 2015 VT MAK
3  * All rights reserved.
4  ****************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <widgets/dllExport.h>
13 #include <QtCore/QVariant>
14 
15 class QWidget;
16 
17 namespace MAKVrExchange
18 {
19 
20  class DtPropertyEditorWidget;
21 
24  {
25  public:
26 
29 
31  virtual ~DtPropertyType();
32 
34  virtual DtPropertyType* clone() const = 0;
35 
37  virtual DtPropertyEditorWidget* createEditor( QWidget* ) const = 0;
38 
41  virtual bool isValid( QVariant value ) const = 0;
42 
44  virtual QString text( QVariant value ) const;
45 
47  virtual QString string() const = 0;
48 
49  private:
50 
53 
55  DtPropertyType& operator = ( const DtPropertyType& );
56 
57  };
58 
59 }

Document ID: Generated on Thu Jul 23 10:25:22 EDT 2015 from SVN revision 155065
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)