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