Widget that can be brought up by the user to configure their RTI config preferences.
More...
|
| | DtAssistantConnConfigWidget (QWidget *parent, Qt::WindowFlags f=0) |
| | CTOR. More...
|
| |
| virtual | ~DtAssistantConnConfigWidget () |
| | Virtual DTOR. More...
|
| |
| | DtAssistantLrcConnQueryWidget (QWidget *parent=0, Qt::WindowFlags f=0) |
| | Constructor. More...
|
| |
| virtual | ~DtAssistantLrcConnQueryWidget () |
| | Destructor. More...
|
| |
| virtual void | displayErrorText (bool error) |
| | Set the variation of widget text based on whether or not it is being displayed due to an error. More...
|
| |
| virtual void | setStartRtiexecEnabled (bool enable, const QString &reason) |
| | Sets whether or not the "Start rtiexec" button is enabled. More...
|
| |
| virtual bool | acceptCurrentSelection () |
| | Processes acceptance of the current selection, starting an rtiexec if necessary and possible. More...
|
| |
| virtual void | initializeQtToolTips () |
| |
| virtual void | addKnownAssistant (const DtAssistantInfo &assistant) |
| | Adds an assistant to the list of known remote assistants. More...
|
| |
| virtual void | removeKnownAssistant (const DtAssistantInfo &assistant) |
| | Removes an assistant to the list of known remote assistants. More...
|
| |
| | DtAssistantConnQueryWidget (QWidget *parent, Qt::WindowFlags f=0) |
| | Constructor. More...
|
| |
| virtual | ~DtAssistantConnQueryWidget () |
| | Destructor. More...
|
| |
| virtual void | setComponentType (DtAssistantComponentType type, bool internalQuery) |
| | Set the component type the dialog is handling. More...
|
| |
| virtual DtAssistantComponentType | componentType () const |
| | Get the component type the dialog handled. More...
|
| |
| virtual bool | internalQuery () const |
| | Get if this query originated from the Assistant or a component. More...
|
| |
| virtual void | useButtonsInsteadOfCheckBox (bool useButtons) |
| | Configure the widget to use radio buttons rather than a check box to set/unset the whether to use the chosen connection in the future. More...
|
| |
| virtual void | showStartRtiexecButton (bool show) |
| | Configure the widget to show the start rtiexec button. More...
|
| |
| virtual const DtAssistantInfoSet & | knownAssistants () const |
| | The assistants known by this assistant. More...
|
| |
| virtual bool | isKnownAssistant (const DtRtiConnectionInfo &conn) |
| | Determine if this connection is an rtiexec connection on the same host as one of the known assistants. More...
|
| |
| virtual const DtAssistantInfo * | getAssistant (const MAKRti::DtInetAddr &ip) |
| | Get the first known assistant that matches the given IP Returns the matching assistant; otherwise, NULL. More...
|
| |
| virtual const DtAssistantInfo * | getAssistant (const MAKRti::DtString &hostName) |
| | Get the first known assistant that matches the given host name Returns the matching assistant; otherwise, NULL. More...
|
| |
| virtual void | setConnections (const DtRtiConnectionAndConfiguration &connConfig, bool preserveSelection) |
| | Sets the list of connections. More...
|
| |
| virtual void | addConnections (const DtRtiConnectionAndConfiguration &conns) |
| | Adds a set of available connections to the list. More...
|
| |
| virtual void | removeConnections (const DtRtiConnectionAndConfiguration &conns) |
| | Removes a set of available connections from the list. More...
|
| |
| virtual void | getResults (DtRtiConnectionInfoDataPair &conn, DtRtiConnectionConfigurationInfo &config, bool &choose) |
| | Fills in the current chosen connection information settings. More...
|
| |
virtual const
DtRtiConnectionAndConfiguration & | userAddedConnections () |
| | Returns the set of user added connections during this execution of the dialog. More...
|
| |
virtual const
DtRtiConnectionAndConfiguration & | userRemovedConnections () |
| | Returns the set of user removed connections during this execution of the dialog. More...
|
| |
| virtual void | clearUserAddedAndRemoved () |
| | Clears all connections added and removed by the user during this execution of the dialog. More...
|
| |
| virtual bool | selectConnection (const DtRtiConnectionInfo &conn) |
| | Sets which connection should be selected. More...
|
| |
| virtual void | reselectConnection () |
| | Unselects and reselects the specified connection to update the state of the current buttons and dialog options. More...
|
| |
| virtual void | setSelectedConfiguration (const DtRtiConnectionConfigurationInfo *config) |
| | Populates full compliance checkbox and selected RID configuration per the given configuration. More...
|
| |
| virtual void | setSelectedRtiSetting (const MAKRti::DtString &name, bool isPreconfigured) |
| | Selects RTI Setting configuration. More...
|
| |
| virtual void | getSelectedConnection (DtRtiConnectionInfo &conn) const |
| | Get the currently selected connection. More...
|
| |
| virtual void | getSelectedConfiguration (DtRtiConnectionConfigurationInfo &config) const |
| | Get the currently selected configuration. More...
|
| |
| virtual void | addProhibitedPort (int port, const QString &reason) |
| | Add a port which is prohibited, along with a reason. More...
|
| |
| virtual void | removeProhibitedPort (int port) |
| | Remove a port which is prohibited. More...
|
| |
| virtual void | setInitialState (bool check) |
| | Set the initial state of the dialog when it is shown for the very first time. More...
|
| |
| virtual bool | isConnectionNameInUse (const QString &name) const |
| | Returns true if the given connection name is already in use by a known connection. More...
|
| |
| virtual void | getInterfaceList (const DtAssistantInfo &assistant, bool useIPv4, QStringList &interfaceAdddrList) |
| | Reloads the list of local network interfaces which can be selected for new connections. More...
|
| |
| virtual bool | checkForPortConflicts (int port1, int port2=0) |
| | Check if the port is prohibited and display an error if it is. More...
|
| |
| virtual bool | checkForValidAddr (const QString &addrStr, const MAKRti::DtInetAddr &ifAddr, MAKRti::DtInetAddr &addr) |
| | Check if the string is a valid address, as well as valid for the specified interface. More...
|
| |
| virtual bool | checkForConnNameConflict (const QString &name) |
| | Check if the new connection name is unique. More...
|
| |
| virtual bool | checkForDuplicateConn (const DtRtiConnectionInfo &conn) |
| | Check if the given connection is a duplicate of an existing connection. More...
|
| |
| | DtAssistantConfigWidget (QWidget *parent=0, Qt::WindowFlags f=0) |
| | Constructor. More...
|
| |
| virtual | ~DtAssistantConfigWidget () |
| | Destructor. More...
|
| |
| virtual QString | reasonForDisabledAccept () const |
| | If the widget has disabled the accept button, returns the reason why. More...
|
| |
|
| 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. More...
|
| |
| virtual void | showEvent (QShowEvent *event) |
| | Prepare the widget to be shown. More...
|
| |
| virtual void | clearAllConnections () |
| | Clears the entire connection list. More...
|
| |
| virtual void | setRidConfigurations (const DtAssistantRidConfigInfoMgr::RidConfigurationList &connConfig, bool preserveSelection) |
| | Overridden to remove the 'Edit Configuration' option when displayed in the preferences dialog. More...
|
| |
| virtual void | setAcceptEnabled (bool enabled, const QString &reasonForDisable) |
| | Sets whether or not accept is enabled. More...
|
| |
| virtual bool | addConnection (const DtRtiConnectionInfoDataPair &conn, const DtRtiConfigurationInfoDataPair &config, DtNameToConnInfoMap::iterator &connIter) |
| | Adds an available connection to the list. More...
|
| |
| virtual void | removeConnection (const DtRtiConnectionInfoDataPair &conn) |
| | Removes an available connection from the list. More...
|
| |
| virtual QTreeWidgetItem * | findConnInTree (const DtRtiConnectionInfo &conn, DtNameToConnInfoMap::iterator &connIter) |
| | Finds the connection item in the tree. More...
|
| |
| virtual void | getConnStatusText (const QTreeWidgetItem *item, const DtRtiConnectionInfoDataPair &conn, const DtRtiConfigurationInfoDataPair &, QString &text) |
| | Gets the connection status text for the given connection. More...
|
| |
| virtual void | evaluateConnections () |
| | Evaluates connections for conflicts or invalid configuration. More...
|
| |
| virtual bool | checkForValidAddrAndHost (const QString &addrStr, const MAKRti::DtInetAddr &ifAddr, MAKRti::DtInetAddr &addr) |
| | Check if the string is a valid address, as well as valid for the specified interface. More...
|
| |
| virtual bool | promptUserForNewConnInfo (DtRtiConnectionInfoDataPair &conn) |
| | Prompts the user for new connection info. More...
|
| |
| virtual bool | promptUserToEditConnInfo (DtRtiConnectionInfoDataPair &conn) |
| | Prompts the user to edit connection info. More...
|
| |
| virtual bool | promptUserForConnInfo (DtRtiConnectionInfoDataPair &conn, const QString &dialogTitle, bool useNameOfGivenConn) |
| | Prompts the user for connection info. More...
|
| |
| virtual void | setAcceptEnabledBasedOnConn (const DtRtiConnectionInfoDataPair *conn) |
| | Enables or disables the accept button based on the state of the given currently selected connection. More...
|
| |
| virtual void | updateDialogBasedOnConn (const DtRtiConnectionInfoDataPair *conn, const DtRtiConfigurationInfoDataPair *config, bool isDisabled) |
| | Updates the LRC connection query dialog specific items based on the state of the given currently selected connection and configuration. More...
|
| |
| virtual bool | replaceConnection (const DtRtiConnAndAssociatedConfig &oldConn, DtRtiConnectionInfoDataPair &newConn, DtNameToConnInfoMap::iterator &connIter) |
| | Replace a connection on the list and pass back the iterator of the new item. More...
|
| |
| virtual void | refreshConnections (const DtAssistantInfo &assistant, bool isConnected) |
| | Refresh the list of connections with the connection status of the given assistant. More...
|
| |
| virtual void | storeUserAddedConnection (const DtRtiConnectionInfoDataPair &conn) |
| | Store information on a connection that user requested to add. More...
|
| |
| virtual void | storeUserRemovedConnection (const DtRtiConnectionInfoDataPair &conn) |
| | Store information on a connection that user requested to remove. More...
|
| |
| virtual void | setConnItemToolTip (QTreeWidgetItem *item, const DtRtiConnectionInfoDataPair &conn=std::make_pair(DtRtiConnectionInfo::invalidConn(), DtRtiAssociatedConnectionData()), const DtRtiConfigurationInfoDataPair &config=DtRtiConfigurationInfoDataPair()) |
| | Set the tool tip for the given item. More...
|
| |
| virtual void | setFullyCompliantStateBasedOnConn (const DtRtiConnAndAssociatedConfig *connConfig) |
| | Enables or disables and sets the fully compliant check box based on the state of the given currently selected connection and if active, its configuration . More...
|
| |
| virtual void | setRemoveEnabledBasedOnConn (const DtRtiConnectionInfoDataPair *conn) |
| | Enables or disables the remove button based on the state of the given currently selected connection. More...
|
| |
| virtual void | setEditEnabledBasedOnConn (const DtRtiConnectionInfoDataPair *conn) |
| | Enables or disables the edit button based on the state of the given currently selected connection. More...
|
| |
| virtual void | disableItem (QTreeWidgetItem *item, bool disable) |
| | Marks the item as disabled. More...
|
| |
| virtual bool | isItemDisabled (const QTreeWidgetItem *item) const |
| | Returns true if the item is marked as disabled. More...
|
| |
| virtual QString | reserveNameForConnection (const DtRtiConnectionInfoDataPair &conn) |
| | Reserves the name for the given connection. More...
|
| |
| virtual void | unreserveNameForConnection (const DtRtiConnectionInfoDataPair &conn) |
| | Unreserves the given connection name. More...
|
| |
| virtual bool | isAddressNotation (const QString &addrString) const |
| | Checks if the given string contains an address notation. More...
|
| |
| virtual void | setLocalInterfaces (const DtRtiConnectionInfo &connInfo) |
| | Initialize local interfaces from connection info. More...
|
| |
Widget that can be brought up by the user to configure their RTI config preferences.