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

#include <MaterialWidget.h>

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

Signals

void computedColorChosenSignal ()
 
void solidColorChosenSignal ()
 
void colorChannelChosenSignal ()
 

Public Member Functions

 MaterialWidget (QWidget *parent=nullptr)
 
 MaterialWidget (const DynamicPointer< QTDesignObject > &material, QWidget *parent=nullptr)
 
void setTarget (const DynamicPointer< QTDesignObject > &target)
 

Protected Member Functions

void setup ()
 
void updateFromMaterial (const Model &model, const Material &mat)
 
void updateFromColor ()
 

Protected Attributes

QCustomComboBoxm_color_combo
 
DynamicPointer< QTDesignObjectm_target
 
ColorChannelCombom_color_channel_combo
 
ColorChooserButtonm_color_chooser_button
 
PropertiesButtonm_properties_button
 
TimeSpan m_animation_time
 

Constructor & Destructor Documentation

◆ MaterialWidget() [1/2]

MaterialWidget ( QWidget * parent = nullptr)

◆ MaterialWidget() [2/2]

MaterialWidget ( const DynamicPointer< QTDesignObject > & material,
QWidget * parent = nullptr )

Member Function Documentation

◆ colorChannelChosenSignal

void colorChannelChosenSignal ( )
signal

◆ computedColorChosenSignal

void computedColorChosenSignal ( )
signal

◆ setTarget()

void setTarget ( const DynamicPointer< QTDesignObject > & target)

◆ setup()

void setup ( )
protected

◆ solidColorChosenSignal

void solidColorChosenSignal ( )
signal

◆ updateFromColor()

void updateFromColor ( )
protected

◆ updateFromMaterial()

void updateFromMaterial ( const Model & model,
const Material & mat )
protected

Member Data Documentation

◆ m_animation_time

TimeSpan m_animation_time
protected

◆ m_color_channel_combo

ColorChannelCombo* m_color_channel_combo
protected

◆ m_color_chooser_button

ColorChooserButton* m_color_chooser_button
protected

◆ m_color_combo

QCustomComboBox* m_color_combo
protected

◆ m_properties_button

PropertiesButton* m_properties_button
protected

◆ m_target

DynamicPointer<QTDesignObject> m_target
protected

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