21 #ifndef __qMRMLNodeComboBoxMenuDelegate_h 22 #define __qMRMLNodeComboBoxMenuDelegate_h 25 #include <QAbstractItemDelegate> 28 #include "qMRMLWidgetsExport.h" 50 void paint(QPainter *painter,
51 const QStyleOptionViewItem &option,
52 const QModelIndex &index)
const override;
53 QSize sizeHint(
const QStyleOptionViewItem &option,
54 const QModelIndex &index)
const override;
60 QStyleOptionMenuItem getStyleOption(
const QStyleOptionViewItem &option,
61 const QModelIndex &index)
const;
66 #endif // __qMRMLNodeComboBoxMenuDelegate_h