pqHighlightItemDelegate is a delegate used to highlight item views It is currently used to highlight matching items found using the pqItemViewSearchWidget. More...
#include <pqHighlightItemDelegate.h>
Inherits QStyledItemDelegate.
Public Member Functions | |
pqHighlightItemDelegate (QColor color=QColor(Qt::white), QObject *parentObject=nullptr) | |
Construct the pqHighlightItemDelegate The variable color is used to specify the highlight color, defaults to QColor(Qt::white) More... | |
void | paint (QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const override |
pqHighlightItemDelegate is a delegate used to highlight item views It is currently used to highlight matching items found using the pqItemViewSearchWidget.
It works by repainting the item with a colored background.
Definition at line 17 of file pqHighlightItemDelegate.h.
|
inline |
Construct the pqHighlightItemDelegate The variable color is used to specify the highlight color, defaults to QColor(Qt::white)
Definition at line 27 of file pqHighlightItemDelegate.h.
|
override |