Mercurial > minori
comparison include/gui/pages/anime_list.h @ 85:c69230dc2b5d
*: cleanup includes
| author | Paper <mrpapersonic@gmail.com> |
|---|---|
| date | Sun, 29 Oct 2023 00:57:03 -0400 |
| parents | d02fdf1d6708 |
| children | 8043152ef9d4 |
comparison
equal
deleted
inserted
replaced
| 84:eab9e623eb84 | 85:c69230dc2b5d |
|---|---|
| 1 #ifndef __gui__pages__anime_list_h | 1 #ifndef __gui__pages__anime_list_h |
| 2 #define __gui__pages__anime_list_h | 2 #define __gui__pages__anime_list_h |
| 3 | |
| 3 #include "core/anime.h" | 4 #include "core/anime.h" |
| 4 #include <QAbstractListModel> | 5 #include <QAbstractListModel> |
| 5 #include <QSortFilterProxyModel> | 6 #include <QSortFilterProxyModel> |
| 6 #include <QStyledItemDelegate> | 7 #include <QStyledItemDelegate> |
| 7 #include <QTreeView> | |
| 8 #include <QWidget> | 8 #include <QWidget> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | |
| 11 class QTreeView; | |
| 12 class QTabBar; | |
| 10 | 13 |
| 11 class AnimeListPageDelegate : public QStyledItemDelegate { | 14 class AnimeListPageDelegate : public QStyledItemDelegate { |
| 12 Q_OBJECT | 15 Q_OBJECT |
| 13 | 16 |
| 14 public: | 17 public: |
| 95 QTabBar* tab_bar; | 98 QTabBar* tab_bar; |
| 96 QTreeView* tree_view; | 99 QTreeView* tree_view; |
| 97 QRect panelRect; | 100 QRect panelRect; |
| 98 std::array<AnimeListPageSortFilter*, 5> sort_models; | 101 std::array<AnimeListPageSortFilter*, 5> sort_models; |
| 99 }; | 102 }; |
| 103 | |
| 100 #endif // __gui__pages__anime_list_h | 104 #endif // __gui__pages__anime_list_h |
