![]() |
VR-Exchange 2.1 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 () |
| Destructor. | |
| virtual QWidget * | getGuiFrame () |
| Returns the GUI widget associated with this component. | |
| 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 | filterSelectedObjects (const bool filter, DtObjectFilter::FilterType type) |
| Turns on|off filtering for all selected objects. | |
Static Public Member Functions | |
| static DtObjectViewComponent * | create (DtPortalConnection *pConn, QWidget *parent) |
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 |
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. | |
| bool | eventFilter (QObject *target, QEvent *event) |
| Handles events registered with installEventFilter(). | |
| 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 | 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. | |
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 |
| MAKVrExchange::DtObjectViewComponent::DtObjectViewComponent | ( | DtPortalConnection * | pConn, |
| QWidget * | parent | ||
| ) |
Ctor.
|
virtual |
Destructor.
|
private |
Copy Ctor Not Implemented.
|
virtual |
Returns the GUI widget associated with this component.
|
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 |
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). |
|
static |
Reimplemented in DtModObjectViewComponent.
|
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 |
|
protectedslot |
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 |
|
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 |
Updates the statistics for each object.
|
protectedvirtualslot |
Qt Helper function to get the labels off a header.
|
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 |