20#ifndef ORES_QT_DATASET_ITEM_DELEGATE_HPP
21#define ORES_QT_DATASET_ITEM_DELEGATE_HPP
23#include <QStyledItemDelegate>
28class DatasetItemDelegate final :
public QStyledItemDelegate {
32 explicit DatasetItemDelegate(QObject* parent =
nullptr);
34 void paint(QPainter* painter,
const QStyleOptionViewItem& option,
35 const QModelIndex& index)
const override;
37 QSize sizeHint(
const QStyleOptionViewItem& option,
38 const QModelIndex& index)
const override;
41 void drawBadge(QPainter* painter, QRect& rect,
const QString& text,
42 const QColor& backgroundColor,
const QColor& textColor,
43 const QFont& font)
const;
Qt-based graphical user interface for ORE Studio.
Definition AboutDialog.hpp:35