KTextEditor
attribute.h
143 * Set the font weight to QFont::Bold. If \a bold is \p false, the weight will be set to 0 (normal).
AttributeBlock(int _start, int _length, const Attribute::Ptr &_attribute)
Constructor of AttributeBlock.
Definition attribute.h:312
ActivationType
Several automatic activation mechanisms exist for associated attributes.
Definition attribute.h:244
QExplicitlySharedDataPointer< Attribute > Ptr
Shared data pointer for Attribute.
Definition attribute.h:56
void setBackgroundFillWhitespace(bool fillWhitespace)
Set whether background color is drawn over whitespace.
Definition attribute.cpp:156
void setSelectedBackground(const QBrush &brush)
Set a brush to be used to draw the background of selected text, if any.
Definition attribute.cpp:170
void setDefaultStyle(KSyntaxHighlighting::Theme::TextStyle style)
Set default style of this attribute.
Definition attribute.cpp:104
void setSkipSpellChecking(bool skipspellchecking)
Set if we should spellchecking be skipped?
Definition attribute.cpp:114
QBrush selectedForeground() const
Get the brush used to draw text when it is selected, if any.
Definition attribute.cpp:133
QBrush selectedBackground() const
Get the brush used to draw the background of selected text, if any.
Definition attribute.cpp:161
KSyntaxHighlighting::Theme::TextStyle defaultStyle() const
Default style of this attribute.
Definition attribute.cpp:99
void setOutline(const QBrush &brush)
Set a brush to be used to draw an outline around text.
Definition attribute.cpp:128
void setSelectedForeground(const QBrush &foreground)
Set a brush to be used to draw selected text.
Definition attribute.cpp:142
bool backgroundFillWhitespace() const
Determine whether background color is drawn over whitespace.
Definition attribute.cpp:147
QBrush outline() const
Get the brush used to draw an outline around text, if any.
Definition attribute.cpp:119
The KTextEditor namespace contains all the public API that is required to use the KTextEditor compone...
Definition katetextblock.h:18
QTextCharFormat()
QBrush foreground() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:55:24 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:55:24 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.