MAK RTIspy API Documentation for HLA 1516
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Slots | Signals | Public Member Functions | Protected Attributes
DtAddForwarderConnDialog Class Reference

Dialog that allows a user to enter connection information. More...

+ Inheritance diagram for DtAddForwarderConnDialog:
+ Collaboration diagram for DtAddForwarderConnDialog:

Public Slots

void selectConnection ()
 Initiate a connection to the selected forwarder (from the view dialog's selected forwarder)
void cancelConnect ()
 The connect was canceled. Clean up.
void processConnectionSelection (int index)
 Processes the selection of a new connection.

Signals

void connectionSelected (const QString &connectionName)
 Connection was selected.

Public Member Functions

 DtAddForwarderConnDialog (DtFederationsViewDialog *parent, Qt::WindowFlags f=0)
 Constructor.
virtual ~DtAddForwarderConnDialog ()
 Destructor.
virtual void addConnection (const QString &connectionName, const DtRtiConnectionInfo &connection)
 Add a connection.
virtual int selectedConnection () const
 Return the selected index.
void clearConnections ()
 Clear the connection list.
virtual void addItem (const QString &attribute, const QString &val, const QColor &colorValue=Qt::black)
 Add a new text item to the info panel optional text color.
virtual void addItem (const QString &attribute, QWidget *w)
 Add a new widget item to the info panel.
virtual void addSubItem (const QString &val, const QColor &colorValue=Qt::black)
 Add a new text sub-item to the info panel optional text color.
virtual void removeItem (const QString &attribute)
 Removes any items with the matching attribute name.

Protected Attributes

DtFederationsViewDialogmyParent
Ui::AddForwarderConnectionDialog myUiImpl
 The GUI implementation of the widget.
int mySelectedConnection
 The selected connection index.
QTreeView * myTreeView
QStandardItemModel * myItemModel
QStandardItem * myLastParentItem
std::map< QString,
DtRtiConnectionInfo
myConnections
const QString myNoConnectionsName

Detailed Description

Dialog that allows a user to enter connection information.

Constructor & Destructor Documentation

DtAddForwarderConnDialog::DtAddForwarderConnDialog ( DtFederationsViewDialog parent,
Qt::WindowFlags  f = 0 
)

Constructor.

virtual DtAddForwarderConnDialog::~DtAddForwarderConnDialog ( )
virtual

Destructor.

Member Function Documentation

virtual void DtAddForwarderConnDialog::addConnection ( const QString &  connectionName,
const DtRtiConnectionInfo connection 
)
virtual

Add a connection.

virtual void DtAddForwarderConnDialog::addItem ( const QString &  attribute,
const QString &  val,
const QColor &  colorValue = Qt::black 
)
virtual

Add a new text item to the info panel optional text color.

virtual void DtAddForwarderConnDialog::addItem ( const QString &  attribute,
QWidget w 
)
virtual

Add a new widget item to the info panel.

virtual void DtAddForwarderConnDialog::addSubItem ( const QString &  val,
const QColor &  colorValue = Qt::black 
)
virtual

Add a new text sub-item to the info panel optional text color.

Sub-items are added as children under the previously added item.

void DtAddForwarderConnDialog::cancelConnect ( )
slot

The connect was canceled. Clean up.

void DtAddForwarderConnDialog::clearConnections ( )

Clear the connection list.

void DtAddForwarderConnDialog::connectionSelected ( const QString &  connectionName)
signal

Connection was selected.

void DtAddForwarderConnDialog::processConnectionSelection ( int  index)
slot

Processes the selection of a new connection.

virtual void DtAddForwarderConnDialog::removeItem ( const QString &  attribute)
virtual

Removes any items with the matching attribute name.

void DtAddForwarderConnDialog::selectConnection ( )
slot

Initiate a connection to the selected forwarder (from the view dialog's selected forwarder)

virtual int DtAddForwarderConnDialog::selectedConnection ( ) const
virtual

Return the selected index.

Member Data Documentation

std::map<QString, DtRtiConnectionInfo> DtAddForwarderConnDialog::myConnections
protected
QStandardItemModel* DtAddForwarderConnDialog::myItemModel
protected
QStandardItem* DtAddForwarderConnDialog::myLastParentItem
protected
const QString DtAddForwarderConnDialog::myNoConnectionsName
protected
DtFederationsViewDialog* DtAddForwarderConnDialog::myParent
protected
int DtAddForwarderConnDialog::mySelectedConnection
protected

The selected connection index.

QTreeView* DtAddForwarderConnDialog::myTreeView
protected
Ui::AddForwarderConnectionDialog DtAddForwarderConnDialog::myUiImpl
protected

The GUI implementation of the widget.


The documentation for this class was generated from the following file:

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)