|
Krita Source Code Documentation
|
#include <KisMaskingBrushOption.h>
Inheritance diagram for KisMaskingBrushOption:Classes | |
| struct | Private |
Private Slots | |
| void | slotCompositeModePropertyChanged (const QString &value) |
| void | slotCompositeModeWidgetChanged (int index) |
Private Attributes | |
| const QScopedPointer< Private > | m_d |
Additional Inherited Members | |
Public Types inherited from KisPaintOpOption | |
| using | OptionalLodLimitationsReader = std::optional<lager::reader<KisPaintopLodLimitations>> |
| enum | PaintopCategory { GENERAL , COLOR , TEXTURE , FILTER , MASKING_BRUSH } |
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 17 of file KisMaskingBrushOption.h.
| KisMaskingBrushOption::KisMaskingBrushOption | ( | lager::reader< qreal > | effectiveBrushSize | ) |
Definition at line 210 of file KisMaskingBrushOption.cpp.
References connect(), KisPaintOpOption::emitSettingChanged(), KisPaintOpOption::isEnabled(), m_d, KisPaintOpOption::setChecked(), KisPaintOpOption::setConfigurationPage(), KisPaintOpOption::sigCheckedChanged(), slotCompositeModePropertyChanged(), and slotCompositeModeWidgetChanged().
|
override |
Definition at line 241 of file KisMaskingBrushOption.cpp.
|
overridevirtual |
Reimplemented from KisPaintOpOption.
Definition at line 278 of file KisMaskingBrushOption.cpp.
References KisBrushModel::brushLodLimitations(), and m_d.
| lager::reader< bool > KisMaskingBrushOption::maskingBrushEnabledReader | ( | ) | const |
Definition at line 283 of file KisMaskingBrushOption.cpp.
References KisBrushModel::MaskingBrushData::isEnabled, and m_d.
|
overridevirtual |
Re-implement this to set the widgets with the values in setting.
Reimplemented from KisPaintOpOption.
Definition at line 261 of file KisMaskingBrushOption.cpp.
References KisBrushModel::BrushData::autoBrush, KisBrushModel::MaskingBrushData::brush, KisSharedPtr< T >::data(), KisBrushModel::effectiveSizeForBrush(), m_d, KisBrushModel::BrushData::predefinedBrush, KisBrushModel::MaskingBrushData::read(), KisPaintOpOption::resourcesInterface(), KisBrushModel::BrushData::textBrush, and KisBrushModel::BrushData::type.
|
overridevirtual |
Reimplement this to use the image in the option widget
Reimplemented from KisPaintOpOption.
Definition at line 273 of file KisMaskingBrushOption.cpp.
References m_d.
|
privateslot |
Definition at line 293 of file KisMaskingBrushOption.cpp.
References KIS_SAFE_ASSERT_RECOVER_RETURN, m_d, and value().
|
privateslot |
|
overridevirtual |
Re-implement this to save the configuration to the paint configuration.
Reimplemented from KisPaintOpOption.
Definition at line 246 of file KisMaskingBrushOption.cpp.
References KisSharedPtr< T >::data(), m_d, KisBrushModel::MaskingBrushData::masterSizeCoeff, and KisBrushModel::MaskingBrushData::write().
|
private |
Definition at line 39 of file KisMaskingBrushOption.h.