comparison include/gui/pages/anime_list.h @ 108:2004b41d4a59

*: huge commit 1. WORKING LOCALIZATION + translation for Spanish and British English 2. idk like 2 changes for the dark theme :)
author Paper <mrpapersonic@gmail.com>
date Sun, 05 Nov 2023 23:31:49 -0500
parents 8043152ef9d4
children ab191e28e69d
comparison
equal deleted inserted replaced
107:49c8d1976869 108:2004b41d4a59
8 #include <QWidget> 8 #include <QWidget>
9 #include <vector> 9 #include <vector>
10 10
11 class QTreeView; 11 class QTreeView;
12 class QTabBar; 12 class QTabBar;
13
14 class AnimeListPageDelegate final : public QStyledItemDelegate {
15 Q_OBJECT
16
17 public:
18 explicit AnimeListPageDelegate(QObject* parent);
19
20 QWidget* createEditor(QWidget*, const QStyleOptionViewItem&, const QModelIndex&) const override;
21 void paint(QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const override;
22 };
23 13
24 class AnimeListPageSortFilter final : public QSortFilterProxyModel { 14 class AnimeListPageSortFilter final : public QSortFilterProxyModel {
25 Q_OBJECT 15 Q_OBJECT
26 16
27 public: 17 public: