|
Manages the layer info QTreeWidget
.
More...
#include <RobotAPI/gui-plugins/ArViz/LayerInfoTree.h>
Public Member Functions | |
LayerInfoTree () | |
void | registerVisualizerCallbacks (viz::CoinVisualizer &visualizer) |
void | setEnabled (bool enabled) |
Enable or disable the layer info tree. More... | |
void | setMaxElementCountDefault (int max) |
void | setSelectedLayer (viz::CoinLayerID id, viz::CoinLayerMap *layers) |
Set the selected layer. More... | |
void | setWidget (QTreeWidget *treeWidget) |
void | update () |
Update the currently expanded layer elements. More... | |
virtual | ~LayerInfoTree ()=default |
Manages the layer info QTreeWidget
.
Definition at line 15 of file LayerInfoTree.h.
LayerInfoTree | ( | ) |
Definition at line 21 of file LayerInfoTree.cpp.
|
virtualdefault |
void registerVisualizerCallbacks | ( | viz::CoinVisualizer & | visualizer | ) |
Definition at line 69 of file LayerInfoTree.cpp.
void setEnabled | ( | bool | enabled | ) |
Enable or disable the layer info tree.
When enabled, the tree will be filled on the first update. When disabled, the tree is cleared and will not be updated.
Definition at line 88 of file LayerInfoTree.cpp.
void setMaxElementCountDefault | ( | int | max | ) |
Definition at line 82 of file LayerInfoTree.cpp.
void setSelectedLayer | ( | viz::CoinLayerID | id, |
viz::CoinLayerMap * | layers | ||
) |
Set the selected layer.
Definition at line 105 of file LayerInfoTree.cpp.
void setWidget | ( | QTreeWidget * | treeWidget | ) |
Definition at line 26 of file LayerInfoTree.cpp.
void update | ( | ) |
Update the currently expanded layer elements.
Definition at line 119 of file LayerInfoTree.cpp.