|
Krita Source Code Documentation
|
#include <kis_tool_brush.h>
Inheritance diagram for KisToolBrush:Signals | |
| void | delayDistanceChanged () |
| void | finishStabilizedCurveChanged () |
| void | smoothingTypeChanged () |
| void | smoothnessFactorChanged () |
| void | smoothnessQualityChanged () |
| void | smoothPressureChanged () |
| void | stabilizeSensorsChanged () |
| void | useDelayDistanceChanged () |
| void | useScalableDistanceChanged () |
Signals inherited from KisToolPaint | |
| void | sigPaintingFinished () |
Signals inherited from KisTool | |
| void | isActiveChanged (bool isActivated) |
Signals inherited from KoToolBase | |
| void | activateTool (const QString &id) |
| void | cursorChanged (const QCursor &cursor) |
| void | selectionChanged (bool hasSelection) |
| void | statusTextChanged (const QString &statusText) |
| void | textModeChanged (bool inTextMode) |
Public Member Functions | |
| QWidget * | createOptionWidget () override |
| qreal | delayDistance () const |
| bool | finishStabilizedCurve () const |
| KisToolBrush (KoCanvasBase *canvas) | |
| int | smoothingType () const |
| qreal | smoothnessFactor () const |
| int | smoothnessQualityMax () const |
| int | smoothnessQualityMin () const |
| bool | smoothPressure () const |
| bool | stabilizeSensors () const |
| bool | useDelayDistance () const |
| bool | useScalableDistance () const |
| ~KisToolBrush () override | |
Public Member Functions inherited from KisToolFreehand | |
| int | flags () const override |
| KisToolFreehand (KoCanvasBase *canvas, const QCursor &cursor, const KUndo2MagicString &transactionText, bool useSavedSmoothing=true) | |
| void | mouseMoveEvent (KoPointerEvent *event) override |
| ~KisToolFreehand () override | |
Public Member Functions inherited from KisToolPaint | |
| int | flags () const override |
| KisToolPaint (KoCanvasBase *canvas, const QCursor &cursor) | |
| void | mouseMoveEvent (KoPointerEvent *event) override |
| void | mousePressEvent (KoPointerEvent *event) override |
| void | mouseReleaseEvent (KoPointerEvent *event) override |
| KisPopupWidgetInterface * | popupWidget () override |
| ~KisToolPaint () override | |
Public Member Functions inherited from KisTool | |
| virtual bool | alternateActionSupportsHiResEvents (AlternateAction action) const |
| virtual void | beginAlternateDoubleClickAction (KoPointerEvent *event, AlternateAction action) |
| virtual void | beginPrimaryDoubleClickAction (KoPointerEvent *event) |
| void | deleteSelection () override |
| bool | isActive () const |
| KisTool (KoCanvasBase *canvas, const QCursor &cursor) | |
| void | mouseDoubleClickEvent (KoPointerEvent *event) override |
| void | mouseTripleClickEvent (KoPointerEvent *event) override |
| virtual void | newActivationWithExternalSource (KisPaintDeviceSP externalSource) |
| newActivationWithExternalSource Makes sure that the tool is active and starts a new stroke, which will be able to access the pixels from the specified external source. | |
| KisTool::NodePaintAbility | nodePaintAbility () |
| ~KisTool () override | |
Public Member Functions inherited from Private | |
| Private (KisCanvas2 *c) | |
Public Member Functions inherited from KoToolBase | |
| QAction * | action (const QString &name) const |
| KoCanvasBase * | canvas () const |
| Returns the canvas the tool is working on. | |
| virtual void | copy () const |
| QCursor | cursor () const |
| return the last emitted cursor | |
| virtual void | customMoveEvent (KoPointerEvent *event) |
| virtual void | customPressEvent (KoPointerEvent *event) |
| virtual void | customReleaseEvent (KoPointerEvent *event) |
| virtual void | cut () |
| virtual QRectF | decorationsRect () const |
| int | decorationThickness () const |
| decorationThickness The minimum thickness for tool decoration lines, this is derived from the screen magnification, thus the HiDPI settings. Note: to use this effectively, also set the pen to isCosmetic(true); | |
| virtual void | deselect () |
| deselect the tool should clear the selection if it has one. | |
| virtual void | dragLeaveEvent (QDragLeaveEvent *event) |
| virtual void | dragMoveEvent (QDragMoveEvent *event, const QPointF &point) |
| virtual void | dropEvent (QDropEvent *event, const QPointF &point) |
| virtual void | explicitUserStrokeEndRequest () |
| explicitUserStrokeEndRequest is called by the input manager when the user presses Enter key or any equivalent. This callback comes before requestStrokeEnd(), which comes from a different source. | |
| KoToolFactoryBase * | factory () const |
| virtual void | focusInEvent (QFocusEvent *event) |
| virtual void | focusOutEvent (QFocusEvent *event) |
| virtual bool | hasSelection () |
| virtual void | inputMethodEvent (QInputMethodEvent *event) |
| virtual QVariant | inputMethodQuery (Qt::InputMethodQuery query) const |
| bool | isInTextMode () const |
| bool | isOpacityPresetMode () const |
| virtual void | keyPressEvent (QKeyEvent *event) |
| virtual void | keyReleaseEvent (QKeyEvent *event) |
| KoToolBase (KoCanvasBase *canvas) | |
| bool | maskSyntheticEvents () const |
| QList< QPointer< QWidget > > | optionWidgets () |
| virtual bool | paste () |
| virtual QMenu * | popupActionsMenu () |
| virtual bool | selectAll () |
| selectAll select all data the tool can select. | |
| virtual KoToolSelection * | selection () |
| Q_INVOKABLE QString | toolId () const |
| ~KoToolBase () override | |
Protected Slots | |
| void | resetCursorStyle () override |
Protected Slots inherited from KisToolFreehand | |
| void | explicitUpdateOutline () |
| void | resetCursorStyle () override |
| void | setAssistant (bool assistant) |
| void | setOnlyOneAssistantSnap (bool assistant) |
| void | setSnapEraser (bool assistant) |
| void | slotDoResizeBrush (qreal newSize) |
Protected Slots inherited from KisTool | |
| virtual void | resetCursorStyle () |
Protected Attributes | |
| KConfigGroup | m_configGroup |
Protected Attributes inherited from KisToolFreehand | |
| bool | m_assistant {false} |
| bool | m_eraser_snapping {false} |
| double | m_magnetism {1.0} |
| bool | m_only_one_assistant {true} |
Protected Attributes inherited from KisToolPaint | |
| KisOptimizedBrushOutline | m_currentOutline |
| QRectF | m_oldColorPreviewUpdateRect |
| QRectF | m_oldOutlineRect |
| QPointF | m_outlineDocPoint |
| bool | m_paintOutline {false} |
Protected Attributes inherited from KoToolBase | |
| KoToolBasePrivate * | d_ptr |
Properties | |
| qreal | delayDistance |
| bool | finishStabilizedCurve |
| int | smoothingType |
| qreal | smoothnessFactor |
| int | smoothnessQualityMax |
| int | smoothnessQualityMin |
| bool | smoothPressure |
| bool | stabilizeSensors |
| bool | useDelayDistance |
| bool | useScalableDistance |
Properties inherited from KisTool | |
| bool | isActive |
Private Member Functions | |
| void | addSmoothingAction (int enumId, const QString &id) |
| void | updateSmoothnessDistanceLabel () |
Private Attributes | |
| QCheckBox * | m_chkAssistant {0} |
| QCheckBox * | m_chkDelayDistance {0} |
| QCheckBox * | m_chkFinishStabilizedCurve {0} |
| QCheckBox * | m_chkOnlyOneAssistant {0} |
| QCheckBox * | m_chkSmoothPressure {0} |
| QCheckBox * | m_chkSnapEraser {0} |
| QCheckBox * | m_chkStabilizeSensors {0} |
| QCheckBox * | m_chkUseScalableDistance {0} |
| QComboBox * | m_cmbSmoothingType {0} |
| KoAspectButton * | m_distanceAspectButton {0} |
| QLabel * | m_lblSmoothnessDistanceMax {0} |
| QLabel * | m_lblSmoothnessDistanceMin {0} |
| KisSignalMapper | m_signalMapper |
| KisDoubleSliderSpinBox * | m_sliderDelayDistance {0} |
| KisSliderSpinBox * | m_sliderMagnetism {0} |
| KisDoubleSliderSpinBox * | m_sliderSmoothnessDistanceMax {0} |
| KisDoubleSliderSpinBox * | m_sliderSmoothnessDistanceMin {0} |
| KisDoubleSliderSpinBox * | m_sliderTailAggressiveness {0} |
Additional Inherited Members | |
Public Types inherited from KisTool | |
| enum | { FLAG_USES_CUSTOM_PRESET =0x01 , FLAG_USES_CUSTOM_COMPOSITEOP =0x02 , FLAG_USES_CUSTOM_SIZE =0x04 } |
| enum | AlternateAction { ChangeSize = AlternateChangeSize , ChangeSizeSnap = AlternateChangeSizeSnap , SampleFgNode = AlternateSampleFgNode , SampleBgNode = AlternateSampleBgNode , SampleFgImage = AlternateSampleFgImage , SampleBgImage = AlternateSampleBgImage , Secondary = AlternateSecondary , Third = AlternateThird , Fourth = AlternateFourth , Fifth = AlternateFifth , NONE = 10000 } |
| enum | NodePaintAbility { VECTOR , CLONE , PAINT , UNPAINTABLE , MYPAINTBRUSH_UNPAINTABLE } |
| enum | ToolAction { Primary , AlternateChangeSize , AlternateChangeSizeSnap , AlternateSampleFgNode , AlternateSampleBgNode , AlternateSampleFgImage , AlternateSampleBgImage , AlternateSecondary , AlternateThird , AlternateFourth , AlternateFifth , Alternate_NONE = 10000 } |
Static Public Member Functions inherited from KisTool | |
| static AlternateAction | actionToAlternateAction (ToolAction action) |
Public Attributes inherited from KisTool | |
| KoColor | currentBgColor |
| float | currentExposure {1.0} |
| KoColor | currentFgColor |
| KisFilterConfigurationSP | currentGenerator |
| KoAbstractGradientSP | currentGradient |
| KoPatternSP | currentPattern |
| QCursor | cursor |
| bool | m_isActive {false} |
| ToolMode | m_mode {HOVER_MODE} |
| QWidget * | optionWidget {0} |
Public Attributes inherited from Private | |
| KisCanvas2 * | canvas |
| int | displayedFrame |
| int | intendedFrame |
Protected Types inherited from KisTool | |
| enum | ToolMode : int { HOVER_MODE , PAINT_MODE , SECONDARY_PAINT_MODE , MIRROR_AXIS_SETUP_MODE , GESTURE_MODE , PAN_MODE , OTHER , OTHER_1 } |
Protected Member Functions inherited from KisToolFreehand | |
| void | activateAlternateAction (AlternateAction action) override |
| void | beginAlternateAction (KoPointerEvent *event, AlternateAction action) override |
| void | beginPrimaryAction (KoPointerEvent *event) override |
| void | continueAlternateAction (KoPointerEvent *event, AlternateAction action) override |
| void | continuePrimaryAction (KoPointerEvent *event) override |
| void | deactivateAlternateAction (AlternateAction action) override |
| virtual void | doStroke (KoPointerEvent *event) |
| void | endAlternateAction (KoPointerEvent *event, AlternateAction action) override |
| void | endPrimaryAction (KoPointerEvent *event) override |
| virtual void | endStroke () |
| KisOptimizedBrushOutline | getOutlinePath (const QPointF &documentPos, const KoPointerEvent *event, KisPaintOpSettings::OutlineMode outlineMode) override |
| virtual void | initStroke (KoPointerEvent *event) |
| KisPaintingInformationBuilder * | paintingInformationBuilder () const |
| bool | primaryActionSupportsHiResEvents () const override |
| void | resetHelper (KisToolFreehandHelper *helper) |
| KisSmoothingOptionsSP | smoothingOptions () const |
| bool | supportsPaintingAssistants () const override |
| bool | trySampleByPaintOp (KoPointerEvent *event, AlternateAction action) |
| bool | wantsAutoScroll () const override |
Protected Member Functions inherited from KisToolPaint | |
| void | activateAlternateAction (AlternateAction action) override |
| void | activatePrimaryAction () override |
| void | addOptionWidgetLayout (QLayout *layout) |
| Add the tool-specific layout to the default option widget layout. | |
| virtual void | addOptionWidgetOption (QWidget *control, QWidget *label=nullptr) |
| Add a widget and a label to the current option widget layout. | |
| void | beginAlternateAction (KoPointerEvent *event, AlternateAction action) override |
| void | canvasResourceChanged (int key, const QVariant &v) override |
| void | continueAlternateAction (KoPointerEvent *event, AlternateAction action) override |
| QWidget * | createOptionWidget () override |
| void | deactivateAlternateAction (AlternateAction action) override |
| void | deactivatePrimaryAction () override |
| void | enableControl (QWidget *control, bool value) |
| void | endAlternateAction (KoPointerEvent *event, AlternateAction action) override |
| bool | isEraser () const |
| bool | isOutlineEnabled () const |
| bool | isOutlineVisible () const |
| void | paint (QPainter &gc, const KoViewConverter &converter) override |
| virtual QString | quickHelp () const |
| virtual void | requestUpdateOutline (const QPointF &outlineDocPoint, const KoPointerEvent *event) |
| void | setMode (ToolMode mode) override |
| void | setOutlineEnabled (bool enabled) |
| void | setOutlineVisible (bool visible) |
| void | setSupportOutline (bool supportOutline) |
| void | showControl (QWidget *control, bool value) |
Protected Member Functions inherited from KisTool | |
| bool | blockUntilOperationsFinished () |
| void | blockUntilOperationsFinishedForced () |
| QPointF | convertDocumentToWidget (const QPointF &pt) |
| QPoint | convertToImagePixelCoordFloored (KoPointerEvent *e) |
| QPointF | convertToPixelCoord (const QPointF &pt) |
| QPointF | convertToPixelCoord (KoPointerEvent *e) |
| QPointF | convertToPixelCoordAndAlignOnWidget (const QPointF &pt) |
| QPointF | convertToPixelCoordAndSnap (const QPointF &pt, const QPointF &offset=QPointF()) |
| QPointF | convertToPixelCoordAndSnap (KoPointerEvent *e, const QPointF &offset=QPointF(), bool useModifiers=true) |
| QRectF | convertToPt (const QRectF &rect) |
| qreal | convertToPt (qreal value) |
| KoColor | currentBgColor () |
| KoColor | currentFgColor () |
| KisFilterConfigurationSP | currentGenerator () |
| KoAbstractGradientSP | currentGradient () |
| KisImageWSP | currentImage () |
| KisNodeSP | currentNode () const |
| KisPaintOpPresetSP | currentPaintOpPreset () |
| KoPatternSP | currentPattern () |
| QCursor | cursor () const |
| KisImageWSP | image () const |
| virtual bool | listeningToModifiers () |
| virtual void | listenToModifiers (bool listen) |
| virtual ToolMode | mode () const |
| bool | nodeEditable () |
| Checks checks if the current node is editable. | |
| bool | overrideCursorIfNotEditable () |
| Override the cursor appropriately if current node is not editable. | |
| void | paintToolOutline (QPainter *painter, const KisOptimizedBrushOutline &path) |
| KisOptimizedBrushOutline | pixelToView (const KisOptimizedBrushOutline &path) const |
| QPainterPath | pixelToView (const QPainterPath &pixelPath) const |
| Convert a pixel path into a view path. | |
| QPointF | pixelToView (const QPoint &pixelCoord) const |
| QPointF | pixelToView (const QPointF &pixelCoord) const |
| Convert a floating point pixel coordinate into a view coordinate. | |
| QPolygonF | pixelToView (const QPolygonF &pixelPolygon) const |
| Convert a pixel polygon into a view path. | |
| QRectF | pixelToView (const QRectF &pixelRect) const |
| Convert a pixel rectangle into a view rectangle. | |
| KisNodeList | selectedNodes () const |
| bool | selectionEditable () |
| Checks checks if the selection is editable, only applies to local selection as global selection is always editable. | |
| void | setCursor (const QCursor &cursor) |
| void | updateCanvasPixelRect (const QRectF &pixelRect) |
| Update the canvas for the given rectangle in image pixel coordinates. | |
| void | updateCanvasViewRect (const QRectF &viewRect) |
| Update the canvas for the given rectangle in view coordinates. | |
| QPointF | viewToPixel (const QPointF &viewCoord) const |
| QPointF | widgetCenterInWidgetPixels () |
Protected Member Functions inherited from KoToolBase | |
| virtual QList< QPointer< QWidget > > | createOptionWidgets () |
| int | grabSensitivity () const |
| Convenience function to get the current grab sensitivity. | |
| qreal | handleDocRadius () const |
| QRectF | handleGrabRect (const QPointF &position) const |
| QRectF | handlePaintRect (const QPointF &position) const |
| int | handleRadius () const |
| Convenience function to get the current handle radius. | |
| bool | isActivated () const |
| KoToolBase (KoToolBasePrivate &dd) | |
| KoPointerEvent * | lastDeliveredPointerEvent () const |
| void | setAbstractResource (KoAbstractCanvasResourceInterfaceSP abstractResource) |
| void | setConverter (KoDerivedResourceConverterSP converter) |
| void | setIsOpacityPresetMode (bool value) |
| void | setMaskSyntheticEvents (bool value) |
| void | setTextMode (bool value) |
| QHash< int, KoAbstractCanvasResourceInterfaceSP > | toolAbstractResources () |
| QHash< int, KoDerivedResourceConverterSP > | toolConverters () |
| void | useCursor (const QCursor &cursor) |
Definition at line 36 of file kis_tool_brush.h.
| KisToolBrush::KisToolBrush | ( | KoCanvasBase * | canvas | ) |
Definition at line 55 of file kis_tool_brush.cc.
References addSmoothingAction(), connect(), KisSmoothingOptions::NO_SMOOTHING, KisSmoothingOptions::PIXEL_PERFECT, resetCursorStyle(), KoToolBase::setIsOpacityPresetMode(), KisSmoothingOptions::SIMPLE_SMOOTHING, smoothingTypeChanged(), KisSmoothingOptions::STABILIZER, and KisSmoothingOptions::WEIGHTED_SMOOTHING.
|
override |
Definition at line 72 of file kis_tool_brush.cc.
Definition at line 76 of file kis_tool_brush.cc.
References KoToolBase::action(), KisToolFreehand::activate(), connect(), m_chkAssistant, m_configGroup, m_signalMapper, KoToolBase::optionWidgets(), slotSetSmoothingType(), and KoToolBase::toolId().
|
private |
KisToolBrush is the base of several tools, but the actions should be unique, so let's be careful with them
Definition at line 44 of file kis_tool_brush.cc.
References KoToolBase::action(), connect(), m_signalMapper, and KisSignalMapper::setMapping().
|
overridevirtual |
Reimplement this if your tool actually has an option widget. Sets the option widget to 0 by default.
Reimplemented from KisTool.
Reimplemented in KisToolMultihand.
Definition at line 401 of file kis_tool_brush.cc.
References KisToolPaint::addOptionWidgetOption(), connect(), KisAspectRatioLocker::connectSpinBoxes(), KoToolBase::createOptionWidget(), delayDistance, finishStabilizedCurve, KisConfig::lineSmoothingType(), m_chkAssistant, m_chkDelayDistance, m_chkFinishStabilizedCurve, m_chkOnlyOneAssistant, m_chkSmoothPressure, m_chkSnapEraser, m_chkStabilizeSensors, m_chkUseScalableDistance, m_cmbSmoothingType, m_distanceAspectButton, m_lblSmoothnessDistanceMax, m_lblSmoothnessDistanceMin, KisToolFreehand::m_magnetism, m_sliderDelayDistance, m_sliderMagnetism, m_sliderSmoothnessDistanceMax, m_sliderSmoothnessDistanceMin, m_sliderTailAggressiveness, MAXIMUM_MAGNETISM, KisToolFreehand::setAssistant(), setDelayDistance(), KisDoubleSliderSpinBox::setExponentRatio(), setFinishStabilizedCurve(), KoAspectButton::setKeepAspectRatio(), KisToolFreehand::setOnlyOneAssistantSnap(), KisSliderSpinBox::setRange(), KisDoubleSliderSpinBox::setRange(), setSmoothPressure(), KisToolFreehand::setSnapEraser(), setStabilizeSensors(), setUseDelayDistance(), setUseScalableDistance(), KisSliderSpinBox::setValue(), KisDoubleSliderSpinBox::setValue(), slotSetMagnetism(), slotSetSmoothingType(), slotSetSmoothnessDistanceKeepAspectRatio(), slotSetSmoothnessDistanceMax(), slotSetSmoothnessDistanceMin(), slotSetTailAggressiveness(), KisToolFreehand::smoothingOptions(), smoothPressure, stabilizeSensors, KoToolBase::toolId(), updateSmoothnessDistanceLabel(), useDelayDistance, and useScalableDistance.
|
overrideslot |
Definition at line 87 of file kis_tool_brush.cc.
References KoToolBase::action(), KisToolFreehand::deactivate(), m_chkAssistant, and m_signalMapper.
| qreal KisToolBrush::delayDistance | ( | ) | const |
Definition at line 331 of file kis_tool_brush.cc.
References KisToolFreehand::smoothingOptions().
|
signal |
| bool KisToolBrush::finishStabilizedCurve | ( | ) | const |
Definition at line 358 of file kis_tool_brush.cc.
References KisToolFreehand::smoothingOptions().
|
signal |
|
overrideprotectedslot |
Definition at line 305 of file kis_tool_brush.cc.
References CURSOR_STYLE_NO_CURSOR, KisConfig::newCursorStyle(), KisTool::overrideCursorIfNotEditable(), KisToolFreehand::resetCursorStyle(), KisCursor::roundCursor(), KisToolFreehand::smoothingOptions(), smoothingType, KisSmoothingOptions::STABILIZER, KoToolBase::useCursor(), and useDelayDistance.
|
slot |
Definition at line 345 of file kis_tool_brush.cc.
References delayDistanceChanged(), KisToolFreehand::smoothingOptions(), and value().
|
slot |
Definition at line 351 of file kis_tool_brush.cc.
References finishStabilizedCurveChanged(), KisToolFreehand::smoothingOptions(), and value().
|
slot |
Definition at line 282 of file kis_tool_brush.cc.
References KisToolFreehand::smoothingOptions(), and value().
|
slot |
Definition at line 363 of file kis_tool_brush.cc.
References KisToolFreehand::smoothingOptions(), stabilizeSensorsChanged(), and value().
|
slot |
Definition at line 336 of file kis_tool_brush.cc.
References KisToolPaint::enableControl(), m_chkFinishStabilizedCurve, m_sliderDelayDistance, KisToolFreehand::smoothingOptions(), useDelayDistanceChanged(), and value().
|
slot |
Definition at line 298 of file kis_tool_brush.cc.
References KisToolFreehand::smoothingOptions(), useScalableDistanceChanged(), and value().
|
slot |
Definition at line 287 of file kis_tool_brush.cc.
References KisToolFreehand::m_magnetism, and MAXIMUM_MAGNETISM.
|
slot |
The slot can also be called from smoothing-type-switching action that would mean the combo box will not be synchronized
Definition at line 121 of file kis_tool_brush.cc.
References m_chkFinishStabilizedCurve, m_chkSmoothPressure, m_chkStabilizeSensors, m_chkUseScalableDistance, m_cmbSmoothingType, m_distanceAspectButton, m_lblSmoothnessDistanceMax, m_lblSmoothnessDistanceMin, m_sliderDelayDistance, m_sliderSmoothnessDistanceMax, m_sliderSmoothnessDistanceMin, m_sliderTailAggressiveness, KisSmoothingOptions::NO_SMOOTHING, KisSmoothingOptions::PIXEL_PERFECT, KisToolPaint::showControl(), KisSmoothingOptions::SIMPLE_SMOOTHING, KisToolFreehand::smoothingOptions(), smoothingTypeChanged(), KisSmoothingOptions::STABILIZER, updateSmoothnessDistanceLabel(), and KisSmoothingOptions::WEIGHTED_SMOOTHING.
|
slot |
Definition at line 270 of file kis_tool_brush.cc.
References KisToolFreehand::smoothingOptions(), and value().
|
slot |
Definition at line 264 of file kis_tool_brush.cc.
References distance(), KisToolFreehand::smoothingOptions(), and smoothnessQualityChanged().
|
slot |
Definition at line 258 of file kis_tool_brush.cc.
References distance(), KisToolFreehand::smoothingOptions(), and smoothnessQualityChanged().
|
slot |
Definition at line 275 of file kis_tool_brush.cc.
References KisToolFreehand::smoothingOptions(), and smoothnessFactorChanged().
| int KisToolBrush::smoothingType | ( | ) | const |
Definition at line 96 of file kis_tool_brush.cc.
References KisToolFreehand::smoothingOptions().
|
signal |
| qreal KisToolBrush::smoothnessFactor | ( | ) | const |
Definition at line 116 of file kis_tool_brush.cc.
References KisToolFreehand::smoothingOptions().
|
signal |
|
signal |
| int KisToolBrush::smoothnessQualityMax | ( | ) | const |
Definition at line 111 of file kis_tool_brush.cc.
References KisToolFreehand::smoothingOptions().
| int KisToolBrush::smoothnessQualityMin | ( | ) | const |
Definition at line 106 of file kis_tool_brush.cc.
References KisToolFreehand::smoothingOptions().
| bool KisToolBrush::smoothPressure | ( | ) | const |
Definition at line 101 of file kis_tool_brush.cc.
References KisToolFreehand::smoothingOptions().
|
signal |
| bool KisToolBrush::stabilizeSensors | ( | ) | const |
Definition at line 369 of file kis_tool_brush.cc.
References KisToolFreehand::smoothingOptions().
|
signal |
|
overrideslot |
Definition at line 374 of file kis_tool_brush.cc.
References delayDistance, delayDistanceChanged(), finishStabilizedCurveChanged(), m_chkDelayDistance, m_chkSmoothPressure, m_chkStabilizeSensors, m_chkUseScalableDistance, m_cmbSmoothingType, m_sliderDelayDistance, m_sliderSmoothnessDistanceMax, m_sliderSmoothnessDistanceMin, m_sliderTailAggressiveness, KisDoubleSliderSpinBox::setValue(), KisToolFreehand::smoothingOptions(), smoothingType, smoothingTypeChanged(), smoothnessFactorChanged(), smoothnessQualityChanged(), smoothPressure, smoothPressureChanged(), stabilizeSensors, stabilizeSensorsChanged(), KisTool::updateSettingsViews(), useDelayDistance, useDelayDistanceChanged(), useScalableDistance, and useScalableDistanceChanged().
|
private |
Definition at line 210 of file kis_tool_brush.cc.
References m_lblSmoothnessDistanceMax, m_lblSmoothnessDistanceMin, m_sliderSmoothnessDistanceMax, m_sliderSmoothnessDistanceMin, MAXIMUM_SMOOTHNESS_DISTANCE, qFuzzyCompare(), KisDoubleSliderSpinBox::setExponentRatio(), KisDoubleSliderSpinBox::setRange(), KisDoubleSliderSpinBox::setValue(), smoothingType, and KisSmoothingOptions::STABILIZER.
| bool KisToolBrush::useDelayDistance | ( | ) | const |
Definition at line 326 of file kis_tool_brush.cc.
References KisToolFreehand::smoothingOptions().
|
signal |
| bool KisToolBrush::useScalableDistance | ( | ) | const |
Definition at line 292 of file kis_tool_brush.cc.
References KisToolFreehand::smoothingOptions().
|
signal |
|
private |
Definition at line 117 of file kis_tool_brush.h.
|
private |
Definition at line 131 of file kis_tool_brush.h.
|
private |
Definition at line 134 of file kis_tool_brush.h.
|
private |
Definition at line 119 of file kis_tool_brush.h.
|
private |
Definition at line 127 of file kis_tool_brush.h.
|
private |
Definition at line 120 of file kis_tool_brush.h.
|
private |
Definition at line 130 of file kis_tool_brush.h.
|
private |
Definition at line 128 of file kis_tool_brush.h.
|
private |
Definition at line 115 of file kis_tool_brush.h.
|
protected |
Definition at line 73 of file kis_tool_brush.h.
|
private |
Definition at line 123 of file kis_tool_brush.h.
|
private |
Definition at line 125 of file kis_tool_brush.h.
|
private |
Definition at line 124 of file kis_tool_brush.h.
|
private |
Definition at line 135 of file kis_tool_brush.h.
|
private |
Definition at line 132 of file kis_tool_brush.h.
|
private |
Definition at line 118 of file kis_tool_brush.h.
|
private |
Definition at line 122 of file kis_tool_brush.h.
|
private |
Definition at line 121 of file kis_tool_brush.h.
|
private |
Definition at line 126 of file kis_tool_brush.h.
|
readwrite |
Definition at line 47 of file kis_tool_brush.h.
|
readwrite |
Definition at line 49 of file kis_tool_brush.h.
|
readwrite |
Definition at line 43 of file kis_tool_brush.h.
|
readwrite |
Definition at line 41 of file kis_tool_brush.h.
|
readwrite |
Definition at line 40 of file kis_tool_brush.h.
|
readwrite |
Definition at line 39 of file kis_tool_brush.h.
|
readwrite |
Definition at line 42 of file kis_tool_brush.h.
|
readwrite |
Definition at line 50 of file kis_tool_brush.h.
|
readwrite |
Definition at line 46 of file kis_tool_brush.h.
|
readwrite |
Definition at line 44 of file kis_tool_brush.h.