API Documentation
|
A widget that allows the user to set or interface with the current layer. More...
#include <LayerWidget.h>
Signals | |
void | currentLayerChangedSignal () |
Public Member Functions | |
void | clearCurrentLayer () |
DynamicPointer< QTDesignObject > | currentLayer () const |
LayerWidget (QTModelManager *manager, QWidget *parent=nullptr) | |
LayerWidget (QWidget *parent=nullptr) | |
void | setCurrentLayer (UUID layer) |
void | setModelManager (QTModelManager *manager) |
Protected Slots | |
void | currentLayerDeletedSlot () |
void | currentLayerUpdatedSlot () |
void | layerSelectedSlot (UUID layer) |
void | objectsSelectedSlot (Buffer< UUID > objects, bool selected) |
Protected Member Functions | |
bool | event (QEvent *ev) override |
void | init () |
void | updateLayerCombo () |
void | updateWidget () |
Protected Attributes | |
DynamicPointer< QTDesignObject > | m_current_layer |
Dictionary< UUID, UUID > | m_layer_material_lookup |
LayerModel * | m_layer_model |
LayerTable * | m_layer_table |
QTModelManager * | m_manager |
Ui::LayerWidgetUI * | ui |
A widget that allows the user to set or interface with the current layer.
LayerWidget | ( | QTModelManager * | manager, |
QWidget * | parent = nullptr ) |
LayerWidget | ( | QWidget * | parent = nullptr | ) |
void clearCurrentLayer | ( | ) |
DynamicPointer< QTDesignObject > currentLayer | ( | ) | const |
|
signal |
|
protectedslot |
|
protectedslot |
|
overrideprotected |
|
protected |
|
protectedslot |
void setCurrentLayer | ( | UUID | layer | ) |
void setModelManager | ( | QTModelManager * | manager | ) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |