![]() |
VR-Forces 4.7 Class Documentation
|
The interface used by the DtTacticalGraphicOverlaysTreeWidget and the DtTacticalGraphicsTreeWidgetLogic. More...

Public Member Functions | |
| DtTacticalGraphicOverlayTreeInterface () | |
| virtual | ~DtTacticalGraphicOverlayTreeInterface () |
| virtual void | clearOverlays ()=0 |
| Removes all the overlays from the GUI along with all the elements inside each overlay. | |
| virtual void | addOverlay (const std::string &name)=0 |
| Adds an overlay with the given name to the tree. | |
| virtual void | collapseOverlay (const std::string &name)=0 |
| Collapses the overlay with the given name, hiding all of its children. | |
| virtual void | expandOverlay (const std::string &name)=0 |
| Expands the overlay with the given name, showing all of its children. | |
| virtual void | removeOverlay (const std::string &name)=0 |
| Removes the overlay (and all its children) from the tree. | |
| virtual void | addTacticalGraphic (const DtUniqueID &id, const std::string &name, const std::string &ovrName)=0 |
| Adds a new item to the tree. | |
| virtual void | moveTacticalGraphic (const DtUniqueID &id, const std::string &toOvrName)=0 |
| Moves the item with the given name from its current location to the overlay matching the given toOvrName. | |
| virtual void | renameTacticalGraphic (const DtUniqueID &id, const std::string &newName)=0 |
| Renames the item with the given name to newName. | |
| virtual void | removeTacticalGraphic (const DtUniqueID &id)=0 |
| Removes an item from the tree. | |
| virtual void | setTacticalGraphicSelected (const DtUniqueID &id, bool flag)=0 |
| Tell the gui to select the tactical graphic with the specified id. | |
| virtual void | setOverlayLayerVisible (const std::string &overlay, bool b)=0 |
| Sets whether or not layer is visible by changing the check state of the overlay item. | |
Public Attributes | |
| boost::signal< void(const std::string &, bool)> | signal_filterStatusChanged |
| Signal to the logic that a filter was checked/unchecked. | |
| boost::signal< void(const std::string &, bool)> | signal_overlayVisibilityChanged |
| Signal to the logic that an overlay was checked/unchecked for visibility. | |
| boost::signal< void(const DtUniqueID &, bool)> | signal_tacticalGraphicVisibilityChanged |
| Signal to the logic that a object inside an overlay was checked/unchecked for visibility. | |
| boost::signal< void(bool)> | signal_showEmptyOverlays |
| Signal to the logic to show/hide empty overlays. | |
| boost::signal< void(const std::string &)> | signal_overlaySelected |
| Signal to the logic that an overlay has been selected in the GUI. | |
| boost::signal< void(const DtUniqueID &)> | signal_tacticalGraphicSelected |
| Signal to the logic that a tactical graphic has been selected in the GUI. | |
The interface used by the DtTacticalGraphicOverlaysTreeWidget and the DtTacticalGraphicsTreeWidgetLogic.
| makVrv::DtTacticalGraphicOverlayTreeInterface::DtTacticalGraphicOverlayTreeInterface | ( | ) |
|
virtual |
|
pure virtual |
Removes all the overlays from the GUI along with all the elements inside each overlay.
Implemented in makVrf::DtVrfTacticalGraphicOverlayTreeWidget, and makVrv::DtTacticalGraphicOverlayTreeWidget.
|
pure virtual |
Adds an overlay with the given name to the tree.
Implemented in makVrv::DtTacticalGraphicOverlayTreeWidget, and makVrf::DtVrfTacticalGraphicOverlayTreeWidget.
|
pure virtual |
Collapses the overlay with the given name, hiding all of its children.
Implemented in makVrv::DtTacticalGraphicOverlayTreeWidget.
|
pure virtual |
Expands the overlay with the given name, showing all of its children.
Implemented in makVrv::DtTacticalGraphicOverlayTreeWidget.
|
pure virtual |
Removes the overlay (and all its children) from the tree.
Implemented in makVrv::DtTacticalGraphicOverlayTreeWidget, and makVrf::DtVrfTacticalGraphicOverlayTreeWidget.
|
pure virtual |
Adds a new item to the tree.
If the ovrName comes with a non-empty string, it will put the item under the overlay matching such name.
Implemented in makVrf::DtVrfTacticalGraphicOverlayTreeWidget, and makVrv::DtTacticalGraphicOverlayTreeWidget.
|
pure virtual |
Moves the item with the given name from its current location to the overlay matching the given toOvrName.
Implemented in makVrf::DtVrfTacticalGraphicOverlayTreeWidget, and makVrv::DtTacticalGraphicOverlayTreeWidget.
|
pure virtual |
Renames the item with the given name to newName.
Implemented in makVrf::DtVrfTacticalGraphicOverlayTreeWidget, and makVrv::DtTacticalGraphicOverlayTreeWidget.
|
pure virtual |
Removes an item from the tree.
Implemented in makVrf::DtVrfTacticalGraphicOverlayTreeWidget, and makVrv::DtTacticalGraphicOverlayTreeWidget.
|
pure virtual |
Tell the gui to select the tactical graphic with the specified id.
Implemented in makVrv::DtTacticalGraphicOverlayTreeWidget.
|
pure virtual |
Sets whether or not layer is visible by changing the check state of the overlay item.
Implemented in makVrv::DtTacticalGraphicOverlayTreeWidget, and makVrf::DtVrfTacticalGraphicOverlayTreeWidget.
| boost::signal<void (const std::string&, bool)> makVrv::DtTacticalGraphicOverlayTreeInterface::signal_filterStatusChanged |
Signal to the logic that a filter was checked/unchecked.
| boost::signal<void (const std::string&, bool)> makVrv::DtTacticalGraphicOverlayTreeInterface::signal_overlayVisibilityChanged |
Signal to the logic that an overlay was checked/unchecked for visibility.
| boost::signal<void (const DtUniqueID&, bool)> makVrv::DtTacticalGraphicOverlayTreeInterface::signal_tacticalGraphicVisibilityChanged |
Signal to the logic that a object inside an overlay was checked/unchecked for visibility.
| boost::signal<void (bool)> makVrv::DtTacticalGraphicOverlayTreeInterface::signal_showEmptyOverlays |
Signal to the logic to show/hide empty overlays.
| boost::signal<void (const std::string&)> makVrv::DtTacticalGraphicOverlayTreeInterface::signal_overlaySelected |
Signal to the logic that an overlay has been selected in the GUI.
| boost::signal<void (const DtUniqueID&)> makVrv::DtTacticalGraphicOverlayTreeInterface::signal_tacticalGraphicSelected |
Signal to the logic that a tactical graphic has been selected in the GUI.