Gui::Dialog::DlgMaterialPropertiesImp Class Reference

#include <DlgMaterialPropertiesImp.h>

Public Slots

void on_ambientColor_changed ()
 Sets the ambient color. More...
 
void on_diffuseColor_changed ()
 Sets the diffuse color. More...
 
void on_emissiveColor_changed ()
 Sets the emissive color. More...
 
void on_shininess_valueChanged (int)
 Sets the current shininess. More...
 
void on_specularColor_changed ()
 Sets the specular color. More...
 

Public Member Functions

QColor diffuseColor () const
 
 DlgMaterialPropertiesImp (const std::string &mat, QWidget *parent=nullptr, Qt::WindowFlags fl=Qt::WindowFlags())
 Constructs a Gui::Dialog::DlgMaterialPropertiesImp as a child of 'parent', with the name 'name' and widget flags set to 'f'. More...
 
void setViewProviders (const std::vector< Gui::ViewProvider * > &)
 Sets the document objects and their view providers to manipulate the material. More...
 
 ~DlgMaterialPropertiesImp ()
 Destroys the object and frees any allocated resources. More...
 

Constructor & Destructor Documentation

◆ DlgMaterialPropertiesImp()

DlgMaterialPropertiesImp::DlgMaterialPropertiesImp ( const std::string &  mat,
QWidget parent = nullptr,
Qt::WindowFlags  fl = Qt::WindowFlags() 
)

Constructs a Gui::Dialog::DlgMaterialPropertiesImp as a child of 'parent', with the name 'name' and widget flags set to 'f'.

The dialog will by default be modeless, unless you set 'modal' to true to construct a modal dialog.

◆ ~DlgMaterialPropertiesImp()

DlgMaterialPropertiesImp::~DlgMaterialPropertiesImp ( )

Destroys the object and frees any allocated resources.

Member Function Documentation

◆ diffuseColor()

QColor DlgMaterialPropertiesImp::diffuseColor ( ) const

◆ on_ambientColor_changed

◆ on_diffuseColor_changed

◆ on_emissiveColor_changed

◆ on_shininess_valueChanged

void DlgMaterialPropertiesImp::on_shininess_valueChanged ( int  sh)
slot

◆ on_specularColor_changed

◆ setViewProviders()


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