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