![]() |
VR-Exchange 2.2 API Documentation
|
Responsible for the display of an object's discovery, update, and removal recevied from the portal on the VR-Exchange GUI. More...

Public Member Functions | |
| DtObjectViewComponent (DtPortalConnection *pConn, QWidget *parent) | |
| CTOR. | |
| virtual | ~DtObjectViewComponent () |
| Virtual DTOR. | |
| virtual void | addObject (const MAKVrExchange::DtPortalReflectedObject &obj) |
| Adds a new object to the display. | |
| virtual void | updateObject (const MAKVrExchange::DtPortalReflectedObject &obj) |
| Updates an object on the display. | |
| virtual void | removeObject (const MAKVrExchange::DtPortalReflectedObject &obj) |
| Removes an object from the display. | |
| virtual bool | showUpdates () const |
| Returns true if we are showing the update column. | |
| virtual bool | showObjects () const |
| Returns true if we are showing objects. | |
| virtual void | toggleShowUpdates (bool val) |
| Turns the update column on and off. | |
| virtual void | toggleShowObjects (bool val) |
| Turns the objects display on and off. | |
| virtual void | showFindDialog () |
| Shows the dialog for searching the object list. | |
| virtual void | filterSelectedObjects (const bool filter, DtObjectFilter::FilterType type) |
| Turns on|off filtering for all selected objects. | |
| virtual void | debugSelectedObjects () |
| Opens translator debugging dialogs for the selected objects. | |
| virtual void | stopDebugging () |
| Closes all open debugging dialogs. | |
| virtual int | computeOptimalWidth () const |
| Computes the optimal width based on the size of the object view. | |
| virtual const QTreeWidget * | treeWidget () const |
| Const accessor for the tree widget. | |
| virtual QTreeWidget * | treeWidget () |
| Accessor for the tree widget. | |
Static Public Member Functions | |
| static DtObjectViewComponent * | create (DtPortalConnection *pConn, QWidget *parent) |
| Static creation method. | |
Protected Types | |
| enum | { FilterSelectedId = 0, UnfilterSelectedId = 1 } |
| typedef std::map< const DtPortalReflectedObject *, DtPortalObjectHolder * > | DtReflectedObjectHolderMap |
| typedef std::map < DtPortalMessageKind, DtU32 > | MessageKindToIntegerMap |
| typedef std::map < DtPortalMessageKind, QTreeWidgetItem * > | MessageKindToListViewItemMap |
| typedef std::map< DtString, DtTranslationDiagnosticDialog * > | TransDiagnosticDialogMap |
Protected Slots | |
| virtual void | objectHeaderRightButtonPressedEventHandler (const QPoint &point) |
| Handles a right mouse button press event for the header of #myObjectListView. | |
| virtual void | objectRightButtonPressedCallback (QTreeWidgetItem *item, const QPoint &point, int column) |
| Callback for right mouse button release. | |
| virtual void | onMenuAboutToShow () |
| virtual void | addNameFilterAction (bool) |
| Filters the selected objects by name. | |
| virtual void | addTypeFilterAction (bool) |
| Filters the selected objects by type. | |
| virtual void | addMarkingTextFilterAction (bool) |
| Filters the selected objects by marking text. | |
| virtual void | removeNameFilterAction (bool) |
| Unfilters the selected objects by name. | |
| virtual void | removeTypeFilterAction (bool) |
| Unfilters the selected objects by type. | |
| virtual void | removeMarkingTextFilterAction (bool) |
| Unfilters the selected objects by marking text. | |
| virtual void | debugTranslationAction (bool) |
| Opens translator debugging dialogs for the selected objects. | |
| virtual void | displayStatistics () |
| Updates the statistics for each object. | |
| virtual QString | headerLabel (const QHeaderView *header, int section) |
| Qt Helper function to get the labels off a header. | |
| virtual void | onSearchStringChanged () |
| Slot called when the find dialog's search string changes. | |
| virtual void | onFindNextPressed () |
| Advances the selection to the next search result. | |
| virtual void | onFindPreviousPressed () |
| Advances the selection to the previous search result. | |
| virtual void | transDiagDialogClosed () |
| Called when a translation diagnostic dialog is closed. | |
Protected Member Functions | |
| virtual void | resizeEvent (QResizeEvent *event) |
| Processes resize events. | |
| virtual void | keyReleaseEvent (QKeyEvent *event) |
| virtual bool | eventFilter (QObject *target, QEvent *event) |
| Handles events registered with installEventFilter(). | |
| virtual void | transDiagMessageCb (const DtTranslationDiagnosticMessage &msg) |
Private Member Functions | |
| DtObjectViewComponent (const DtObjectViewComponent &orig) | |
| Copy Ctor Not Implemented. | |
| DtObjectViewComponent & | operator= (const DtObjectViewComponent &orig) |
| Assignment Operator Not Implemented. | |
Responsible for the display of an object's discovery, update, and removal recevied from the portal on the VR-Exchange GUI.
Users wishing to add new object types to the display of VR-Exchange need to subclass this class. This class is only useful for the VR-Exchange GUI. It is not required for communication.
|
protected |
|
protected |
|
protected |
|
protected |
| MAKVrExchange::DtObjectViewComponent::DtObjectViewComponent | ( | DtPortalConnection * | pConn, |
| QWidget * | parent | ||
| ) |
CTOR.
|
virtual |
Virtual DTOR.
|
private |
Copy Ctor Not Implemented.
|
static |
Static creation method.
Reimplemented in DtModObjectViewComponent.
|
virtual |
Adds a new object to the display.
|
virtual |
Updates an object on the display.
|
virtual |
Removes an object from the display.
|
virtual |
Returns true if we are showing the update column.
|
virtual |
Returns true if we are showing objects.
|
virtual |
Turns the update column on and off.
|
virtual |
Turns the objects display on and off.
|
virtual |
Shows the dialog for searching the object list.
|
virtual |
Turns on|off filtering for all selected objects.
| filter | whether selected objects should be filtered or unfiltered. |
| type | the type of filter to apply (if filter is true). |
|
virtual |
Opens translator debugging dialogs for the selected objects.
|
virtual |
Closes all open debugging dialogs.
|
virtual |
Computes the optimal width based on the size of the object view.
|
virtual |
Const accessor for the tree widget.
Used to back up column spacing.
|
virtual |
Accessor for the tree widget.
Used to restore column spacing.
|
protectedvirtual |
Processes resize events.
Overridden to restore resize capability. A fixed size is set when the widget is created (to set default size), this unsets it.
|
protectedvirtual |
|
protectedvirtual |
Handles events registered with installEventFilter().
If a QObject registers itself with installEventFilter() using an instantiation of this class; then this function will handle that event.
| [in] | target | |
| [in] | event |
true if the target's event was handled.false otherwise
|
protectedvirtualslot |
Handles a right mouse button press event for the header of #myObjectListView.
Displays the popup menu myObjectHeaderPopupMenu. This function will first create myObjectHeaderPopupMenu if it doesn't exist.
| [in] | point | The point where the mouse was clicked |
|
protectedvirtualslot |
Callback for right mouse button release.
Callback function which handles a right mouse button release over #myObjectListView.
| [in] | item | |
| [in] | point | |
| [in] | column |
|
protectedvirtualslot |
|
protectedvirtualslot |
Filters the selected objects by name.
Calls filterSelectedObjects( true, DtObjectFilter::FilterByEntityName ).
|
protectedvirtualslot |
Filters the selected objects by type.
Calls filterSelectedObjects( true, DtObjectFilter::FilterByEntityType ).
|
protectedvirtualslot |
Filters the selected objects by marking text.
Calls filterSelectedObjects( true, DtObjectFilter::FilterByMarkingText ).
|
protectedvirtualslot |
Unfilters the selected objects by name.
Calls filterSelectedObjects( false, DtObjectFilter::FilterByEntityName ).
|
protectedvirtualslot |
Unfilters the selected objects by type.
Calls filterSelectedObjects( false, DtObjectFilter::FilterByEntityType ).
|
protectedvirtualslot |
Unfilters the selected objects by marking text.
Calls filterSelectedObjects( false, DtObjectFilter::FilterByMarkingText ).
|
protectedvirtualslot |
Opens translator debugging dialogs for the selected objects.
|
protectedvirtualslot |
Updates the statistics for each object.
|
protectedvirtualslot |
Qt Helper function to get the labels off a header.
|
protectedvirtualslot |
Slot called when the find dialog's search string changes.
Re-runs the search with the new string and selects the first result.
|
protectedvirtualslot |
Advances the selection to the next search result.
Re-runs the search if the end of a column is reached.
|
protectedvirtualslot |
Advances the selection to the previous search result.
Re-runs the search if the beginning of a column is reached.
|
protectedvirtualslot |
Called when a translation diagnostic dialog is closed.
Requests that diagnostic messages for the object stop being sent.
|
staticprotected |
|
protectedvirtual |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
private |
Assignment Operator Not Implemented.
| enum { ... } MAKVrExchange::DtObjectViewComponent::ObjectFilterPopupMenuPosition |
|
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 |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |