API Documentation
|
#include <MaterialPropertySlider.h>
Public Member Functions | |
MaterialPropertySlider (const DynamicPointer< QTDesignObject > &object, Material::MaterialProperties property, QWidget *parent=nullptr) | |
MaterialPropertySlider (Material::MaterialProperties property, QWidget *parent=nullptr) | |
void | addTarget (const DynamicPointer< QTDesignObject > &object) override |
void | removeTarget (const DynamicPointer< QTDesignObject > &object) override |
void | refreshFromMaterial (const Material &mat) |
void | onTargetUpdated (UUID id) override |
void | onObjectDeletedSlot () |
Public Member Functions inherited from QCustomSlider | |
QCustomSlider (Qt::Orientation orientation, QWidget *parent=nullptr) | |
QCustomSlider (QWidget *parent=nullptr) | |
fltp08 | getValue () const |
void | setValue (fltp08 value) |
void | setMaximum (fltp08 value) |
void | setMinimum (fltp08 value) |
void | setRange (fltp08 min, fltp08 max) |
Public Member Functions inherited from DesignObjectWidgetInterface | |
DesignObjectWidgetInterface () | |
virtual | ~DesignObjectWidgetInterface () |
void | clearTargets () |
void | setTarget (const DynamicPointer< QTDesignObject > &object) |
void | setTargets (const Buffer< DynamicPointer< QTDesignObject > > &objects) |
void | setTargetID (const UUID &object) |
void | setTargetIDs (const Buffer< UUID > &objects) |
virtual Bounds< 3, fltp08 > | bounds () const |
Buffer< UUID > | targetIDs () const |
Buffer< Model > | models () const |
QTModelManager * | manager () const |
Protected Member Functions | |
void | init () |
Protected Member Functions inherited from QCustomSlider | |
fltp08 | sliderScale () const |
void | init () |
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 () |
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 |