![]() |
MAK RTIspy API Documentation for HLA 1.3
|
Inheritance diagram for DtRtiSelectedNodeWidget:
Collaboration diagram for DtRtiSelectedNodeWidget:Signals | |
| void | iconChangeRequested () |
| Emitted when the user attempts to select a new icon. | |
Public Member Functions | |
| DtRtiSelectedNodeWidget (QWidget *parent) | |
| Constructor. | |
| virtual | ~DtRtiSelectedNodeWidget () |
| Destructor. | |
| virtual void | initialize () |
| Initialize. | |
| virtual QSize | sizeHint () const |
| Returns the recommended size for the widget. | |
| virtual void | clearInformation () |
| Clear all displayed information. | |
| virtual void | setNodeNameAndIcon (const MAKRti::DtString &name, const QPixmap &icon) |
| Display new node name and icon. | |
| 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. | |
| virtual QAction * | addAction (const QString &name, const QIcon &icon) |
| Add a new action to the toolbar. | |
| virtual void | addAction (QAction *action) |
| Add a new action to the toolbar. | |
Protected Attributes | |
| QGridLayout * | myLayout |
| DtClickableLabel * | myNodeIconLabel |
| QLabel * | myNodeIdLabel |
| QTreeView * | myTreeView |
| QStandardItemModel * | myItemModel |
| QStandardItem * | myLastParentItem |
| QToolBar * | myToolbar |
Private Member Functions | |
| DtRtiSelectedNodeWidget (const DtRtiSelectedNodeWidget ©) | |
| Copy Constructor – NOT COPYABLE. | |
| DtRtiSelectedNodeWidget & | operator= (const DtRtiSelectedNodeWidget &rhs) |
| Assignment Operator – NOT COPYABLE. | |
| DtRtiSelectedNodeWidget::DtRtiSelectedNodeWidget | ( | QWidget * | parent | ) |
Constructor.
|
virtual |
Destructor.
|
private |
Copy Constructor – NOT COPYABLE.
|
virtual |
Add a new action to the toolbar.
Creates the toolbar if it doesn't exist. Returns the QAction that was created so that the caller can install signals/slots.
References myLayout, and myToolbar.
Referenced by DtFederationsViewDialog::showFederateInfo(), DtFederationsViewDialog::showFederationInfo(), DtFederationsViewDialog::showForwarderInfo(), and DtFederationsViewDialog::showRtiexecInfo().
|
virtual |
|
virtual |
Add a new text item to the info panel optional text color.
References myItemModel, myLastParentItem, and myTreeView.
Referenced by DtFederationsViewDialog::showDeadFederateInfo(), DtFederationsViewDialog::showFederateInfo(), DtFederationsViewDialog::showFederationInfo(), DtFederationsViewDialog::showForwarderInfo(), DtFederationsViewDialog::showLightweightInfo(), DtFederationsViewDialog::showPeerForwarderInfo(), and DtFederationsViewDialog::showRtiexecInfo().
|
virtual |
Add a new widget item to the info panel.
References myItemModel, myLastParentItem, and myTreeView.
|
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.
References myLastParentItem, and myTreeView.
Referenced by DtFederationsViewDialog::showFederationInfo().
|
virtual |
Clear all displayed information.
References myItemModel, myLastParentItem, myNodeIconLabel, myNodeIdLabel, and myToolbar.
Referenced by DtFederationsViewDialog::clearData(), DtFederationsViewDialog::clearSelection(), DtFederationsViewDialog::showDeadFederateInfo(), DtFederationsViewDialog::showFederateInfo(), DtFederationsViewDialog::showFederationInfo(), DtFederationsViewDialog::showForwarderInfo(), DtFederationsViewDialog::showLightweightInfo(), DtFederationsViewDialog::showPeerForwarderInfo(), and DtFederationsViewDialog::showRtiexecInfo().
|
signal |
Emitted when the user attempts to select a new icon.
Referenced by initialize().
|
virtual |
Initialize.
References connect(), iconChangeRequested(), myItemModel, myLayout, myNodeIconLabel, myNodeIdLabel, and myTreeView.
Referenced by DtFederationsViewDialog::setupUI().
|
private |
Assignment Operator – NOT COPYABLE.
|
virtual |
Removes any items with the matching attribute name.
References myItemModel.
Referenced by DtFederationsViewDialog::showFederationInfo().
|
virtual |
Display new node name and icon.
References myNodeIconLabel, and myNodeIdLabel.
Referenced by DtFederationsViewDialog::setFederateIdentifierType(), DtFederationsViewDialog::showDeadFederateInfo(), DtFederationsViewDialog::showFederateInfo(), DtFederationsViewDialog::showFederationInfo(), DtFederationsViewDialog::showForwarderInfo(), DtFederationsViewDialog::showLightweightInfo(), DtFederationsViewDialog::showPeerForwarderInfo(), DtFederationsViewDialog::showRtiexecInfo(), and DtFederationsViewDialog::updateFederateIcon().
|
virtual |
Returns the recommended size for the widget.
|
protected |
Referenced by addItem(), clearInformation(), initialize(), and removeItem().
|
protected |
Referenced by addItem(), addSubItem(), and clearInformation().
|
protected |
Referenced by addAction(), and initialize().
|
protected |
Referenced by clearInformation(), initialize(), and setNodeNameAndIcon().
|
protected |
Referenced by clearInformation(), initialize(), and setNodeNameAndIcon().
|
protected |
Referenced by addAction(), and clearInformation().
|
protected |
Referenced by addItem(), addSubItem(), and initialize().