VR-Forces 4.1.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
bhave3DGui
bhaveEditSpawnPointDialog.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2012 MAK Technologies, Inc.
3
** All rights reserved.
4
** Created: 4/16/12 MEM
5
*******************************************************************************/
6
9
10
11
#pragma once
12
13
#include "
bhave3DGui/bhave3DGuiDefines.h
"
14
15
#include "
vrfmsgs/rwSpawnData.h
"
16
#include <
vrfGuiCoreQt/pointObjectDefinitionDialog.h
>
17
18
class
makVrf::DtCreateAndEditObjectDialogInterface
;
19
class
DtSimMessage
;
20
21
namespace
BHAVE
22
{
23
namespace
BHAVE3DGui
24
{
31
class
DT_DLL_bhave3DGui
DtBhaveEditSpawnPointDialog
:
public
makVrf::DtPointObjectDefinitionDialog
32
{
33
34
Q_OBJECT
35
36
public
:
37
39
DtBhaveEditSpawnPointDialog
(
makVrv::DtDe
& de,
QWidget
* parent,
const
QString& title=
""
,
DtDialogInteractionMode
mode=DtCreationMode);
40
42
virtual
~
DtBhaveEditSpawnPointDialog
();
43
44
virtual
void
init
();
45
virtual
const
DtRwSpawnData
& spawnData()
const
;
46
47
protected
:
48
virtual
void
processSpawnData(
DtSimMessage
* rsp);
49
virtual
void
displaySpawnPointParameters(
bool
canEdit);
50
51
protected
slots:
52
53
virtual
void
slot_onEditTemplateButtonClicked();
54
56
virtual
void
slot_editSpawnPoint(
DtRwSpawnData
& spawnData);
57
59
virtual
void
slot_editSpawnTemplate(
DtRwSpawnData
& spawnData,
bool
updatePtNames);
60
61
protected
:
62
DtRwSpawnData
mySpawnData
;
63
DtString
myCurrentTemplateName
;
64
QPushButton
*
myEditTemplateButton
;
65
};
66
67
class
DT_DLL_bhave3DGui
DtBhaveEditSpawnPointDialogCreator
:
public
makVrf::DtPointObjectDefinitionDialogCreator
68
{
69
public
:
70
virtual
makVrf::DtCreateAndEditObjectDialogInterface
* createDialog(
makVrv::DtDe
& de,
QWidget
* parent,
const
QString& title,
71
makVrf::DtCreateAndEditObjectDialogInterface::DtDialogInteractionMode
mode);
72
};
73
}
74
}
75
76
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
)