VR-Forces 4.2 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfGuiCoreQt
DtAssignDoctrineDialog.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2013 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
8
10
11
#pragma once
12
13
#include <vrvUtil/signalslib.h>
14
#include <
vrfGuiCoreQt/vrfGuiCoreQt.h
>
15
#include <vrvUtil/DtVirtualBaseClass.h>
16
17
#include <QDialog>
18
19
namespace
makVrv
20
{
21
class
DtDe
;
22
}
23
24
class
DtSimMessage
;
25
class
QComboBox
;
26
class
QLabel;
27
class
QPushButton
;
28
class
QGridLayout;
29
class
QHBoxLayout;
30
namespace
makVrf
31
{
33
class
DT_DLL_VRFGUICOREQT
DtAssignDoctrineDialog
:
public
QDialog
34
{
35
Q_OBJECT
36
37
public
:
39
DtAssignDoctrineDialog
(makVrv::DtDe&,
QWidget
* parent,
const
Qt::WindowFlags& flags = Qt::Tool);
40
42
virtual
~
DtAssignDoctrineDialog
();
43
44
protected
:
46
virtual
void
accept();
47
48
protected
slots:
49
virtual
void
forceChanged();
50
51
public
:
52
QLabel*
myForceLabel
;
53
QComboBox
*
myForce
;
54
QLabel*
myDoctrineLabel
;
55
QComboBox
*
myDoctrine
;
56
QPushButton
*
myOKButton
;
57
QPushButton
*
myCancelButton
;
58
QGridLayout*
myDataLayout
;
59
QHBoxLayout*
myButtonLayout
;
60
61
protected
:
62
makVrv::DtDe&
myDe
;
63
std::map<int, std::string>
myDoctrinesByForce
;
64
};
65
67
class
DT_DLL_VRFGUICOREQT
DtAssignDoctrineDialogCreator
:
public
makVrv::DtVirtualBaseClass
68
{
69
public
:
71
DtAssignDoctrineDialogCreator
();
72
74
virtual
~
DtAssignDoctrineDialogCreator
();
75
76
static
DtAssignDoctrineDialogCreator
& instance(makVrv::DtDe&);
77
static
void
registerInstance(makVrv::DtDe&,
DtAssignDoctrineDialogCreator
*);
78
79
virtual
DtAssignDoctrineDialog
* create(makVrv::DtDe&,
QWidget
* parent,
const
Qt::WindowFlags&f = 0);
80
};
81
}
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
)