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

A popup Editor dialog for showing options or information related to showing all of the materials that a Model might have. More...

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

Protected Member Functions

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

Protected Attributes

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

Additional Inherited Members

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

Detailed Description

A popup Editor dialog for showing options or information related to showing all of the materials that a Model might have.


Constructor & Destructor Documentation

◆ ModelMaterialsDialog()

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

◆ ~ModelMaterialsDialog()

virtual ~ModelMaterialsDialog ( )
virtual

Member Function Documentation

◆ outlineMaterials()

Buffer< Material > outlineMaterials ( )
protected

◆ setHorizontal()

virtual void setHorizontal ( bool horizontal)
finaloverridevirtual

Reimplemented from Editor.

◆ solidMaterials()

Buffer< Material > solidMaterials ( )
protected

◆ updateValues()

virtual 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 file: