KTextEditor
abstractannotationitemdelegate.h
24 * \brief The style option set for an annotation item, as painted by AbstractAnnotationItemDelegate
98 * \class AbstractAnnotationItemDelegate abstractannotationitemdelegate.h <KTextEditor/AbstractAnnotationItemDelegate>
139 virtual void paint(QPainter *painter, const KTextEditor::StyleOptionAnnotationItem &option, KTextEditor::AnnotationModel *model, int line) const = 0;
158 virtual QSize sizeHint(const KTextEditor::StyleOptionAnnotationItem &option, KTextEditor::AnnotationModel *model, int line) const = 0;
165 * @param option the style option object with the info needed for styling, including the rect of the annotation
A delegate for rendering line annotation information and handling events.
Definition: abstractannotationitemdelegate.h:117
An model for providing line annotation information.
Definition: annotationinterface.h:41
The style option set for an annotation item, as painted by AbstractAnnotationItemDelegate.
Definition: abstractannotationitemdelegate.h:29
StyleOptionVersion
QSize decorationSize
Recommended size for icons or other symbols that will be rendered by the delegate.
Definition: abstractannotationitemdelegate.h:62
StyleOptionType
The KTextEditor namespace contains all the public API that is required to use the KTextEditor compone...
Definition: katetextblock.h:22
QFontMetricsF contentFontMetrics
The metrics of the font used for rendering the text document.
Definition: abstractannotationitemdelegate.h:66
AnnotationItemGroupPosition
Enum for describing the relative position of a real line in the row of consecutive displayed lines wh...
Definition: abstractannotationitemdelegate.h:73
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Thu Sep 21 2023 03:51:32 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Thu Sep 21 2023 03:51:32 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.