21#ifndef PLAYLISTITEMDELEGATE_H_
22#define PLAYLISTITEMDELEGATE_H_
24#include "Gui/Utils/Delegates/StyledItemDelegate.h"
41 void paint(QPainter* painter,
const QStyleOptionViewItem& option,
const QModelIndex& index)
const override;
44 createEditor(QWidget* parent,
const QStyleOptionViewItem& option,
const QModelIndex& index)
const override;
45 void setEditorData(QWidget* editor,
const QModelIndex& index)
const override;
46 void setModelData(QWidget* editor, QAbstractItemModel* model,
const QModelIndex& index)
const override;
49 void deleteEditor(
bool save);
The StyledItemDelegate class assures a certain height of rows in a table and tree view.
Definition: StyledItemDelegate.h:35
The PlaylistItemDelegate class.
Definition: PlaylistDelegate.h:34