22 #ifndef LIBRARY_RATING_DELEGATE_H 23 #define LIBRARY_RATING_DELEGATE_H 25 #include <QItemDelegate> 33 void sig_rating_changed(
int);
38 QWidget* createEditor(QWidget *parent,
const QStyleOptionViewItem &option,
const QModelIndex &index)
const override;
39 void setEditorData(QWidget *editor,
const QModelIndex &index)
const override;
40 void setModelData(QWidget *editor, QAbstractItemModel *model,
const QModelIndex &index)
const override;
43 void destroy_editor(
bool save=
false);
52 #endif // LibraryRatingDelegate_H Definition: LibraryRatingDelegate.h:28
Definition: LibraryView.h:59