VR-Exchange 2.4 API Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
widgets
propertyTypeFactory.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 <memory>
14
15
class
QString;
16
class
QStringList;
17
18
namespace
MAKVrExchange
19
{
20
21
class
DtPropertyType;
22
class
DtCollectionEditor;
23
26
typedef
std::auto_ptr<DtPropertyType>
DtPropertyTypeAP
;
27
30
class
DT_DLL_WIDGETS
DtPropertyTypeFactory
31
{
32
protected
:
33
34
DtPropertyTypeFactory
();
35
36
public
:
37
39
virtual
~
DtPropertyTypeFactory
();
40
42
static
DtPropertyTypeFactory
* create();
43
45
virtual
DtPropertyTypeAP
intType();
46
48
virtual
DtPropertyTypeAP
stringType();
49
51
virtual
DtPropertyTypeAP
boolType();
52
54
virtual
DtPropertyTypeAP
groupType();
55
57
virtual
DtPropertyTypeAP
stringListType( QStringList,
bool
edit =
false
);
58
60
virtual
DtPropertyTypeAP
collectionType( QStringList*,
DtCollectionEditor
* );
61
63
virtual
DtPropertyTypeAP
colorType();
64
66
virtual
DtPropertyTypeAP
fileType( QString workingDirectory,
67
QString extension,
bool
savingFile =
false
,
68
bool
openingExistingFile =
true
);
69
71
virtual
DtPropertyTypeAP
timeType();
72
74
virtual
DtPropertyTypeAP
doubleType();
75
76
//virtual DtPropertyTypeAP intListType( QValueList<int>, bool );
77
//virtual DtPropertyTypeAP doubleListType( QValueList<double>, bool edit = false );
78
//virtual DtPropertyTypeAP enumType();
79
80
public
:
81
83
typedef
DtPropertyTypeFactory
* (*DtPropertyTypeFactoryCreator)();
84
86
static
DtPropertyTypeFactoryCreator
theCreator
;
87
88
protected
:
89
91
static
DtPropertyTypeFactory
* defaultCreator();
92
93
};
94
95
}
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
)