MAK RTIspy API Documentation for HLA Evolved
Home
Modules
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
examples
hlaBounce
hlaBounceOptionsDialog.h
Go to the documentation of this file.
1
/****************************************************************************
2
* Copyright (c) 2017 VT MAK
3
* All rights reserved.
4
****************************************************************************/
5
9
10
#pragma once
11
12
#include <QDialog>
13
14
class
QLabel
;
15
class
QDialogButtonBox;
16
class
QGridLayout;
17
class
QLineEdit;
18
class
QCheckBox;
19
20
// Dialog to set federate options
21
class
HlaBounceOptionsDialog
:
public
QDialog
22
{
23
Q_OBJECT
24
25
public
:
26
27
HlaBounceOptionsDialog
(
QWidget
* parent = 0, Qt::WindowFlags f=0);
28
virtual
~HlaBounceOptionsDialog
();
29
30
// Retrieve values
31
const
QString&
federationName
()
const
{
return
myFederationName
; }
32
const
QString&
federateType
()
const
{
return
myFederateType
; }
33
const
QString&
federateName
()
const
{
return
myFederateName
; }
34
bool
includeInteractionExtension
()
const
{
return
myIncludeInteractionExt
; }
35
36
// Allow GUI to enable or disable certain options
37
void
disableFederationName
(
const
QString& reason);
38
void
disableFederateType
(
const
QString& reason);
39
void
disableFederateName
(
const
QString& reason);
40
void
disableIncludeInteractionExtension
(
const
QString& reason);
41
void
enableFederateName
();
42
void
enableIncludeInteractionExtension
();
43
44
public
slots:
45
46
void
acceptChosen
();
47
void
rejectChosen
();
48
49
protected
:
50
51
QString
myFederationName
;
52
QString
myFederateType
;
53
QString
myFederateName
;
54
bool
myIncludeInteractionExt
;
55
56
QLabel
*
myFederationNameLabel
;
57
QLabel
*
myFederateTypeLabel
;
58
QLabel
*
myFederateNameLabel
;
59
QLineEdit*
myFederationNameLineEdit
;
60
QLineEdit*
myFederateTypeLineEdit
;
61
QLineEdit*
myFederateNameLineEdit
;
62
QCheckBox*
myIncludeInteractionCheckBox
;
63
64
QDialogButtonBox*
myButtonBox
;
65
66
QGridLayout*
myLayout
;
67
};
Document ID: Generated on Mon Jul 9 10:30:41 EDT 2018 from SVN revision 190224
Copyright © 2005-2018 VT MÄK Inc. All Rights Reserved (
www.mak.com
)