blob: d3d0ad3b364109da1ac11f1e076a3d0b4c57a8d9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#ifndef MODLISTVERSIONDELEGATE_H
#define MODLISTVERSIONDELEGATE_H
#include <QStyledItemDelegate>
class ModListView;
class Settings;
class ModListVersionDelegate : public QItemDelegate
{
public:
ModListVersionDelegate(ModListView* view, Settings& settings);
void paint(QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const override;
private:
ModListView* m_view;
Settings& m_settings;
};
#endif
|