21#ifndef STYLEDITEMDELEGATE_H
22#define STYLEDITEMDELEGATE_H
24#include <QStyledItemDelegate>
25#include "Utils/Pimpl.h"
44 QSize sizeHint(
const QStyleOptionViewItem& option,
45 const QModelIndex& index)
const override;
47 virtual void paint(QPainter* painter,
const QStyleOptionViewItem& option,
const QModelIndex& index)
const override;
The StyledItemDelegate class assures a certain height of rows in a table and tree view.
Definition: StyledItemDelegate.h:35