NDEVR
API Documentation
SceneTreeWidget.h
1#pragma once
2#include "DLLInfo.h"
3#include <NDEVR/SceneTree.h>
4#include <QWidget>
5namespace NDEVR
6{
7 class RibbonSubGroup;
11 class NDEVR_API SceneTreeWidget : public QWidget
12 {
13 public:
19 SceneTreeWidget(QTModelManager* manager, QWidget* parent = nullptr);
20 virtual ~SceneTreeWidget();
25 void addButton(Button* button);
30 void setShowMaterials(bool visible);
31 protected:
34 };
35}
A core widget that allows the user to click one of many button types.
Definition Button.h:68
A wrapper around DesignObjectLookup that provides signal and slot functionality and adds rendering ca...
Represents a sub-section of "Tab" of a ribbon representing a grouping of buttons or widgets within a ...
RibbonSubGroup * m_ribbon_group
The ribbon toolbar above the tree.
SceneTree * m_scene_tree
The scene tree view.
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.
SceneTreeWidget(QTModelManager *manager, QWidget *parent=nullptr)
Constructs a scene tree widget for the given model manager.
Shows all objects in a QTModelManager in a tree hierarchy view that allows for user interaction.
Definition SceneTree.h:54
The primary namespace for the NDEVR SDK.