4 #ifndef pqHighlightItemDelegate_h 5 #define pqHighlightItemDelegate_h 8 #include <QStyledItemDelegate> 28 : QStyledItemDelegate(parentObject)
29 , HighlightColor(
color)
34 QPainter* painter,
const QStyleOptionViewItem& option,
const QModelIndex&
index)
const override;
37 QColor HighlightColor;
#define PQCOMPONENTS_EXPORT
pqHighlightItemDelegate is a delegate used to highlight item views It is currently used to highlight ...
pqHighlightItemDelegate(QColor color=QColor(Qt::white), QObject *parentObject=nullptr)
Construct the pqHighlightItemDelegate The variable color is used to specify the highlight color...