.
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
#ifndef CMUSICVIEWITEMDELEGATE_H
|
||||
#define CMUSICVIEWITEMDELEGATE_H
|
||||
|
||||
|
||||
#include <QStyledItemDelegate>
|
||||
|
||||
|
||||
class cMusicViewItemDelegate : public QStyledItemDelegate
|
||||
{
|
||||
public:
|
||||
cMusicViewItemDelegate(QWidget *parent = 0) : QStyledItemDelegate(parent) {}
|
||||
protected:
|
||||
void paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const;
|
||||
QSize sizeHint(const QStyleOptionViewItem &option, const QModelIndex &index) const;
|
||||
};
|
||||
|
||||
#endif // CMUSICVIEWITEMDELEGATE_H
|
||||
Reference in New Issue
Block a user