blob: 7382233ef44c631b98f8efb514d46728dd57b302 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#ifndef BSPLUGINLIST_FLAGICONDELEGATE_H
#define BSPLUGINLIST_FLAGICONDELEGATE_H
#include "GUI/IconDelegate.h"
#include "PluginListView.h"
#include "TESData/FileInfo.h"
namespace BSPluginList
{
class FlagIconDelegate final : public GUI::IconDelegate
{
Q_OBJECT
public:
explicit FlagIconDelegate(PluginListView* view);
protected:
[[nodiscard]] QList<QString> getIcons(const QModelIndex& index) const override;
[[nodiscard]] int getNumIcons(const QModelIndex& index) const override;
private:
const PluginListView* m_View;
};
} // namespace BSPluginList
#endif // BSPLUGINLIST_FLAGICONDELEGATE_H
|