VR-Forces 4.1.1 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) 2012 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
9
#ifndef DTENTITYEDITORCREATEHANDLER_H_
10
#define DTENTITYEDITORCREATEHANDLER_H_
11
12
#include "
tmqt/eventHandler.h
"
13
#include "
entityEditorImpl/entityEditorEventHandlers.h
"
14
#include "
entityEditorImpl/entityEditorImplDefines.h
"
15
#include "
vrfutil/rwNLengthStringVector.h
"
16
17
class
DtObjectType
;
18
class
DtVrfObjectParameters
;
19
20
class
DT_DLL_entityeditorimpl
DtEntityEditorCreateHandler
:
public
DtEventHandler
21
{
22
Q_OBJECT
23
24
public
:
25
27
DtEntityEditorCreateHandler
();
28
30
virtual
~
DtEntityEditorCreateHandler
();
31
32
public
:
34
static
DtEventHandler
* create(
DtEventController
* owner,
void
* usr);
35
36
protected
:
37
virtual
QWidget
*
createDialog
(
QWidget
* parent);
38
virtual
void
showDialog
(
bool
);
39
41
virtual
void
setDefaultParameterValues(
DtVrfObjectParameters
* params);
42
43
public
slots:
44
virtual
void
createNewEntity(
const
DtString
& parameterType,
45
const
DtObjectType
& base,
const
DtString
& name,
46
const
DtRwNLengthStringVector
& categories =
DtRwNLengthStringVector
(
"categories"
));
47
virtual
void
createFromExisting(
const
DtObjectType
& base,
48
const
DtRwNLengthStringVector
& categories =
DtRwNLengthStringVector
(
"categories"
));
49
};
50
51
#endif //DtVrfCreateEntryHandler_H_
52
53
Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)