![]() |
MAK RTIspy API Documentation for HLA 1.3
|
Widget that can be brought up by the user to configure their RTI config preferences. More...
Inheritance diagram for DtAssistantConnConfigWidget:
Collaboration diagram for DtAssistantConnConfigWidget:Public Slots | |
| void | enableOrDisablePrefAccept () |
| Determines whether or not the preference dialog accept button should be enabled or disabled. | |
Public Member Functions | |
| DtAssistantConnConfigWidget (QWidget *parent, Qt::WindowFlags f=0) | |
| Constructor. | |
| virtual | ~DtAssistantConnConfigWidget () |
| Destructor. | |
Protected Member Functions | |
| virtual void | updateDisplayedConnection (const QString &name, const DtRtiConnectionInfoDataPair &updatedConn, QTreeWidgetItem *connItem) |
| Depending on the type of our current query connection, we update connItem based on updatedConn. | |
| virtual void | showEvent (QShowEvent *event) |
| Prepare the widget to be shown. | |
| virtual void | clearAllConnections () |
| Clears the entire connection list. | |
| virtual void | setAcceptEnabled (bool enabled, const QString &reasonForDisable) |
| Sets whether or not accept is enabled. | |
Protected Attributes | |
| bool | mySelectionIsAcceptable |
| Whether or not the current selection is acceptable. | |
| QString | myReasonWhyNotAcceptable |
| Reason why the selection is not acceptable. | |
| unsigned | myPerformReset |
| Flag to determine whether or not display should be reset on show event. | |
| QIcon | myVerifiedIcon |
| Icons. | |
| QIcon | myForwarderVerifiedIcon |
| Icons. | |
| QIcon | myUnknownIcon |
| Icons. | |
| QIcon | myConflictingIcon |
| Icons. | |
Private Member Functions | |
| DtAssistantConnConfigWidget (DtAssistantConnConfigWidget const &) | |
| Copy constructor not implemented. | |
| DtAssistantConnConfigWidget & | operator= (DtAssistantConnConfigWidget const &) |
| Assignment operator not implemented. | |
Widget that can be brought up by the user to configure their RTI config preferences.
| DtAssistantConnConfigWidget::DtAssistantConnConfigWidget | ( | QWidget * | parent, |
| Qt::WindowFlags | f = 0 |
||
| ) |
Constructor.
References connect(), DtRtiLibPath(), enableOrDisablePrefAccept(), myConflictingIcon, myForwarderVerifiedIcon, DtAssistantConnQueryWidget::myUiImpl, myUnknownIcon, myVerifiedIcon, DtAssistantConnQueryWidget::showStartRtiexecButton(), DtAssistantConnQueryWidget::StatusCol, and DtAssistantConnQueryWidget::useButtonsInsteadOfCheckBox().
Destructor.
| DtAssistantConnConfigWidget::DtAssistantConnConfigWidget | ( | DtAssistantConnConfigWidget const & | ) | [private] |
Copy constructor not implemented.
| void DtAssistantConnConfigWidget::clearAllConnections | ( | ) | [protected, virtual] |
Clears the entire connection list.
Reimplemented from DtAssistantLrcConnQueryWidget.
References myPerformReset.
| void DtAssistantConnConfigWidget::enableOrDisablePrefAccept | ( | ) | [slot] |
Determines whether or not the preference dialog accept button should be enabled or disabled.
References myReasonWhyNotAcceptable, mySelectionIsAcceptable, DtAssistantConnQueryWidget::myUiImpl, and setAcceptEnabled().
Referenced by DtAssistantConnConfigWidget(), and setAcceptEnabled().
| DtAssistantConnConfigWidget& DtAssistantConnConfigWidget::operator= | ( | DtAssistantConnConfigWidget const & | ) | [private] |
Assignment operator not implemented.
| void DtAssistantConnConfigWidget::setAcceptEnabled | ( | bool | enabled, |
| const QString & | reasonForDisable | ||
| ) | [protected, virtual] |
Sets whether or not accept is enabled.
Reimplemented from DtAssistantConnQueryWidget.
References enableOrDisablePrefAccept(), myReasonWhyNotAcceptable, and mySelectionIsAcceptable.
Referenced by enableOrDisablePrefAccept().
| void DtAssistantConnConfigWidget::showEvent | ( | QShowEvent * | event | ) | [protected, virtual] |
Prepare the widget to be shown.
Reimplemented from DtAssistantLrcConnQueryWidget.
References DtAssistantConnQueryWidget::ConnectionNameCol, myPerformReset, DtAssistantConnQueryWidget::myUiImpl, and DtAssistantConnQueryWidget::StatusCol.
| void DtAssistantConnConfigWidget::updateDisplayedConnection | ( | const QString & | name, |
| const DtRtiConnectionInfoDataPair & | updatedConn, | ||
| QTreeWidgetItem * | connItem | ||
| ) | [protected, virtual] |
Depending on the type of our current query connection, we update connItem based on updatedConn.
Reimplemented from DtAssistantLrcConnQueryWidget.
References DtAssistantConnQueryWidget::ConnectionNameCol, DtRtiAssociatedConnectionData::DtConnectionForwarderVerified, DtRtiAssociatedConnectionData::DtConnectionVerified, DtRtiAssociatedConnectionData::DtUnknownState, DtAssistantConnQueryWidget::isItemDisabled(), myConflictingIcon, myForwarderVerifiedIcon, myUnknownIcon, myVerifiedIcon, DtAssistantConnQueryWidget::setConnItemToolTip(), DtAssistantConnQueryWidget::SortCol, DtAssistantConnQueryWidget::StatusCol, DtAssistantLrcConnQueryWidget::theConflictingText, DtAssistantLrcConnQueryWidget::theUnknownNetworkInterfaceText, DtAssistantLrcConnQueryWidget::theUnknownText, DtAssistantLrcConnQueryWidget::theVerifiedForwarderText, and DtAssistantLrcConnQueryWidget::theVerifiedText.
QIcon DtAssistantConnConfigWidget::myConflictingIcon [protected] |
Icons.
Referenced by DtAssistantConnConfigWidget(), and updateDisplayedConnection().
QIcon DtAssistantConnConfigWidget::myForwarderVerifiedIcon [protected] |
Icons.
Referenced by DtAssistantConnConfigWidget(), and updateDisplayedConnection().
unsigned DtAssistantConnConfigWidget::myPerformReset [protected] |
Flag to determine whether or not display should be reset on show event.
Referenced by clearAllConnections(), and showEvent().
QString DtAssistantConnConfigWidget::myReasonWhyNotAcceptable [protected] |
Reason why the selection is not acceptable.
Referenced by enableOrDisablePrefAccept(), and setAcceptEnabled().
Whether or not the current selection is acceptable.
Referenced by enableOrDisablePrefAccept(), and setAcceptEnabled().
QIcon DtAssistantConnConfigWidget::myUnknownIcon [protected] |
Icons.
Referenced by DtAssistantConnConfigWidget(), and updateDisplayedConnection().
QIcon DtAssistantConnConfigWidget::myVerifiedIcon [protected] |
Icons.
Referenced by DtAssistantConnConfigWidget(), and updateDisplayedConnection().