KTextEditor::StyleOptionAnnotationItem
#include <abstractannotationitemdelegate.h>
Public Types | |
enum | AnnotationItemGroupPosition { InvalidGroupPosition = 0 , InGroup = 0x1 << 0 , GroupBegin = 0x1 << 1 , GroupEnd = 0x1 << 2 } |
typedef QFlags< AnnotationItemGroupPosition > | AnnotationItemGroupPositions |
enum | StyleOptionType { Type = SO_Default } |
enum | StyleOptionVersion { Version = 1 } |
Public Types inherited from QStyleOption | |
enum | OptionType |
enum | StyleOptionType |
enum | StyleOptionVersion |
Public Member Functions | |
StyleOptionAnnotationItem (const StyleOptionAnnotationItem &other) | |
StyleOptionAnnotationItem & | operator= (const StyleOptionAnnotationItem &)=default |
Public Member Functions inherited from QStyleOption | |
QStyleOption (const QStyleOption &other) | |
QStyleOption (int version, int type) | |
void | initFrom (const QWidget *widget) |
QStyleOption & | operator= (const QStyleOption &other) |
T | qstyleoption_cast (const QStyleOption *option) |
T | qstyleoption_cast (QStyleOption *option) |
Protected Member Functions | |
StyleOptionAnnotationItem (int version) | |
Detailed Description
The style option set for an annotation item, as painted by AbstractAnnotationItemDelegate.
- Since
- 5.53
Definition at line 29 of file abstractannotationitemdelegate.h.
Member Typedef Documentation
◆ AnnotationItemGroupPositions
QFlags< AnnotationItemGroupPosition > KTextEditor::StyleOptionAnnotationItem::AnnotationItemGroupPositions |
Stores a combination of AnnotationItemGroupPosition values.
Definition at line 84 of file abstractannotationitemdelegate.h.
Member Enumeration Documentation
◆ AnnotationItemGroupPosition
Enum for describing the relative position of a real line in the row of consecutive displayed lines which belong to the same group of annotation items.
- See also
- AnnotationItemGroupPositions
Definition at line 77 of file abstractannotationitemdelegate.h.
◆ StyleOptionType
enum KTextEditor::StyleOptionAnnotationItem::StyleOptionType |
Definition at line 33 of file abstractannotationitemdelegate.h.
◆ StyleOptionVersion
enum KTextEditor::StyleOptionAnnotationItem::StyleOptionVersion |
Definition at line 36 of file abstractannotationitemdelegate.h.
Constructor & Destructor Documentation
◆ StyleOptionAnnotationItem() [1/3]
StyleOptionAnnotationItem::StyleOptionAnnotationItem | ( | ) |
Definition at line 413 of file ktexteditor.cpp.
◆ StyleOptionAnnotationItem() [2/3]
StyleOptionAnnotationItem::StyleOptionAnnotationItem | ( | const StyleOptionAnnotationItem & | other | ) |
Definition at line 418 of file ktexteditor.cpp.
◆ StyleOptionAnnotationItem() [3/3]
|
explicitprotected |
Definition at line 425 of file ktexteditor.cpp.
Member Data Documentation
◆ annotationItemGroupingPosition
AnnotationItemGroupPositions KTextEditor::StyleOptionAnnotationItem::annotationItemGroupingPosition = InvalidGroupPosition |
Relative position of the real line in the row of consecutive displayed lines which belong to the same group of annotation items.
Definition at line 90 of file abstractannotationitemdelegate.h.
◆ contentFontMetrics
QFontMetricsF KTextEditor::StyleOptionAnnotationItem::contentFontMetrics |
The metrics of the font used for rendering the text document.
Definition at line 70 of file abstractannotationitemdelegate.h.
◆ decorationSize
QSize KTextEditor::StyleOptionAnnotationItem::decorationSize |
Recommended size for icons or other symbols that will be rendered by the delegate.
The default value is QSize(-1, -1).
Definition at line 66 of file abstractannotationitemdelegate.h.
◆ view
KTextEditor::View* KTextEditor::StyleOptionAnnotationItem::view = nullptr |
The view where the annotation is shown.
There is always a view set.
Definition at line 60 of file abstractannotationitemdelegate.h.
◆ visibleWrappedLineInGroup
int KTextEditor::StyleOptionAnnotationItem::visibleWrappedLineInGroup = 0 |
Index of the displayed line in the displayed lines for the same group.
Definition at line 53 of file abstractannotationitemdelegate.h.
◆ wrappedLine
int KTextEditor::StyleOptionAnnotationItem::wrappedLine = 0 |
Index of the displayed line in the wrapped lines for the given real line.
Definition at line 43 of file abstractannotationitemdelegate.h.
◆ wrappedLineCount
int KTextEditor::StyleOptionAnnotationItem::wrappedLineCount = 1 |
Number of wrapped lines for the given real line.
A value of 1 means no wrapping has happened and the real line is displayed as one line.
Definition at line 49 of file abstractannotationitemdelegate.h.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:01:56 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.