mirror of
https://github.com/MultiMC/MultiMC5.git
synced 2024-12-27 03:14:49 +00:00
12 lines
366 B
C
12 lines
366 B
C
|
#pragma once
|
||
|
|
||
|
#include <QStyledItemDelegate>
|
||
|
|
||
|
class ListViewDelegate : public QStyledItemDelegate
|
||
|
{
|
||
|
public:
|
||
|
explicit ListViewDelegate ( QObject* parent = 0 );
|
||
|
protected:
|
||
|
void paint ( QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index ) const;
|
||
|
QSize sizeHint ( const QStyleOptionViewItem & option, const QModelIndex & index ) const;
|
||
|
};
|