|
Krita Source Code Documentation
|
#include <KisSprayShapeOptionWidget.h>
Inheritance diagram for KisSprayShapeOptionWidget:Classes | |
| struct | Private |
Public Types | |
| using | data_type = KisSprayShapeOptionData |
Public Types inherited from KisPaintOpOption | |
| using | OptionalLodLimitationsReader = std::optional<lager::reader<KisPaintopLodLimitations>> |
| enum | PaintopCategory { GENERAL , COLOR , TEXTURE , FILTER , MASKING_BRUSH } |
Private Attributes | |
| const QScopedPointer< Private > | m_d |
Additional Inherited Members | |
Signals inherited from KisPaintOpOption | |
| void | sigCheckedChanged (bool value) |
| void | sigEnabledChanged (bool value) |
| void | sigSettingChanged () |
Protected Slots inherited from KisPaintOpOption | |
| void | emitCheckedChanged (bool checked) |
| void | emitEnabledChanged (bool enabled) |
| void | emitSettingChanged () |
Protected Member Functions inherited from KisPaintOpOption | |
| KoCanvasResourcesInterfaceSP | canvasResourcesInterface () const |
| virtual OptionalLodLimitationsReader | lodLimitationsReader () const |
| KisResourcesInterfaceSP | resourcesInterface () const |
| void | setConfigurationPage (QWidget *page) |
Protected Attributes inherited from KisPaintOpOption | |
| bool | m_checkable {false} |
| bool | m_locked {false} |
Definition at line 16 of file KisSprayShapeOptionWidget.h.
Definition at line 20 of file KisSprayShapeOptionWidget.h.
| KisSprayShapeOptionWidget::KisSprayShapeOptionWidget | ( | lager::cursor< KisSprayShapeOptionData > | optionData, |
| lager::cursor< int > | diameter, | ||
| lager::cursor< qreal > | scale ) |
Definition at line 57 of file KisSprayShapeOptionWidget.cpp.
References connect(), KisPaintOpOption::emitSettingChanged(), KisPaintOpOption::m_checkable, m_d, KisPaintOpOption::setConfigurationPage(), KisAspectRatioLocker::sliderValueChanged(), and value().
| KisSprayShapeOptionWidget::~KisSprayShapeOptionWidget | ( | ) |
Definition at line 106 of file KisSprayShapeOptionWidget.cpp.
|
overridevirtual |
Re-implement this to set the widgets with the values in setting.
Reimplemented from KisPaintOpOption.
Definition at line 116 of file KisSprayShapeOptionWidget.cpp.
References KisSharedPtr< T >::data(), m_d, and KisSprayShapeOptionData::read().
|
overridevirtual |
Re-implement this to save the configuration to the paint configuration.
Reimplemented from KisPaintOpOption.
Definition at line 110 of file KisSprayShapeOptionWidget.cpp.
References KisSharedPtr< T >::data(), m_d, and KisSprayShapeOptionData::write().
|
private |
Definition at line 30 of file KisSprayShapeOptionWidget.h.