|
Krita Source Code Documentation
|
Interface to interact with the text property manager. More...
#include <SvgTextCursor.h>
Inheritance diagram for SvgTextCursorPropertyInterface:Classes | |
| struct | Private |
Public Member Functions | |
| virtual bool | characterPropertiesEnabled () override |
| Whether character selections are possible at all. | |
| void | emitCharacterSelectionChange () |
| void | emitSelectionChange () |
| virtual QList< KoSvgTextProperties > | getCharacterProperties () override |
| getSelectedProperties | |
| 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 | setCharacterPropertiesOnSelected (KoSvgTextProperties properties, QSet< KoSvgTextProperties::PropertyId > removeProperties=QSet< KoSvgTextProperties::PropertyId >()) override |
| setCharacterPropertiesOnSelected This sets the properties for a character selection instead of the full text shape. Typically the selection of characters. The implementation is responsible for handling the undo states. | |
| 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. | |
| SvgTextCursorPropertyInterface (SvgTextCursor *parent) | |
| ~SvgTextCursorPropertyInterface () | |
Public Member Functions inherited from KoSvgTextPropertiesInterface | |
| KoSvgTextPropertiesInterface (QObject *parent=nullptr) | |
Private Attributes | |
| const QScopedPointer< Private > | d |
Additional Inherited Members | |
Signals inherited from KoSvgTextPropertiesInterface | |
| void | textCharacterSelectionChanged () |
| void | textSelectionChanged () |
| Emit to signal to KisTextPropertiesManager to call getSelectedProperties. | |
Interface to interact with the text property manager.
Definition at line 392 of file SvgTextCursor.h.
| SvgTextCursorPropertyInterface::SvgTextCursorPropertyInterface | ( | SvgTextCursor * | parent | ) |
Definition at line 2169 of file SvgTextCursor.cpp.
References d, KoSvgTextPropertiesInterface::textCharacterSelectionChanged(), and KoSvgTextPropertiesInterface::textSelectionChanged().
| SvgTextCursorPropertyInterface::~SvgTextCursorPropertyInterface | ( | ) |
Definition at line 2176 of file SvgTextCursor.cpp.
|
overridevirtual |
Whether character selections are possible at all.
Implements KoSvgTextPropertiesInterface.
Definition at line 2217 of file SvgTextCursor.cpp.
| void SvgTextCursorPropertyInterface::emitCharacterSelectionChange | ( | ) |
Definition at line 2230 of file SvgTextCursor.cpp.
References d.
| void SvgTextCursorPropertyInterface::emitSelectionChange | ( | ) |
Definition at line 2222 of file SvgTextCursor.cpp.
References d.
|
overridevirtual |
getSelectedProperties
Implements KoSvgTextPropertiesInterface.
Definition at line 2185 of file SvgTextCursor.cpp.
References d.
|
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 2195 of file SvgTextCursor.cpp.
References d.
|
overridevirtual |
getSelectedProperties
Implements KoSvgTextPropertiesInterface.
Definition at line 2180 of file SvgTextCursor.cpp.
References d.
|
overridevirtual |
setCharacterPropertiesOnSelected This sets the properties for a character selection instead of the full text shape. Typically the selection of characters. The implementation is responsible for handling the undo states.
| properties | – the properties to set. |
| removeProperties | – properties to remove. |
Implements KoSvgTextPropertiesInterface.
Definition at line 2207 of file SvgTextCursor.cpp.
References d.
|
overridevirtual |
setPropertiesOnSelected This sets the properties on the selection. The implementation is responsible for handling the undo states.
| properties | – the properties to set. |
| removeProperties | – properties to remove. |
Implements KoSvgTextPropertiesInterface.
Definition at line 2202 of file SvgTextCursor.cpp.
References d.
|
overridevirtual |
Whether the tool is currently selecting a set of characters instead of whole paragraphs.
Implements KoSvgTextPropertiesInterface.
Definition at line 2212 of file SvgTextCursor.cpp.
References d.
|
private |
Definition at line 408 of file SvgTextCursor.h.