![]() |
VR-Exchange 2.10 API Documentation
|
Responsible for displaying all information about the broker. More...

Public Types | |
| enum | { StatusCol = 0, NameCol = 1, IdCol = 2, MarkingTextCol = 3 } |
Public Member Functions | |
| virtual | ~DtBrokerDialog () |
| Virtual DTOR. More... | |
| virtual void | initialize () |
| Calls other initialization methods to set up the dialog. More... | |
| virtual void | objectDiscovered (const DtBrokerObject *brokerObject) |
| virtual void | objectUpdated (const DtBrokerObject *brokerObject) |
| virtual void | objectRemoved (const DtBrokerObject *brokerObject) |
| virtual void | addTranslator (const char *name, bool readStatus=true, bool writeStatus=true, bool debugging=false) |
| Adds the translator to the list of translators. More... | |
| virtual void | updateTranslator (const char *name, bool reflectStatus, bool publishStatus, bool debugging) |
| Updates the translator information in the list of translators. More... | |
| virtual void | deleteTranslator (const char *name) |
| Removes the translator from the list of translators. More... | |
| virtual void | revertSettings () |
| Load settings from the initializer and populate the GUI. More... | |
| virtual void | clientsUpdated () |
| Only used in dialogs that can display clients, such as WebLVC. More... | |
| virtual void | loadStylesheet (bool enabled) |
| Load the stylesheet for the given theme. More... | |
| virtual std::vector< std::pair < QColor, QColor > > | iconColorMappingsByMode (QIcon::Mode modeToGetMappingsFor) const |
| Get the color mappings to use for the provided QIcon::Mode. More... | |
| virtual void | invalidateIconColorMappings () |
| Invalidate the color mappings to use for application icons This is invoked by the parent application when new stylesheet(s) are being used. More... | |
Public Member Functions inherited from MAKVrExchange::DtDialogPager | |
| DtDialogPager (QWidget *parent, Qt::WindowFlags f=Qt::Tool) | |
| CTOR. More... | |
| virtual | ~DtDialogPager () |
| DTOR. More... | |
| virtual void | addPage (QWidget *page, const QIcon &icon, const QString &label, bool showTabs) |
| Add a page. More... | |
| virtual void | hidePage (const std::string &name) |
| Keep a page hidden from view. By default all pages are shown. More... | |
| virtual void | showPage (const std::string &name) |
| Unhide a page. By default all pages are shown. More... | |
| virtual void | setCurrentPage (const std::string &name) |
| Set the current page by name. More... | |
| virtual void | setCurrentPage (int index) |
| Set the current page by index. More... | |
| void | setWidgetIconStyleManager (DtWidgetIconStyleManager *manager) |
| Set the widget icon style manager. More... | |
Static Public Member Functions | |
| static DtBrokerDialog * | create (DtBroker *broker, DtBrokerInitializer *init, QWidget *parent=0) |
| Static creation method. More... | |
Protected Types | |
| typedef std::map< QString, QWidget * > | QtStringWidgetMap |
| typedef std::map< const DtBrokerObject *, QTreeWidgetItem * > | BrokerObjectToListView |
| typedef std::map < QTreeWidgetItem *, const DtBrokerObject * > | ListViewToBrokerObject |
Protected Types inherited from MAKVrExchange::DtDialogPager | |
| typedef std::list < QListWidgetItem * > | ListItems |
| typedef std::map< std::string, QWidget * > | PagesByNameMap |
Protected Slots | |
| virtual void | onMenuAboutToShow () |
| Receives notification that the object context menu is showing. More... | |
| virtual void | onTranslatorsChanged () |
| Updates the broker with the new translator state. More... | |
| virtual void | restartBrokerAction () |
| Tells the broker to reload its settings. More... | |
| virtual void | escPressed () |
| Cancels any changes and closes the dialog. More... | |
| virtual void | enterPressed () |
| Applies any changes and closes the dialog. More... | |
| virtual void | applied () |
| Applies the setting changes that have been made. More... | |
| virtual void | queryForRestart () |
| Query user for broker restart. More... | |
| virtual void | reflectedHeaderRightButtonPressedEventHandler (const QPoint &point) |
| Handles a right mouse button press event for the headers of list views. More... | |
| virtual void | publishedHeaderRightButtonPressedEventHandler (const QPoint &point) |
| virtual void | translatorHeaderRightButtonPressedEventHandler (const QPoint &point) |
Add / Remove Filter Actions | |
| virtual void | addNameFilterAction (bool action) |
| Action performed when the user creates a new name filter. More... | |
| virtual void | addNameFilter (const DtString &name) |
| Performs name filter addition. More... | |
| virtual void | addTypeFilterAction (bool action) |
| Action performed when the user creates a new type filter. More... | |
| virtual void | addTypeFilter (const DtString &entityType) |
| Performs type filter addition. More... | |
| virtual void | addMarkingTextFilterAction (bool action) |
| Action performed when the user creates a new marking text filter. More... | |
| virtual void | addMarkingTextFilter (const DtString &markingText) |
| Performs marking text filter addition. More... | |
| virtual void | removeNameFilterAction (bool action) |
| Action performed when the user removes a name filter. More... | |
| virtual void | removeNameFilter (const DtString &name) |
| Performs name filter removal. More... | |
| virtual void | removeTypeFilterAction (bool action) |
| Action performed when the user removes a type filter. More... | |
| virtual void | removeTypeFilter (const DtString &entityType) |
| Performs type filter removal. More... | |
| virtual void | removeMarkingTextFilterAction (bool action) |
| Action performed when the user removes a marking text filter. More... | |
| virtual void | removeMarkingTextFilter (const DtString &markingText) |
| Performs marking text filter removal. More... | |
Protected Slots inherited from MAKVrExchange::DtDialogPager | |
| virtual void | on_myContentsWidget_currentItemChanged (QListWidgetItem *current, QListWidgetItem *previous) |
| Internal Slots. More... | |
| virtual void | on_myPagesWidget_currentChanged (int index) |
| Internal Slots. More... | |
| virtual void | escPressed () |
| Internal Slots. More... | |
| virtual void | buttonClicked (QAbstractButton *) |
| Internal Slots. More... | |
| virtual void | enterPressed () |
| Internal Slots. More... | |
| virtual void | applied () |
| Internal Slots. More... | |
Protected Member Functions | |
| DtBrokerDialog (DtBroker *broker, DtBrokerInitializer *init, QWidget *parent=0) | |
| Protected CTOR (Use ::create). More... | |
| virtual void | updateObjectText (const DtBrokerObject *brokerObject, QTreeWidgetItem *item, const QString &status) |
| Updates the entry for the object in the reflected/published list. More... | |
| virtual QTreeWidgetItem * | findPublishedTranslatorGroup (const DtBrokerObject *brokerObject) |
| Utility method for finding the published group for the given object's type. More... | |
| virtual QTreeWidgetItem * | findReflectedTranslatorGroup (const DtBrokerObject *brokerObject) |
| Utility method for finding the reflected group for the given object's type. More... | |
| virtual bool | eventFilter (QObject *obj, QEvent *event) |
| Overridden event filter method for displaying context menus. More... | |
| virtual void | publishedItemRightButtonPressed (QTreeWidgetItem *, QPoint) |
| virtual void | reflectedItemRightButtonPressed (QTreeWidgetItem *, QPoint) |
| virtual void | replaceAll (std::string &searchText, const std::string &stringToFind, const std::string &stringToReplace) const |
| Replace all instances of stringToFind with stringToReplace in searchText. More... | |
| virtual std::string | resolveVars (const std::string &s) |
| Resolve a directory by replacing variables with the appropriate values. More... | |
Initialization Methods | |
| virtual void | initObjectListViews () |
| Initializes the Object List Views (Both Published and Reflected). More... | |
| virtual void | initObjectListViewHeaders () |
| Initialize the headers for the object list views. More... | |
| virtual void | initConnectionWidget () |
| Initializes the Connection Widget. More... | |
| virtual DtConnectionSettingsWidget * | instantiateConnectionSettingsWidget () |
| Instantiate the Connection Settings Widget. More... | |
| virtual void | initSettingsWidget () |
| Initializes the General Settings Widget. More... | |
| virtual DtGeneralSettingsWidget * | instantiateGeneralSettingsWidget () |
| Instantiate the General Settings Widget. More... | |
| virtual void | initFilterWidget () |
| Initializes the filter page. More... | |
| virtual void | initTranslatorListView () |
| Initializes the Translator List. More... | |
Protected Member Functions inherited from MAKVrExchange::DtDialogPager | |
| void | setupGui () |
| Sets up the dialog. More... | |
| void | connectToSignals () |
| Connects widget signals to slots. More... | |
Properties | |
| QColor | ActualIconPrimaryColor |
| QColor | NormalIconPrimaryColor |
| QColor | DisabledIconPrimaryColor |
| QColor | SelectedIconPrimaryColor |
| QColor | ActiveIconPrimaryColor |
Private Member Functions | |
| DtBrokerDialog (const DtBrokerDialog &other) | |
| Copy CTOR not implemented – Do Not Copy! More... | |
| DtBrokerDialog & | operator= (const DtBrokerDialog &other) |
| Assignment Operator not implemented – Do Not Copy! More... | |
Additional Inherited Members | |
Signals inherited from MAKVrExchange::DtDialogPager | |
| void | closed () |
Responsible for displaying all information about the broker.
|
protected |
|
protected |
|
protected |
|
virtual |
Virtual DTOR.
|
protected |
Protected CTOR (Use ::create).
|
private |
Copy CTOR not implemented – Do Not Copy!
|
protectedvirtualslot |
Performs marking text filter addition.
Can be called via the right-click menu or when an add filter message is received.
|
protectedvirtualslot |
Action performed when the user creates a new marking text filter.
Creates a new marking text filter for the selected entity.
|
protectedvirtualslot |
Performs name filter addition.
Can be called via the right-click menu or when an add filter message is received.
|
protectedvirtualslot |
Action performed when the user creates a new name filter.
Creates a new name filter for the selected entity.
|
virtual |
Adds the translator to the list of translators.
|
protectedvirtualslot |
Performs type filter addition.
Can be called via the right-click menu or when an add filter message is received.
|
protectedvirtualslot |
Action performed when the user creates a new type filter.
Creates a new type filter for the selected entity.
|
protectedvirtualslot |
Applies the setting changes that have been made.
Restarts the broker if changed settings require a restart.
|
virtual |
Only used in dialogs that can display clients, such as WebLVC.
|
static |
Static creation method.
Instantiates a new broker dialog.
|
virtual |
Removes the translator from the list of translators.
|
protectedvirtualslot |
Applies any changes and closes the dialog.
|
protectedvirtualslot |
Cancels any changes and closes the dialog.
|
protectedvirtual |
Overridden event filter method for displaying context menus.
|
protectedvirtual |
Utility method for finding the published group for the given object's type.
|
protectedvirtual |
Utility method for finding the reflected group for the given object's type.
|
virtual |
Get the color mappings to use for the provided QIcon::Mode.
|
protectedvirtual |
Initializes the Connection Widget.
|
protectedvirtual |
Initializes the filter page.
|
virtual |
Calls other initialization methods to set up the dialog.
Called from the dialog's create method.
|
protectedvirtual |
Initialize the headers for the object list views.
Reimplemented in MAKVrExchange::DtDdsBroker::DtDdsBrokerDialog, MAKVrExchange::DtTenaBroker::DtTenaBrokerDialog, MAKVrExchange::DtRprBroker::DtHlaBrokerDialog, and MAKVrExchange::DtDisBroker::DtDisBrokerDialog.
|
protectedvirtual |
Initializes the Object List Views (Both Published and Reflected).
|
protectedvirtual |
Initializes the General Settings Widget.
|
protectedvirtual |
Initializes the Translator List.
Creates a list of translators the broker knows about. This list contains information regarding the translator's: name; enabled/disabled status; debugging on/off; and generic translation on/off.
|
protectedvirtual |
Instantiate the Connection Settings Widget.
Reimplemented in MAKVrExchange::DtTenaBroker::DtTenaBrokerDialog, MAKVrExchange::DtRprBroker::DtHlaBrokerDialog, MAKVrExchange::DtDdsBroker::DtDdsBrokerDialog, and MAKVrExchange::DtDisBroker::DtDisBrokerDialog.
|
protectedvirtual |
Instantiate the General Settings Widget.
Reimplemented in MAKVrExchange::DtTenaBroker::DtTenaBrokerDialog, MAKVrExchange::DtRprBroker::DtHlaBrokerDialog, MAKVrExchange::DtDdsBroker::DtDdsBrokerDialog, and MAKVrExchange::DtDisBroker::DtDisBrokerDialog.
|
virtual |
Invalidate the color mappings to use for application icons This is invoked by the parent application when new stylesheet(s) are being used.
|
virtual |
Load the stylesheet for the given theme.
|
virtual |
|
virtual |
Reimplemented in MAKVrExchange::DtTenaBroker::DtTenaBrokerDialog.
|
virtual |
|
protectedvirtualslot |
Receives notification that the object context menu is showing.
This method checks the current selection and enables/disables the type and marking text filter menu items.
|
protectedvirtualslot |
Updates the broker with the new translator state.
|
private |
Assignment Operator not implemented – Do Not Copy!
|
protectedvirtualslot |
|
protectedvirtual |
|
protectedvirtualslot |
Query user for broker restart.
|
protectedvirtualslot |
Handles a right mouse button press event for the headers of list views.
Displays the column selection context menu. Menu will be created if it doesn't exist yet.
|
protectedvirtual |
|
protectedvirtualslot |
Performs marking text filter removal.
Can be called via the right-click menu or when a remove filter message is received.
|
protectedvirtualslot |
Action performed when the user removes a marking text filter.
Removes the marking text filter for the selected entity (if present).
|
protectedvirtualslot |
Performs name filter removal.
Can be called via the right-click menu or when a remove filter message is received.
|
protectedvirtualslot |
Action performed when the user removes a name filter.
Removes the name filter for the selected entity (if present).
|
protectedvirtualslot |
Performs type filter removal.
Can be called via the right-click menu or when a remove filter message is received.
|
protectedvirtualslot |
Action performed when the user removes a type filter.
Removes the type filter for the selected entity (if present).
|
protectedvirtual |
Replace all instances of stringToFind with stringToReplace in searchText.
|
protectedvirtual |
Resolve a directory by replacing variables with the appropriate values.
|
protectedvirtualslot |
Tells the broker to reload its settings.
|
virtual |
Load settings from the initializer and populate the GUI.
|
protectedvirtualslot |
|
protectedvirtual |
Updates the entry for the object in the reflected/published list.
Reimplemented in MAKVrExchange::DtDdsBroker::DtDdsBrokerDialog, and MAKVrExchange::DtTenaBroker::DtTenaBrokerDialog.
|
virtual |
Updates the translator information in the list of translators.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
| QColor MAKVrExchange::DtBrokerDialog::ActiveIconPrimaryColor |
| QColor MAKVrExchange::DtBrokerDialog::ActualIconPrimaryColor |
| QColor MAKVrExchange::DtBrokerDialog::DisabledIconPrimaryColor |
| QColor MAKVrExchange::DtBrokerDialog::NormalIconPrimaryColor |
| QColor MAKVrExchange::DtBrokerDialog::SelectedIconPrimaryColor |