KTextEditor
attribute.cpp
101 return static_cast<KSyntaxHighlighting::Theme::TextStyle>(intProperty(AttributeDefaultStyleIndex));
QExplicitlySharedDataPointer< Attribute > Ptr
Shared data pointer for Attribute.
Definition attribute.h:56
ActivationType
Several automatic activation mechanisms exist for associated attributes.
Definition attribute.h:244
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 setDynamicAttribute(ActivationType type, Attribute::Ptr attribute)
Set the attribute to use when the event referred to by type occurs.
Definition attribute.cpp:80
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
Attribute & operator=(const Attribute &a)
Replacement assignment operator.
Definition attribute.cpp:203
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
Attribute::Ptr dynamicAttribute(ActivationType type) const
Return the attribute to use when the event referred to by type occurs.
Definition attribute.cpp:71
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
Bold
QTextCharFormat()
int fontWeight() const const
void setFontWeight(int weight)
FontWeight
bool boolProperty(int propertyId) const const
void clearProperty(int propertyId)
QBrush foreground() const const
bool hasProperty(int propertyId) const const
int intProperty(int propertyId) const const
void merge(const QTextFormat &other)
QTextFormat & operator=(const QTextFormat &other)
QMap< int, QVariant > properties() const const
QVariant property(int propertyId) const const
void setProperty(int propertyId, const QList< QTextLength > &value)
QString stringProperty(int propertyId) const const
int type() const const
T value() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 20 2024 11:56:00 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 20 2024 11:56:00 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.