VR-Forces 4.1.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrvVrlQt
DtAggregateMappingEditorWidget.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2010 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
/******************************************************************************
6
** $RCSfile: DtAggregateMappinEditorWidget.h,v $ $Revision: 1.10 $ $State: Exp $
7
******************************************************************************/
8
12
13
#pragma once
14
15
#include <
vrvUtil/signalslib.h
>
16
17
#include <
vrvVrlQt/vrvVrlQt.h
>
18
#include <QtGui/QWidget>
19
#include <
vrvVrlQt/DtEntityTypeMapEditorWidget.h
>
20
#include <
vrvVrlQt/DtEntityMappingEditorInterface.h
>
21
22
class
QDialogButtonBox;
23
24
namespace
makVrv
25
{
26
class
DtDe;
27
class
DtEntityTypeToElementDefinitionLogic;
28
class
DtEntityTypeMapEditorWidget;
29
class
DtPersistenceToolbarWidget;
30
33
class
DT_DLL_VRVVRLQT
DtAggregateMappingEditorWidget
:
public
QWidget
,
34
public
DtEntityMappingEditorInterface
35
{
36
Q_OBJECT;
37
public
:
39
DtAggregateMappingEditorWidget
(
DtDe
& de,
QWidget
* parent);
40
42
virtual
~
DtAggregateMappingEditorWidget
();
43
45
virtual
void
warnUserOfExistingEntityType(
const
std::string& entityType);
46
49
virtual
void
askUserForEntityTypeMapping(
const
std::string& defaultMappingn =
""
);
50
51
virtual
void
activate();
52
53
virtual
void
deactivate();
54
55
protected
slots:
56
57
void
on_validate_entityType(QString str);
58
59
protected
:
60
void
setupGui();
61
62
DtDe
&
myDe
;
63
DtEntityTypeToElementDefinitionLogic
*
myLogic
;
64
DtEntityTypeMapEditorWidget
*
myEditor
;
65
DtPersistenceToolbarWidget
*
myToolbar
;
66
67
QDialogButtonBox*
myEntityTypeMappingButtons
;
68
};
69
}
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
)