![]() |
MAK RTIspy API Documentation for HLA 1.3
|
Widget for managing configured RID files in the assistant. More...
Inheritance diagram for DtRidManagementWidget:
Collaboration diagram for DtRidManagementWidget:Signals | |
| void | userConfigurationRefresh () |
| Emitted to indicate that the user requested a configuration list refresh. | |
| void | ridNameSelected (const MAKRti::DtString &, bool) |
| Emitted when a user pushes OK or Apply so other dialogs can be in sync. | |
Signals inherited from DtAssistantConfigWidget | |
| void | enablePrefAccept () |
| Emitted to indicate that the accept button can be enabled. | |
| void | disablePrefAccept () |
| Emitted to indicate that the accept button should be disabled. | |
Public Member Functions | |
| DtRidManagementWidget (QWidget *parent, DtBoost::shared_ptr< DtAssistantRidConfigInfoMgr > ridInfoMgr, Qt::WindowFlags f=0) | |
| CTOR. | |
| virtual | ~DtRidManagementWidget () |
| Virtual DTOR. | |
| virtual void | initialize () |
| Virtual Initialization method. | |
| virtual void | processConfigWidgetAccept () |
Public Member Functions inherited from DtAssistantConfigWidget | |
| DtAssistantConfigWidget (QWidget *parent=0, Qt::WindowFlags f=0) | |
| Constructor. | |
| virtual | ~DtAssistantConfigWidget () |
| Destructor. | |
| virtual QString | reasonForDisabledAccept () const |
| If the widget has disabled the accept button, returns the reason why. | |
Protected Slots | |
| virtual void | on_ridFileList_selectionChanged () |
| virtual void | on_contextMenu_aboutToShow () |
| virtual void | on_contextMenu_browse (bool) |
| virtual void | on_refreshButton_clicked () |
| virtual void | on_importButton_clicked () |
| virtual void | on_editButton_clicked () |
| virtual void | on_removeButton_clicked () |
| virtual void | on_addButton_clicked () |
Protected Member Functions | |
| virtual void | setupGui () |
| Create the widgets and layout. | |
| virtual void | connectToSignals () |
| Connect widgets to signals and slots. | |
| virtual void | populateRidConfigurations () |
| Populate the RIDs view with stored user RIDs. | |
| virtual void | showEvent (QShowEvent *event) |
| Override show event to refresh the RID listing. | |
| virtual bool | eventFilter (QObject *obj, QEvent *event) |
| Event filter callback to handle user interaction with RID list. | |
| virtual void | showContextMenu (const QPoint &pos) |
| Show the context menu at the given location. | |
| virtual DtRIDParameters | loadRidConfiguration (QTreeWidgetItem *item, bool *status=0) |
| Load the RID configuration specified by the given GUI item. | |
| virtual void | editRidConfiguration (const QString &name, const DtRIDParameters &ridParams) |
| Show the RID configuration dialog. | |
| virtual void | refreshList (bool preserveSelection=true) |
| Refresh the list with the latest from the RIDs directory. | |
| virtual void | selectRidConfig (const QString &name) |
| Selects the user configuration with matching name. | |
Protected Member Functions inherited from DtAssistantConfigWidget | |
| virtual void | setAcceptEnabled (bool enabled, const QString &reasonForDisable) |
| Sets whether or not accept is enabled. | |
Protected Attributes | |
| DtBoost::shared_ptr < DtAssistantRidConfigInfoMgr > | myRidInfoMgr |
| QTreeWidget * | myRidFilesList |
| QTreeWidgetItem * | myPreconfiguredRidsItem |
| QTreeWidgetItem * | myUserRidsItem |
| QTreeWidgetItem * | myBaseConfigItem |
| QMenu * | myContextMenu |
| QAction * | myContextMenuEditAction |
| QAction * | myContextMenuNewAction |
| QAction * | myContextMenuRemoveAction |
| QAction * | myContextMenuRefreshAction |
| QAction * | myContextMenuBrowseAction |
| QPushButton * | myRefreshButton |
| QPushButton * | myImportButton |
| QPushButton * | myEditButton |
| QPushButton * | myRemoveButton |
| QPushButton * | myAddButton |
Widget for managing configured RID files in the assistant.
| DtRidManagementWidget::DtRidManagementWidget | ( | QWidget * | parent, |
| DtBoost::shared_ptr< DtAssistantRidConfigInfoMgr > | ridInfoMgr, | ||
| Qt::WindowFlags | f = 0 |
||
| ) |
CTOR.
|
virtual |
Virtual DTOR.
|
protectedvirtual |
Connect widgets to signals and slots.
|
protectedvirtual |
Show the RID configuration dialog.
|
protectedvirtual |
Event filter callback to handle user interaction with RID list.
|
virtual |
Virtual Initialization method.
Calls ::setupGui(), ::connectToSignals(), and ::populateRidConfigurations().
|
protectedvirtual |
Load the RID configuration specified by the given GUI item.
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtual |
Populate the RIDs view with stored user RIDs.
|
virtual |
|
protectedvirtual |
Refresh the list with the latest from the RIDs directory.
|
signal |
Emitted when a user pushes OK or Apply so other dialogs can be in sync.
|
protectedvirtual |
Selects the user configuration with matching name.
|
protectedvirtual |
Create the widgets and layout.
|
protectedvirtual |
Show the context menu at the given location.
Instantiates the context menu if it hasn't been initialized already.
|
protectedvirtual |
Override show event to refresh the RID listing.
|
signal |
Emitted to indicate that the user requested a configuration list refresh.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |