Displays a given published port within the published port sidebar.
Definition at line 17 of file VuoPublishedPortListItemDelegate.hh.
Public Member Functions | |
VuoPublishedPortListItemDelegate (VuoEditorComposition *composition, QObject *parent=0) | |
Creates a Published Port list rendering delegate. More... | |
void | paint (QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const |
Displays a given published port within the list. More... | |
void | setUpSelectionHighlighting (QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const |
Sets the published port background color appropriately, depending whether the node class is currently selected within the list. More... | |
QSize | sizeHint (const QStyleOptionViewItem &option, const QModelIndex &index) const |
Returns the size needed to display the published port specified by index . More... | |
|
explicit |
Creates a Published Port list rendering delegate.
Definition at line 19 of file VuoPublishedPortListItemDelegate.cc.
void VuoPublishedPortListItemDelegate::paint | ( | QPainter * | painter, |
const QStyleOptionViewItem & | option, | ||
const QModelIndex & | index | ||
) | const |
Displays a given published port within the list.
Definition at line 28 of file VuoPublishedPortListItemDelegate.cc.
void VuoPublishedPortListItemDelegate::setUpSelectionHighlighting | ( | QPainter * | painter, |
const QStyleOptionViewItem & | option, | ||
const QModelIndex & | index | ||
) | const |
Sets the published port background color appropriately, depending whether the node class is currently selected within the list.
Definition at line 62 of file VuoPublishedPortListItemDelegate.cc.
QSize VuoPublishedPortListItemDelegate::sizeHint | ( | const QStyleOptionViewItem & | option, |
const QModelIndex & | index | ||
) | const |
Returns the size needed to display the published port specified by index
.
Definition at line 95 of file VuoPublishedPortListItemDelegate.cc.