API Documentation
Loading...
Searching...
No Matches
LayerWidget Class Reference

A widget that allows the user to set or interface with the current layer. More...

#include <LayerWidget.h>

Inheritance diagram for LayerWidget:
[legend]
Collaboration diagram for LayerWidget:
[legend]

Signals

void currentLayerChangedSignal ()
 

Public Member Functions

void clearCurrentLayer ()
 
DynamicPointer< QTDesignObjectcurrentLayer () 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< QTDesignObjectm_current_layer
 
Dictionary< UUID, UUIDm_layer_material_lookup
 
LayerModelm_layer_model
 
LayerTablem_layer_table
 
QTModelManagerm_manager
 
Ui::LayerWidgetUI * ui
 

Detailed Description

A widget that allows the user to set or interface with the current layer.


Constructor & Destructor Documentation

◆ LayerWidget() [1/2]

LayerWidget ( QTModelManager * manager,
QWidget * parent = nullptr )

◆ LayerWidget() [2/2]

LayerWidget ( QWidget * parent = nullptr)

Member Function Documentation

◆ clearCurrentLayer()

void clearCurrentLayer ( )

◆ currentLayer()

DynamicPointer< QTDesignObject > currentLayer ( ) const

◆ currentLayerChangedSignal

void currentLayerChangedSignal ( )
signal

◆ currentLayerDeletedSlot

void currentLayerDeletedSlot ( )
protectedslot

◆ currentLayerUpdatedSlot

void currentLayerUpdatedSlot ( )
protectedslot

◆ event()

bool event ( QEvent * ev)
overrideprotected

◆ init()

void init ( )
protected

◆ layerSelectedSlot

void layerSelectedSlot ( UUID layer)
protectedslot

◆ objectsSelectedSlot

void objectsSelectedSlot ( Buffer< UUID > objects,
bool selected )
protectedslot

◆ setCurrentLayer()

void setCurrentLayer ( UUID layer)

◆ setModelManager()

void setModelManager ( QTModelManager * manager)

◆ updateLayerCombo()

void updateLayerCombo ( )
protected

◆ updateWidget()

void updateWidget ( )
protected

Member Data Documentation

◆ m_current_layer

DynamicPointer<QTDesignObject> m_current_layer
protected

◆ m_layer_material_lookup

Dictionary<UUID, UUID> m_layer_material_lookup
protected

◆ m_layer_model

LayerModel* m_layer_model
protected

◆ m_layer_table

LayerTable* m_layer_table
protected

◆ m_manager

QTModelManager* m_manager
protected

◆ ui

Ui::LayerWidgetUI* ui
protected

The documentation for this class was generated from the following file: