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

#include <ModelMaterialsDialog.h>

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

Public Member Functions

 ModelMaterialsDialog (const DynamicPointer< QTDesignObject > &object, QWidget *parent=nullptr)
 
virtual ~ModelMaterialsDialog ()
 
virtual void setHorizontal (bool horizontal) final override
 
- Public Member Functions inherited from Editor
 Editor (QWidget *parent=nullptr)
 
 Editor (const DynamicPointer< QTDesignObject > &object, QWidget *parent=nullptr)
 
virtual bool fullscreenTouch () const
 
virtual bool allowDocking () const
 
virtual TranslatedString customDialogTitle () const
 
virtual String customDialogIcon () const
 
virtual InterfaceOrientationControllerorientationController () const
 
virtual Buffer< QWidget * > printableWidgets ()
 
virtual Buffer< QWidget * > printableWidgetOptions ()
 
virtual Buffer< QWidget * > bottomOptions ()
 
virtual void setTarget (const DynamicPointer< QTDesignObject > &object)
 
virtual void requestScrollEnabled (bool enabled)
 
const DynamicPointer< QTDesignObject > & target () const
 
virtual void setup (DesignObjectDialog *, const ShowPropertiesSettings &)
 
virtual bool isBusy () const
 

Protected Member Functions

Buffer< MaterialsolidMaterials ()
 
Buffer< MaterialoutlineMaterials ()
 
virtual void updateValues () final override
 

Protected Attributes

QCustomScrollAream_scroll_area
 
QCustomToolBoxm_toolbox = nullptr
 
Buffer< Materialm_last_solid_mats
 
Buffer< Materialm_last_outline_mats
 
Buffer< Editor * > m_editors
 
- Protected Attributes inherited from Editor
InterfaceOrientationControllerm_orientation_controller
 
DynamicPointer< QTDesignObjectm_design_object
 

Additional Inherited Members

- Signals inherited from Editor
void objectUpdatedSignal ()
 
void isBusyStatusChanged ()
 
- Protected Slots inherited from Editor
void onDesignObjectUpdateSlot ()
 

Constructor & Destructor Documentation

◆ ModelMaterialsDialog()

ModelMaterialsDialog ( const DynamicPointer< QTDesignObject > & object,
QWidget * parent = nullptr )

◆ ~ModelMaterialsDialog()

~ModelMaterialsDialog ( )
virtual

Member Function Documentation

◆ outlineMaterials()

Buffer< Material > outlineMaterials ( )
protected

◆ setHorizontal()

void setHorizontal ( bool horizontal)
finaloverridevirtual

Reimplemented from Editor.

◆ solidMaterials()

Buffer< Material > solidMaterials ( )
protected

◆ updateValues()

void updateValues ( )
finaloverrideprotectedvirtual

Implements Editor.

Member Data Documentation

◆ m_editors

Buffer<Editor*> m_editors
protected

◆ m_last_outline_mats

Buffer<Material> m_last_outline_mats
protected

◆ m_last_solid_mats

Buffer<Material> m_last_solid_mats
protected

◆ m_scroll_area

QCustomScrollArea* m_scroll_area
protected

◆ m_toolbox

QCustomToolBox* m_toolbox = nullptr
protected

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