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