VR-Forces Development_Version Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
include
vrfGuiCoreQt
createTacticalGraphicConfigurationDialog.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2009 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
/******************************************************************************
6
** $RCSfile: DtCreateTacticalGraphicConfigurationDialog.h,v $ $Revision: 1.1 $ $State: Exp $
7
******************************************************************************/
8
11
15
16
#pragma once
17
18
#include <
vrfGuiCoreQt/vrfGuiCoreQt.h
>
19
#include <
vrfGuiCoreQt/createTacticalGraphicConfigurationDialogInterface.h
>
20
21
#include <vlpi/entityType.h>
22
23
#include <QtGui/QWidget>
24
25
namespace
makVrv
26
{
27
class
DtDe;
28
}
29
30
class
QLabel
;
31
class
QHBoxLayout;
32
class
QVBoxLayout;
33
class
QPushButton
;
34
class
QLineEdit
;
35
class
QComboBox
;
36
37
namespace
makVrf
38
{
39
class
DtCreateTacticalGraphicConfigurationLogic;
40
class
DtLocationEntryWidget;
41
42
class
DT_DLL_VRFGUICOREQT
DtCreateTacticalGraphicConfigurationDialog
43
:
public
QWidget
44
,
public
DtCreateTacticalGraphicConfigurationDialogInterface
45
{
46
Q_OBJECT
47
48
public
:
49
//CTOR
50
DtCreateTacticalGraphicConfigurationDialog
(
makVrv::DtDe
& de,
QWidget
* parent = 0,
const
Qt::WindowFlags& flags = 0);
51
52
//DTOR
53
virtual
~
DtCreateTacticalGraphicConfigurationDialog
();
54
56
virtual
QWidget
* widget()
57
{
58
return
this
;
59
}
60
61
public
:
62
virtual
void
setObjectName(
const
QString&);
63
virtual
QString objectName()
const
;
64
65
virtual
void
setEntityType(
const
DtEntityType&);
66
virtual
const
DtEntityType& entityType()
const
;
67
68
virtual
void
setForce(
int
);
69
virtual
int
force()
const
;
70
72
virtual
void
setPositions(
const
std::vector<DtVector>&);
73
virtual
std::vector<DtVector> positions()
const
;
74
virtual
std::vector<DtVector> localPositions()
const
;
75
76
protected
:
77
virtual
void
setupGui();
78
79
protected
slots:
80
virtual
void
onAccept();
81
virtual
void
onAttachToObject();
82
83
public
:
84
QVBoxLayout*
myMainLayout
;
85
QHBoxLayout*
myNameLayout
;
86
QLabel
*
myNameLabel
;
87
QLineEdit
*
myName
;
88
89
QHBoxLayout*
myButtonLayout
;
90
QPushButton
*
myAttach
;
91
QPushButton
*
myOKButton
;
92
QPushButton
*
myCancelButton
;
93
94
protected
:
95
makVrv::DtDe
&
myDe
;
96
DtCreateTacticalGraphicConfigurationLogic
*
myLogic
;
97
QString
myDefaultName
;
98
99
DtEntityType
myEntityType
;
100
int
myForce
;
101
std::vector<DtVector>
myLocalPositions
;
102
};
103
}
Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (
www.mak.com
)