|
Krita Source Code Documentation
|
The KoSvgTextPropertyData struct. More...
#include <KoSvgTextPropertyData.h>
Inheritance diagram for KoSvgTextPropertyData:Public Member Functions | |
| bool | operator== (const KoSvgTextPropertyData &rhs) const |
Public Attributes | |
| KoSvgTextProperties | commonProperties |
| The properties common between all the selected text. | |
| KoSvgTextProperties | inheritedProperties {KoSvgTextProperties::defaultProperties()} |
| The properties that are inherited, so that widgets may be set correctly. | |
| bool | spanSelection {false} |
| Whether we're currently selecting a span of text as opposed to editing the whole paragraph. | |
| QSet< KoSvgTextProperties::PropertyId > | tristate |
| The properties that are not common (tri-state) between the selected text. | |
The KoSvgTextPropertyData struct.
This struct contains the style data of a given set of text objects. Within text editing it is very common to select ranges of multiple styled spans, each with their own properties.
This struct encapsulates the data to represent it inside a text property widget, and is the source data for the lager model.
Definition at line 25 of file KoSvgTextPropertyData.h.
|
inline |
Definition at line 39 of file KoSvgTextPropertyData.h.
References commonProperties, inheritedProperties, spanSelection, and tristate.
| KoSvgTextProperties KoSvgTextPropertyData::commonProperties |
The properties common between all the selected text.
Definition at line 28 of file KoSvgTextPropertyData.h.
| KoSvgTextProperties KoSvgTextPropertyData::inheritedProperties {KoSvgTextProperties::defaultProperties()} |
The properties that are inherited, so that widgets may be set correctly.
Definition at line 31 of file KoSvgTextPropertyData.h.
| bool KoSvgTextPropertyData::spanSelection {false} |
Whether we're currently selecting a span of text as opposed to editing the whole paragraph.
Definition at line 37 of file KoSvgTextPropertyData.h.
| QSet<KoSvgTextProperties::PropertyId> KoSvgTextPropertyData::tristate |
The properties that are not common (tri-state) between the selected text.
Definition at line 34 of file KoSvgTextPropertyData.h.