API Documentation
|
Can adjust the properties of a material using a QCustomSlider widget. More...
#include <MaterialPropertySlider.h>
Public Member Functions | |
void | addTarget (const DynamicPointer< QTDesignObject > &object) override |
MaterialPropertySlider (const DynamicPointer< QTDesignObject > &object, Material::MaterialProperties property, QWidget *parent=nullptr) | |
MaterialPropertySlider (Material::MaterialProperties property, QWidget *parent=nullptr) | |
void | onObjectDeletedSlot () |
void | onTargetUpdated (UUID id) override |
void | refreshFromMaterial (const Material &mat) |
void | removeTarget (const DynamicPointer< QTDesignObject > &object) override |
Public Member Functions inherited from QCustomSlider | |
fltp08 | getValue () const |
QCustomSlider (Qt::Orientation orientation, QWidget *parent=nullptr) | |
QCustomSlider (QWidget *parent=nullptr) | |
void | setMaximum (fltp08 value) |
void | setMinimum (fltp08 value) |
void | setRange (fltp08 min, fltp08 max) |
void | setValue (fltp08 value) |
Public Member Functions inherited from DesignObjectWidgetInterface | |
virtual Bounds< 3, fltp08 > | bounds () const |
void | clearTargets () |
DesignObjectWidgetInterface () | |
QTModelManager * | manager () const |
Buffer< Model > | models () const |
void | setTarget (const DynamicPointer< QTDesignObject > &object) |
void | setTargetID (const UUID &object) |
void | setTargetIDs (const Buffer< UUID > &objects) |
void | setTargets (const Buffer< DynamicPointer< QTDesignObject > > &objects) |
Buffer< UUID > | targetIDs () const |
virtual | ~DesignObjectWidgetInterface () |
Protected Member Functions | |
void | init () |
Protected Member Functions inherited from QCustomSlider | |
void | init () |
fltp08 | sliderScale () const |
Protected Member Functions inherited from DesignObjectWidgetInterface | |
const Dictionary< UUID, DynamicPointer< QTDesignObject > > & | targets () const |
Protected Attributes | |
Material::MaterialProperties | m_property |
Protected Attributes inherited from DesignObjectWidgetInterface | |
DesignObjectInterface * | m_interface |
Additional Inherited Members | |
Signals inherited from QCustomSlider | |
void | edited (fltp08 percent) |
void | editedingFinished () |
Protected Slots inherited from QCustomSlider | |
void | onEditedSlot () |
Can adjust the properties of a material using a QCustomSlider widget.
MaterialPropertySlider | ( | const DynamicPointer< QTDesignObject > & | object, |
Material::MaterialProperties | property, | ||
QWidget * | parent = nullptr ) |
MaterialPropertySlider | ( | Material::MaterialProperties | property, |
QWidget * | parent = nullptr ) |
|
inlineoverridevirtual |
Reimplemented from DesignObjectWidgetInterface.
|
protected |
|
inline |
|
overridevirtual |
Reimplemented from DesignObjectWidgetInterface.
|
inline |
|
inlineoverridevirtual |
Reimplemented from DesignObjectWidgetInterface.
|
protected |