21 #ifndef LIBRARY_RATING_DELEGATE_H 22 #define LIBRARY_RATING_DELEGATE_H 24 #include "GUI/Utils/Delegates/StyledItemDelegate.h" 25 #include "Utils/Pimpl.h" 39 void paint(QPainter* painter,
const QStyleOptionViewItem& option,
const QModelIndex& index)
const override;
40 QWidget* createEditor(QWidget *parent,
const QStyleOptionViewItem &option,
const QModelIndex &index)
const override;
41 void setEditorData(QWidget *editor,
const QModelIndex &index)
const override;
42 void setModelData(QWidget *editor, QAbstractItemModel *model,
const QModelIndex &index)
const override;
45 void destroy_editor(
bool save=
false);
49 #endif // LibraryRatingDelegate_H Definition: StyledItemDelegate.h:30
Definition: RatingDelegate.h:29
An interface class needed when implementing a library plugin.
Definition: LibraryManager.h:36