|
Krita Source Code Documentation
|
Public Member Functions | |
| void | setDecorationFromQStyle (QTextCharFormat::UnderlineStyle s) |
| void | setDecorationFromQTextCharFormat (QTextCharFormat format) |
Public Attributes | |
| KoSvgText::TextDecorations | decor = KoSvgText::DecorationNone |
| Which sides get decorated. | |
| int | length = 0 |
| The length from the attribute. | |
| int | start = -1 |
| The startPos from the attribute. | |
| KoSvgText::TextDecorationStyle | style = KoSvgText::Solid |
| The style. | |
| bool | thick = false |
| Whether the decoration needs to be doubled in size. | |
Definition at line 44 of file SvgTextCursor.cpp.
|
inline |
Definition at line 51 of file SvgTextCursor.cpp.
References KoSvgText::Dashed, decor, KoSvgText::DecorationUnderline, KoSvgText::Dotted, KoSvgText::Solid, style, and KoSvgText::Wavy.
|
inline |
Because Qt doesn't have a concept of a thick or double underline at time of writing, most of Qt's QPA will set the background to a solid color instead. Sometimes the underline style is changed (as with IBus). We don't support setting the background right now, so instead we'll 'convert' it back to a thick solid underline.
Definition at line 70 of file SvgTextCursor.cpp.
References KoSvgText::Dashed, decor, KoSvgText::DecorationLineThrough, KoSvgText::DecorationNone, KoSvgText::DecorationOverline, KoSvgText::DecorationUnderline, setDecorationFromQStyle(), KoSvgText::Solid, style, and thick.
| KoSvgText::TextDecorations IMEDecorationInfo::decor = KoSvgText::DecorationNone |
Which sides get decorated.
Definition at line 47 of file SvgTextCursor.cpp.
| int IMEDecorationInfo::length = 0 |
The length from the attribute.
Definition at line 46 of file SvgTextCursor.cpp.
| int IMEDecorationInfo::start = -1 |
The startPos from the attribute.
Definition at line 45 of file SvgTextCursor.cpp.
| KoSvgText::TextDecorationStyle IMEDecorationInfo::style = KoSvgText::Solid |
The style.
Definition at line 48 of file SvgTextCursor.cpp.
| bool IMEDecorationInfo::thick = false |
Whether the decoration needs to be doubled in size.
Definition at line 49 of file SvgTextCursor.cpp.