MAK RTIspy API Documentation for HLA 1.3
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) 2010 MaK Technologies, Inc.
3
** All rights reserved.
4
********************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: .h,v $ $Revision: 1.2 $ $State: Exp $
7
*******************************************************************************/
8
9
#ifndef HlaBounceOptionsDialog_H_
10
#define HlaBounceOptionsDialog_H_
11
12
#include <QtGui/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
};
68
69
#endif
Document ID: Generated on Wed Mar 11 20:26:49 EDT 2015 from SVN revision 150939
Copyright © 2005-2015 VT MÄK Inc. All Rights Reserved (
www.mak.com
)