![]() |
MAK RTIspy API Documentation for HLA 1.3
|
A dialog to allow an association between a selected federate and an icon file. More...
Inheritance diagram for DtFederateIconChooserDlg:
Collaboration diagram for DtFederateIconChooserDlg:Public Slots | |
| void | browseToFile () |
| Browse to the image file. | |
| void | handleAccept () |
| Handle dialog accept. | |
Public Member Functions | |
| DtFederateIconChooserDlg (QWidget *parent=0, Qt::WindowFlags f=0) | |
| Constructor. | |
| virtual | ~DtFederateIconChooserDlg () |
| Destructor. | |
| QString | imageFileName () const |
| Returns the selected file name. | |
| DtFederateIdentifierType | federateAssocType () const |
| Returns the federate association type. | |
Protected Attributes | |
| QGridLayout * | myLayout |
| Dialog widgets and layout. | |
| QLabel * | myHeadingLabel |
| Dialog widgets and layout. | |
| QLabel * | myAssocTypeLabel |
| Dialog widgets and layout. | |
| QComboBox * | myAssocTypeComboBox |
| Dialog widgets and layout. | |
| QLabel * | myImageFileLabel |
| Dialog widgets and layout. | |
| QLineEdit * | myImageFileLineEdit |
| Dialog widgets and layout. | |
| QPushButton * | myBrowseButton |
| Dialog widgets and layout. | |
| QDialogButtonBox * | myButtonBox |
| Dialog widgets and layout. | |
A dialog to allow an association between a selected federate and an icon file.
| DtFederateIconChooserDlg::DtFederateIconChooserDlg | ( | QWidget * | parent = 0, |
| Qt::WindowFlags | f = 0 |
||
| ) |
Constructor.
References browseToFile(), connect(), DtIdentifyByFederateName, DtIdentifyByFederateType, DtIdentifyByProcessName, DtIconAndTextureManager::getInstance(), handleAccept(), myAssocTypeComboBox, myAssocTypeLabel, myBrowseButton, myButtonBox, myHeadingLabel, myImageFileLabel, myImageFileLineEdit, and myLayout.
|
virtual |
Destructor.
|
slot |
| DtFederateIdentifierType DtFederateIconChooserDlg::federateAssocType | ( | ) | const |
Returns the federate association type.
References myAssocTypeComboBox.
Referenced by DtFederationsViewDialog::updateFederateIcon().
|
slot |
| QString DtFederateIconChooserDlg::imageFileName | ( | ) | const |
Returns the selected file name.
References myImageFileLineEdit.
Referenced by DtFederationsViewDialog::updateFederateIcon().
|
protected |
Dialog widgets and layout.
Referenced by DtFederateIconChooserDlg(), and federateAssocType().
|
protected |
Dialog widgets and layout.
Referenced by DtFederateIconChooserDlg().
|
protected |
Dialog widgets and layout.
Referenced by DtFederateIconChooserDlg().
|
protected |
Dialog widgets and layout.
Referenced by DtFederateIconChooserDlg().
|
protected |
Dialog widgets and layout.
Referenced by DtFederateIconChooserDlg().
|
protected |
Dialog widgets and layout.
Referenced by DtFederateIconChooserDlg().
|
protected |
Dialog widgets and layout.
Referenced by browseToFile(), DtFederateIconChooserDlg(), handleAccept(), and imageFileName().
|
protected |
Dialog widgets and layout.
Referenced by DtFederateIconChooserDlg().