BornAgain
1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Provides custom style delegate for QComboBox to allow checkboxes. More...
Public Member Functions | |
QCheckListStyledItemDelegate (QObject *parent=nullptr) | |
QCheckListStyledItemDelegate (QObject *parent=nullptr) | |
void | paint (QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const |
void | paint (QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const override |
Provides custom style delegate for QComboBox to allow checkboxes.
Definition at line 59 of file MultiComboPropertyEditor.h.
QCheckListStyledItemDelegate::QCheckListStyledItemDelegate | ( | QObject * | parent = nullptr | ) |
Definition at line 27 of file MultiComboPropertyEditor.cpp.
|
inline |
Definition at line 40 of file selectablecomboboxeditor.cpp.
void QCheckListStyledItemDelegate::paint | ( | QPainter * | painter, |
const QStyleOptionViewItem & | option, | ||
const QModelIndex & | index | ||
) | const |
Definition at line 32 of file MultiComboPropertyEditor.cpp.
|
inlineoverride |
Definition at line 42 of file selectablecomboboxeditor.cpp.