summaryrefslogtreecommitdiffstats
blob: 925f66c7b2cba4def566768f45c09a1d0a7e2562 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include "RosterDelegate.h"

#include <QPainter>

namespace Swift {
QSize RosterDelegate::sizeHint(const QStyleOptionViewItem& option, const QModelIndex& index ) const {
	return QSize(100,50);
}

void RosterDelegate::paint(QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex index) const {
	painter->save();
	QStyledItemDelegate::paint(painter, option, index);
	painter->restore();
}

}