38 #ifndef _pqHighlightRowItemDelegate_h 39 #define _pqHighlightRowItemDelegate_h 41 #include "pqComponentsModule.h" 42 #include <QStyledItemDelegate> 62 : QStyledItemDelegate(parentObject)
63 , HighlightColor(color)
67 void paint(QPainter* painter,
const QStyleOptionViewItem& option,
const QModelIndex& index)
const;
70 QColor HighlightColor;
pqHighlightItemDelegate is a delegate used to highlight item views It is currently used to highlight ...
pqHighlightItemDelegate(QColor color=QColor(Qt::white), QObject *parentObject=0)
Constructor the pqHighlightItemDelegate The variable color is used to specify the highlight color QC...