21 #ifndef COMBOBOXDELEGATE_H 22 #define COMBOBOXDELEGATE_H 24 #include <QStyledItemDelegate> 41 virtual void paint(QPainter *painter,
const QStyleOptionViewItem & option,
const QModelIndex & index)
const override;
42 virtual QSize sizeHint(
const QStyleOptionViewItem &option,
const QModelIndex &index)
const override;
46 #endif // COMBOBOXDELEGATE_H Definition: ComboBoxDelegate.h:26
The ComboBoxDelegate class Set this delegate to ComboBoxes if they should look nice.
Definition: ComboBoxDelegate.h:33