VR-Exchange 2.1 API Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
include
widgets
propertyTypeFactory.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 1992-2010 VT MAK
3
** All rights reserved.
4
*********************************************************************/
5
6
7
#ifndef propertyTypeFactory_H_
8
#define propertyTypeFactory_H_
9
10
#include <
namespace.h
>
11
#include <memory>
12
13
class
QStringList;
14
class
QString;
15
16
namespace
MAKVrExchange
17
{
18
class
DtPropertyType;
19
class
DtCollectionEditor;
20
23
typedef
std::auto_ptr<DtPropertyType>
DtPropertyTypeAP
;
24
27
class
DT_DLL_VRXWIDGETS
DtPropertyTypeFactory
28
{
29
protected
:
30
DtPropertyTypeFactory
();
31
32
public
:
34
virtual
~
DtPropertyTypeFactory
();
35
37
static
DtPropertyTypeFactory
* create();
38
40
virtual
DtPropertyTypeAP
intType();
41
43
virtual
DtPropertyTypeAP
stringType();
44
46
virtual
DtPropertyTypeAP
boolType();
47
49
virtual
DtPropertyTypeAP
groupType();
50
52
virtual
DtPropertyTypeAP
stringListType(QStringList,
bool
edit =
false
);
53
55
virtual
DtPropertyTypeAP
collectionType(QStringList*,
DtCollectionEditor
*);
56
58
virtual
DtPropertyTypeAP
colorType();
59
61
virtual
DtPropertyTypeAP
fileType(QString workingDirectory,
62
QString extension,
bool
savingFile =
false
,
63
bool
openingExistingFile =
true
);
64
66
virtual
DtPropertyTypeAP
timeType();
67
69
virtual
DtPropertyTypeAP
doubleType();
70
71
//virtual DtPropertyTypeAP intListType(QValueList<int>, bool);
72
//virtual DtPropertyTypeAP doubleListType(QValueList<double>, bool edit = false);
73
//virtual DtPropertyTypeAP enumType();
74
75
// Static Creation Code
76
public
:
78
typedef
DtPropertyTypeFactory
* (*DtPropertyTypeFactoryCreator)();
80
static
DtPropertyTypeFactoryCreator
theCreator
;
81
protected
:
83
static
DtPropertyTypeFactory
* defaultCreator();
84
};
85
86
}
87
88
#endif
Document ID: Generated on Tue Aug 7 22:07:13 EDT 2012 from SVN revision 117874
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (
www.mak.com
)