VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfGuiObjectInformationQt
DtEmitterInformationPage.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2012 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
9
10
#pragma once
11
12
#include <
vrfGuiObjectInformationQt/vrfGuiObjectInformationQt.h
>
13
#include <
vrfGuiObjectInformationQt/DtInformationDialogPage.h
>
14
15
class
QHBoxLayout;
16
class
QLabel
;
17
class
QComboBox
;
18
class
QGridLayout;
19
20
namespace
makVrf
21
{
22
namespace
makVrfGuiObjectInformationQt
23
{
24
class
DT_DLL_VRFGUIOBJECTINFORMATIONQT
DtEmitterInformationPage
:
public
DtInformationDialogPage
25
{
26
Q_OBJECT
27
28
public
:
29
31
DtEmitterInformationPage
(
makVrv::DtDe
& de,
QWidget
* parent, Qt::WindowFlags f = Qt::SubWindow);
32
34
virtual
~
DtEmitterInformationPage
();
35
37
virtual
QIcon icon();
38
40
virtual
QString title();
41
43
virtual
const
std::string& pageClassName()
const
;
44
46
static
const
std::string& thePageClassName();
47
48
public
:
50
virtual
void
clearEmitters();
51
53
virtual
void
addEmitterSystem(
makVrv::DtUniqueID
,
const
std::string& name);
54
56
virtual
void
removeEmitterSystem(
makVrv::DtUniqueID
);
57
59
virtual
makVrv::DtUniqueID
selectedEmitterSystem()
const
;
60
62
virtual
int
numberOfBeams()
const
;
63
65
virtual
void
setNumberOfBeams(
int
);
66
68
virtual
void
setLocationLabel(
const
QString&);
69
virtual
void
setLocation(
const
QString&);
70
virtual
void
setEmissionType(
const
QString&);
71
virtual
void
setEventId(
const
QString&);
72
73
protected
:
74
virtual
void
setupGui();
75
virtual
void
activate();
76
77
protected
slots:
78
virtual
void
onSelectedEmitter();
79
80
public
:
81
QHBoxLayout*
mySystemsLayout
;
82
QLabel
*
mySystemsLabel
;
83
QComboBox
*
mySystems
;
84
85
QGridLayout*
myGridLayout
;
86
87
QLabel
*
myLocationLabel
;
88
QLabel
*
myLocation
;
89
90
QLabel
*
myEmissionTypeLabel
;
91
QLabel
*
myEmissionType
;
92
93
QLabel
*
myEventIdLabel
;
94
QLabel
*
myEventId
;
95
};
96
97
typedef
makVrv::DtPageCreatorTemplate<DtEmitterInformationPage>
98
DtEmitterInformationPageCreator
;
99
}
100
}
Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (
www.mak.com
)