Mercurial > minori
comparison include/gui/pages/anime_list.h @ 114:ab191e28e69d
*: add initial torrent stuff
WOAH!
these checkboxes are a pain in my fucking ass
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Tue, 07 Nov 2023 08:03:42 -0500 |
parents | 2004b41d4a59 |
children | 862d0d8619f6 |
comparison
equal
deleted
inserted
replaced
113:32afe0e940bf | 114:ab191e28e69d |
---|---|
39 AL_NOTES, | 39 AL_NOTES, |
40 | 40 |
41 NB_COLUMNS | 41 NB_COLUMNS |
42 }; | 42 }; |
43 | 43 |
44 AnimeListPageModel(QWidget* parent, Anime::ListStatus _status); | 44 AnimeListPageModel(QObject* parent, Anime::ListStatus _status); |
45 ~AnimeListPageModel() override = default; | 45 ~AnimeListPageModel() override = default; |
46 int rowCount(const QModelIndex& parent = QModelIndex()) const override; | 46 int rowCount(const QModelIndex& parent = QModelIndex()) const override; |
47 int columnCount(const QModelIndex& parent = QModelIndex()) const override; | 47 int columnCount(const QModelIndex& parent = QModelIndex()) const override; |
48 QVariant data(const QModelIndex& index, int role) const override; | 48 QVariant data(const QModelIndex& index, int role) const override; |
49 QVariant headerData(const int section, const Qt::Orientation orientation, const int role) const override; | 49 QVariant headerData(const int section, const Qt::Orientation orientation, const int role) const override; |
61 Q_OBJECT | 61 Q_OBJECT |
62 | 62 |
63 public: | 63 public: |
64 AnimeListPage(QWidget* parent); | 64 AnimeListPage(QWidget* parent); |
65 void Refresh(); | 65 void Refresh(); |
66 void Reset(); | |
67 | 66 |
68 protected: | 67 protected: |
69 void paintEvent(QPaintEvent*) override; | 68 void paintEvent(QPaintEvent*) override; |
70 void InitStyle(QStyleOptionTabWidgetFrame* option) const; | 69 void InitStyle(QStyleOptionTabWidgetFrame* option) const; |
71 void InitBasicStyle(QStyleOptionTabWidgetFrame* option) const; | 70 void InitBasicStyle(QStyleOptionTabWidgetFrame* option) const; |