VR-Forces 4.2 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
entityEditorImpl
entityEditorCreateHandler.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2013 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
#pragma once
9
10
#include "
entityEditorImpl/entityEditorImplDefines.h
"
11
#include "
vrfutil/rwNLengthStringVector.h
"
12
#include <vrvUtil/DtVirtualBaseClass.h>
13
#include <vrfExtProtocol/objType.h>
14
15
#include <QObject>
16
17
class
DtVrfObjectParameters
;
18
19
class
DT_DLL_entityeditorimpl
DtEntityEditorCreateHandler
:
public
QObject
,
20
public
makVrv::DtVirtualBaseClass
21
{
22
Q_OBJECT
23
24
public
:
25
27
DtEntityEditorCreateHandler
(makVrv::DtDe&);
28
30
virtual
~
DtEntityEditorCreateHandler
();
31
32
public
:
34
static
DtEntityEditorCreateHandler
& instance(makVrv::DtDe&);
35
static
void
registerInstance(makVrv::DtDe&,
DtEntityEditorCreateHandler
*);
36
37
virtual
QWidget
* createDialog(
QWidget
* parent);
38
virtual
void
showDialog(
bool
);
39
40
public
slots:
41
virtual
void
createNewEntity(
const
DtString
& parameterType,
42
DtObjectType base,
const
DtString
& name,
43
const
DtRwNLengthStringVector
& categories =
DtRwNLengthStringVector
(
"categories"
));
44
virtual
void
createFromExisting(
const
DtObjectType& base,
45
const
DtRwNLengthStringVector
& categories =
DtRwNLengthStringVector
(
"categories"
));
46
47
protected
:
48
makVrv::DtDe&
myDe
;
49
QWidget
*
myEventDlg
;
50
};
Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)