syncthingtray/gui/downloaditemdelegate.h

24 lines
423 B
C
Raw Normal View History

2016-09-21 21:09:12 +02:00
#ifndef DOWNLOADITEMDELEGATE_H
#define DOWNLOADITEMDELEGATE_H
#include <QStyledItemDelegate>
#include <QPixmap>
namespace QtGui {
class DownloadItemDelegate : public QStyledItemDelegate
{
Q_OBJECT
public:
DownloadItemDelegate(QObject *parent);
void paint(QPainter *, const QStyleOptionViewItem &, const QModelIndex &) const;
private:
const QPixmap m_folderIcon;
};
}
#endif // DOWNLOADITEMDELEGATE_H