Go to the documentation of this file.
30 #include <QStyledItemDelegate>
50 virtual void setModelData(QWidget* editor, QAbstractItemModel* model,
const QModelIndex&
index)
const;
58 void paint(QPainter* painter,
const QStyleOptionViewItem&
option,
const QModelIndex&
index)
const override;
65 QSize
sizeHint(
const QStyleOptionViewItem&
option,
const QModelIndex&
index)
const override;
78 bool editorEvent(QEvent* event, QAbstractItemModel* model,
const QStyleOptionViewItem&
option,
const QModelIndex&
index)
override;
82 std::map<const QModelIndex, QFlags<QStyle::StateFlag>> buttonStates;
85 QPixmap restartPixmap;
87 int scenarioIconSize = 24;
std::shared_ptr< Value > value()