2#include <NDEVR/Layer.h>
3#include <NDEVR/QTDesignObject.h>
4#include <NDEVR/DesignObjectWidgetInterface.h>
12 class LayerSelector :
public QWidget,
public DesignObjectWidgetInterface
Provides a modifiable pointer that has shared ownership of a dynamically allocated object.
A combo box that displays and allows selection of layers from the scene.
virtual void addTarget(const DynamicPointer< QTDesignObject > &object) override
Adds a design object as a target for layer assignment.
virtual void removeTarget(const DynamicPointer< QTDesignObject > &object) override
Removes a design object from the set of targets managed by this selector.
virtual void onTargetUpdated(UUID) override
Called when a target design object is updated.
LayerSelector(QWidget *parent=nullptr)
Constructs a LayerSelector widget.
void init()
Initializes the widget layout and layer combo box.
LayerCombo * m_chooser_combo
The combo box for selecting a layer.
A universally unique identifier (UUID) is a 128-bit number used to identify information in computer s...
The primary namespace for the NDEVR SDK.