VR-Forces 4.7 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
appsrc
vrfOpdEditor
propertyCreationFactory.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2013 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
6
#pragma once
7
8
#include <
vrvUtil/signalslib.h
>
9
10
#include <QtCore/QHash>
11
#include <QtCore/QObject>
12
13
class
DtPropertyCreationDialog
;
14
class
QWidget;
15
16
namespace
makVrv
17
{
18
class
DtDe;
19
}
20
21
typedef
DtPropertyCreationDialog
* (*DtPropertyCreationDlgCreator)(
makVrv::DtDe
&, QWidget* parent,
const
Qt::WindowFlags& flags);
22
23
class
DtPropertyCreationInformation
24
{
25
public
:
26
DtPropertyCreationInformation
(
DtPropertyCreationDlgCreator
fcn) :
myCreator
(fcn) {};
27
DtPropertyCreationInformation
(
const
DtPropertyCreationInformation
& orig) :
28
myCreator
(orig.
myCreator
) {};
29
30
DtPropertyCreationDlgCreator
myCreator
;
31
};
32
33
class
DtPropertyCreationFactory
34
{
35
public
:
36
DtPropertyCreationFactory
(
makVrv::DtDe
&);
37
38
virtual
~DtPropertyCreationFactory
();
39
40
virtual
bool
init
();
41
virtual
void
addPropertyCreationDialog
(
const
QString& name,
42
DtPropertyCreationDlgCreator
fcn);
43
virtual
DtPropertyCreationDialog
*
createDialog
(
const
QString& name, QWidget* parent,
const
Qt::WindowFlags& flags = 0);
44
45
protected
:
46
virtual
void
addCreationDialogs
();
47
48
protected
:
49
QHash<QString, DtPropertyCreationInformation>
myDialogs
;
50
makVrv::DtDe
&
myDe
;
51
};
Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (
www.mak.com
)