KTextEditor
expandingwidgetmodel.h
30 /// Should return true if the given row should be painted like a contained item(as opposed to label-rows etc.)
50 * @param highlights One variant-list for highlighting, as described in the kde header ktextedtor/codecompletionmodel.h
53QList<QVariant> mergeCustomHighlighting(QStringList strings, QList<QVariantList> highlights, int gapBetweenStrings = 0);
Cares about expanding/un-expanding items in a tree-view together with ExpandingDelegate.
Definition expandingwidgetmodel.h:21
virtual int contextMatchQuality(const QModelIndex &index) const =0
QVariant data(const QModelIndex &index, int role=Qt::DisplayRole) const override
Does not request data from index, this only returns local data like highlighting for expanded rows an...
Definition expandingwidgetmodel.cpp:73
uint matchColor(const QModelIndex &index) const
Returns the match-color for the given index, or zero if match-quality could not be computed.
Definition expandingwidgetmodel.cpp:42
virtual bool indexIsItem(const QModelIndex &index) const =0
Should return true if the given row should be painted like a contained item(as opposed to label-rows ...
virtual QModelIndex index(int row, int column, const QModelIndex &parent) const const=0
QObject * parent() const const
DisplayRole
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Oct 4 2024 12:03:01 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Oct 4 2024 12:03:01 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.