#include <Libs/MRML/Widgets/qMRMLNodeComboBoxDelegate.h>
|
static bool | isSeparator (const QModelIndex &index) |
|
static void | setSeparator (QAbstractItemModel *model, const QModelIndex &index) |
|
|
virtual void | drawDisplay (QPainter *painter, const QStyleOptionViewItem &option, const QRect &rect, const QString &text) const |
|
virtual void | drawFocus (QPainter *painter, const QStyleOptionViewItem &option, const QRect &rect) const |
|
virtual void | paint (QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const |
|
virtual QSize | sizeHint (const QStyleOptionViewItem &option, const QModelIndex &index) const |
|
Definition at line 42 of file qMRMLNodeComboBoxDelegate.h.
◆ Superclass
◆ qMRMLNodeComboBoxDelegate()
qMRMLNodeComboBoxDelegate::qMRMLNodeComboBoxDelegate |
( |
QObject * |
parent, |
|
|
QComboBox * |
comboBox |
|
) |
| |
◆ drawDisplay()
virtual void qMRMLNodeComboBoxDelegate::drawDisplay |
( |
QPainter * |
painter, |
|
|
const QStyleOptionViewItem & |
option, |
|
|
const QRect & |
rect, |
|
|
const QString & |
text |
|
) |
| const |
|
protectedvirtual |
◆ drawFocus()
virtual void qMRMLNodeComboBoxDelegate::drawFocus |
( |
QPainter * |
painter, |
|
|
const QStyleOptionViewItem & |
option, |
|
|
const QRect & |
rect |
|
) |
| const |
|
protectedvirtual |
◆ isSeparator()
static bool qMRMLNodeComboBoxDelegate::isSeparator |
( |
const QModelIndex & |
index | ) |
|
|
static |
◆ paint()
virtual void qMRMLNodeComboBoxDelegate::paint |
( |
QPainter * |
painter, |
|
|
const QStyleOptionViewItem & |
option, |
|
|
const QModelIndex & |
index |
|
) |
| const |
|
protectedvirtual |
Reimplemented to force the highlight in case the item is not selectable but current. The highlight color used is then slightly different from the default color
◆ setSeparator()
static void qMRMLNodeComboBoxDelegate::setSeparator |
( |
QAbstractItemModel * |
model, |
|
|
const QModelIndex & |
index |
|
) |
| |
|
static |
◆ sizeHint()
virtual QSize qMRMLNodeComboBoxDelegate::sizeHint |
( |
const QStyleOptionViewItem & |
option, |
|
|
const QModelIndex & |
index |
|
) |
| const |
|
protectedvirtual |
The documentation for this class was generated from the following file: