|
Krita Source Code Documentation
|
Interface to interact with the text property manager. More...
#include <DefaultTool.h>
Inheritance diagram for DefaultToolTextPropertiesInterface:Public Slots | |
| void | slotSelectionChanged () |
Public Member Functions | |
| void | clearSelection () |
| DefaultToolTextPropertiesInterface (DefaultTool *parent) | |
| virtual KoSvgTextProperties | getInheritedProperties () override |
| getInheritedProperties The properties that should be visible when a given property isn't available in common properties. This is typically the paragraph properties. | |
| virtual QList< KoSvgTextProperties > | getSelectedProperties () override |
| getSelectedProperties | |
| virtual void | notifyCursorPosChanged (int pos, int anchor) override |
| virtual void | notifyMarkupChanged () override |
| virtual void | notifyShapeChanged (KoShape::ChangeType type, KoShape *shape) override |
| Private (DefaultTool *parent) | |
| virtual void | setPropertiesOnSelected (KoSvgTextProperties properties, QSet< KoSvgTextProperties::PropertyId > removeProperties=QSet< KoSvgTextProperties::PropertyId >()) override |
| setPropertiesOnSelected This sets the properties on the selection. The implementation is responsible for handling the undo states. | |
| virtual bool | spanSelection () override |
| Whether the tool is currently selecting a set of characters instead of whole paragraphs. | |
| ~DefaultToolTextPropertiesInterface () | |
Public Member Functions inherited from Private | |
| Private (KisCanvas2 *c) | |
Public Member Functions inherited from KoSvgTextPropertiesInterface | |
| KoSvgTextPropertiesInterface (QObject *parent=nullptr) | |
Public Member Functions inherited from KoSvgTextShape::TextCursorChangeListener | |
| void | notifyShapeChanged (ChangeType type, KoShape *shape) override |
Public Member Functions inherited from KoShape::ShapeChangeListener | |
| virtual | ~ShapeChangeListener () |
Public Attributes | |
| KisSignalCompressor | compressor |
| DefaultTool * | parent |
| QList< KoShape * > | shapes |
Public Attributes inherited from Private | |
| KisCanvas2 * | canvas |
| int | displayedFrame |
| int | intendedFrame |
Private Attributes | |
| const QScopedPointer< Private > | d |
Additional Inherited Members | |
Signals inherited from KoSvgTextPropertiesInterface | |
| void | textSelectionChanged () |
Interface to interact with the text property manager.
Definition at line 1991 of file DefaultTool.cpp.
| DefaultToolTextPropertiesInterface::DefaultToolTextPropertiesInterface | ( | DefaultTool * | parent | ) |
Definition at line 2002 of file DefaultTool.cpp.
References connect(), d, and KoSvgTextPropertiesInterface::textSelectionChanged().
| DefaultToolTextPropertiesInterface::~DefaultToolTextPropertiesInterface | ( | ) |
Definition at line 2009 of file DefaultTool.cpp.
References clearSelection().
| void DefaultToolTextPropertiesInterface::clearSelection | ( | ) |
Definition at line 2067 of file DefaultTool.cpp.
References d, and KoShape::removeShapeChangeListener().
|
overridevirtual |
getInheritedProperties The properties that should be visible when a given property isn't available in common properties. This is typically the paragraph properties.
Implements KoSvgTextPropertiesInterface.
Definition at line 2029 of file DefaultTool.cpp.
|
overridevirtual |
getSelectedProperties
Implements KoSvgTextPropertiesInterface.
Definition at line 2014 of file DefaultTool.cpp.
References d, p, and KoSvgTextShape::textProperties().
|
overridevirtual |
Implements KoSvgTextShape::TextCursorChangeListener.
Definition at line 2048 of file DefaultTool.cpp.
References d.
|
overridevirtual |
Implements KoSvgTextShape::TextCursorChangeListener.
Definition at line 2055 of file DefaultTool.cpp.
References d.
|
overridevirtual |
Implements KoShape::ShapeChangeListener.
Definition at line 2060 of file DefaultTool.cpp.
References d.
|
inline |
Definition at line 1993 of file DefaultTool.cpp.
|
overridevirtual |
setPropertiesOnSelected This sets the properties on the selection. The implementation is responsible for handling the undo states.
| properties | – the properties to set. |
Implements KoSvgTextPropertiesInterface.
Definition at line 2034 of file DefaultTool.cpp.
References d.
|
slot |
Definition at line 2075 of file DefaultTool.cpp.
References KoShape::addShapeChangeListener(), d, KoShape::removeShapeChangeListener(), and shapes.
|
overridevirtual |
Whether the tool is currently selecting a set of characters instead of whole paragraphs.
Implements KoSvgTextPropertiesInterface.
Definition at line 2043 of file DefaultTool.cpp.
| KisSignalCompressor DefaultToolTextPropertiesInterface::compressor |
Definition at line 1999 of file DefaultTool.cpp.
|
private |
Definition at line 234 of file DefaultTool.h.
| DefaultTool* DefaultToolTextPropertiesInterface::parent |
Definition at line 1997 of file DefaultTool.cpp.
Definition at line 1998 of file DefaultTool.cpp.