21 #ifndef PLAYLISTITEMDELEGATE_H_ 22 #define PLAYLISTITEMDELEGATE_H_ 24 #include "Utils/Settings/SayonaraClass.h" 25 #include "GUI/Utils/Delegates/StyledItemDelegate.h" 26 #include "Utils/Pimpl.h" 40 void paint( QPainter *painter,
const QStyleOptionViewItem &option,
41 const QModelIndex &index)
const override;
43 QWidget* createEditor(QWidget* parent,
const QStyleOptionViewItem& option,
const QModelIndex& index)
const override;
44 void setEditorData(QWidget* editor,
const QModelIndex& index)
const override;
45 void setModelData(QWidget* editor, QAbstractItemModel* model,
const QModelIndex& index)
const override;
47 int rating_height()
const;
50 void sl_look_changed();
51 void sl_show_rating_changed();
52 void destroy_editor(
bool save=
false);
Definition: StyledItemDelegate.h:30
The SayonaraClass class provides access to Settings and notifications.
Definition: SayonaraClass.h:29
Definition: Delegate.h:29