API Documentation
|
Can adjust the pixel thickness of a material using a QCustomSlider widget. More...
#include <MaterialPropertySlider.h>
Public Member Functions | |
PixelThicknessSlider (const DynamicPointer< QTDesignObject > &object, QWidget *parent=nullptr) | |
PixelThicknessSlider (QWidget *parent=nullptr) | |
Public Member Functions inherited from MaterialPropertySlider | |
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 () |
Additional Inherited Members | |
Signals inherited from QCustomSlider | |
void | edited (fltp08 percent) |
void | editedingFinished () |
Protected Slots inherited from QCustomSlider | |
void | onEditedSlot () |
Protected Member Functions inherited from MaterialPropertySlider | |
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 inherited from MaterialPropertySlider | |
Material::MaterialProperties | m_property |
Protected Attributes inherited from DesignObjectWidgetInterface | |
DesignObjectInterface * | m_interface |
Can adjust the pixel thickness of a material using a QCustomSlider widget.
|
inline |
|
inline |