![]() |
NDEVR
API Documentation
|
A container widget that wraps a SceneTree with an optional ribbon toolbar for buttons. More...
Public Member Functions | |
| SceneTreeWidget (QTModelManager *manager, QWidget *parent=nullptr) | |
| Constructs a scene tree widget for the given model manager. | |
| void | addButton (Button *button) |
| Adds a button to the ribbon toolbar above the tree. | |
| void | setShowMaterials (bool visible) |
| Sets whether materials are shown as child items in the tree. | |
Protected Attributes | |
| RibbonSubGroup * | m_ribbon_group |
| The ribbon toolbar above the tree. | |
| SceneTree * | m_scene_tree |
| The scene tree view. | |
A container widget that wraps a SceneTree with an optional ribbon toolbar for buttons.
Definition at line 11 of file SceneTreeWidget.h.
| SceneTreeWidget::SceneTreeWidget | ( | QTModelManager * | manager, |
| QWidget * | parent = nullptr ) |
Constructs a scene tree widget for the given model manager.
| [in] | manager | The model manager to display. |
| [in] | parent | The parent widget. |
References SceneTreeWidget().
Referenced by SceneTreeWidget().
| void SceneTreeWidget::addButton | ( | Button * | button | ) |
Adds a button to the ribbon toolbar above the tree.
| [in] | button | The button to add. |
| void SceneTreeWidget::setShowMaterials | ( | bool | visible | ) |
Sets whether materials are shown as child items in the tree.
| [in] | visible | Whether to show materials. |