|
Krita Source Code Documentation
|
#include <kis_tool_select_similar.h>
Inheritance diagram for KisToolSelectSimilar:Public Slots | |
| void | activate (const QSet< KoShape * > &shapes) override |
| void | deactivate () override |
| void | slotSetOpacitySpread (int) |
| void | slotSetThreshold (int) |
Protected Member Functions | |
| bool | isPixelOnly () const override |
| bool | usesColorLabels () const override |
Protected Attributes | |
| KisSelectionToolConfigWidgetHelper | m_widgetHelper |
Protected Attributes inherited from KisToolSelectBase< BaseClass > | |
| SelectionAction | m_selectionActionAlternate |
| KisSelectionToolConfigWidgetHelper | m_widgetHelper |
Private Attributes | |
| KConfigGroup | m_configGroup |
| int | m_opacitySpread |
| int | m_previousTime |
| KisMergeLabeledLayersCommand::ReferenceNodeInfoListSP | m_referenceNodeList |
| KisPaintDeviceSP | m_referencePaintDevice |
| int | m_threshold |
Additional Inherited Members | |
Public Types inherited from KisToolSelectBase< BaseClass > | |
| enum | SampleLayersMode { SampleAllLayers , SampleCurrentLayer , SampleColorLabeledLayers } |
Definition at line 20 of file kis_tool_select_similar.h.
| KisToolSelectSimilar::KisToolSelectSimilar | ( | KoCanvasBase * | canvas | ) |
Definition at line 39 of file kis_tool_select_similar.cc.
Definition at line 49 of file kis_tool_select_similar.cc.
References KisToolSelectBase< BaseClass >::activate(), and m_configGroup.
|
override |
Definition at line 62 of file kis_tool_select_similar.cc.
References KisToolSelectBase< BaseClass >::antiAliasSelection(), KisToolSelectBase< BaseClass >::beginPrimaryAction(), KisToolSelectBase< BaseClass >::beginSelectInteraction(), bounds, KisToolSelectBase< BaseClass >::colorLabelsSelected(), KisPaintDevice::colorSpace(), KisMergeLabeledLayersCommand::createRefPaintDevice(), KisFillPainter::createSimilarColorsSelectionJobs(), KisStrokeJobData::EXCLUSIVE, KisToolSelectBase< BaseClass >::featherSelection(), KisMergeLabeledLayersCommand::GroupSelectionPolicy_SelectIfColorLabeled, KisToolSelectBase< BaseClass >::growSelection(), KisPixelSelection::invalidateOutlineCache(), KisToolSelectBase< BaseClass >::isMovingSelection(), KIS_SAFE_ASSERT_RECOVER_RETURN, kundo2_i18n(), m_opacitySpread, m_previousTime, m_referenceNodeList, m_referencePaintDevice, m_threshold, KisPaintDevice::pixel(), KisToolSelectBase< BaseClass >::SampleAllLayers, KisToolSelectBase< BaseClass >::SampleColorLabeledLayers, KisToolSelectBase< BaseClass >::SampleCurrentLayer, KisToolSelectBase< BaseClass >::sampleLayersMode(), KisToolSelectBase< BaseClass >::selectionAction(), KisSelectionToolHelper::selectPixelSelection(), KisStrokeJobData::SEQUENTIAL, KisFillPainter::setAntiAlias(), KisFillPainter::setFeather(), KisFillPainter::setFillThreshold(), KisFillPainter::setOpacitySpread(), KisFillPainter::setSizemod(), KisFillPainter::setStopGrowingAtDarkestPixel(), KisStrokeStrategyUndoCommandBased::setSupportsWrapAroundMode(), KisToolSelectBase< BaseClass >::stopGrowingAtDarkestPixel(), and KisCursor::waitCursor().
|
override |
Definition at line 222 of file kis_tool_select_similar.cc.
References KisOptionCollectionWidgetWithHeader::appendWidget(), connect(), KisToolSelectBase< BaseClass >::createOptionWidget(), KisOptionCollectionWidget::insertWidget(), m_configGroup, m_opacitySpread, m_threshold, KisToolSelectBase< BaseClass >::selectionOptionWidget(), KisSliderSpinBox::setRange(), KisSelectionOptions::setStopGrowingAtDarkestPixelButtonVisible(), KisSpinBoxI18nHelper::setText(), KisSliderSpinBox::setValue(), slotSetOpacitySpread(), and slotSetThreshold().
|
overrideslot |
Definition at line 55 of file kis_tool_select_similar.cc.
References KisToolSelectBase< BaseClass >::deactivate(), m_referenceNodeList, and m_referencePaintDevice.
|
override |
Definition at line 200 of file kis_tool_select_similar.cc.
References KisToolSelectBase< BaseClass >::endPrimaryAction(), KisToolSelectBase< BaseClass >::endSelectInteraction(), and KisToolSelectBase< BaseClass >::isMovingSelection().
|
inlineoverrideprotectedvirtual |
Reimplemented from KisToolSelectBase< BaseClass >.
Definition at line 40 of file kis_tool_select_similar.h.
|
inlineoverride |
Definition at line 28 of file kis_tool_select_similar.h.
|
override |
Definition at line 289 of file kis_tool_select_similar.cc.
References KisCursor::load(), SELECTION_ADD, SELECTION_INTERSECT, SELECTION_SUBTRACT, SELECTION_SYMMETRICDIFFERENCE, and KisToolSelectBase< BaseClass >::selectionAction().
|
slot |
Definition at line 216 of file kis_tool_select_similar.cc.
References m_configGroup, and m_opacitySpread.
|
slot |
Definition at line 210 of file kis_tool_select_similar.cc.
References m_configGroup, and m_threshold.
|
inlineoverrideprotectedvirtual |
Reimplemented from KisToolSelectBase< BaseClass >.
Definition at line 41 of file kis_tool_select_similar.h.
|
private |
Definition at line 46 of file kis_tool_select_similar.h.
|
private |
Definition at line 45 of file kis_tool_select_similar.h.
|
private |
Definition at line 49 of file kis_tool_select_similar.h.
|
private |
Definition at line 48 of file kis_tool_select_similar.h.
|
private |
Definition at line 47 of file kis_tool_select_similar.h.
|
private |
Definition at line 44 of file kis_tool_select_similar.h.
|
protected |
Definition at line 535 of file kis_tool_select_base.h.