Mercurial > minori
annotate include/gui/dialog/information.h @ 63:3d2decf093bb
*: fix many clang warnings
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Sun, 01 Oct 2023 06:39:47 -0400 |
parents | 75c804f713b2 |
children | d02fdf1d6708 |
rev | line source |
---|---|
9 | 1 #ifndef __gui__dialog__information_h |
2 #define __gui__dialog__information_h | |
63 | 3 #include "core/anime.h" |
4 #include "core/date.h" | |
9 | 5 #include <QDialog> |
6 #include <functional> | |
7 | |
8 class InformationDialog : public QDialog { | |
9 Q_OBJECT | |
10 | |
11 public: | |
46 | 12 InformationDialog(const Anime::Anime& anime, std::function<void()> accept, QWidget* parent = nullptr); |
47
d8eb763e6661
information.cpp: add widgets to the list tab, and add an
Paper <mrpapersonic@gmail.com>
parents:
46
diff
changeset
|
13 |
d8eb763e6661
information.cpp: add widgets to the list tab, and add an
Paper <mrpapersonic@gmail.com>
parents:
46
diff
changeset
|
14 private: |
51 | 15 unsigned int id; |
16 unsigned int progress; | |
17 unsigned int score; | |
18 bool rewatching; | |
19 Anime::ListStatus status; | |
20 std::string notes; | |
21 Date started; | |
22 Date completed; | |
47
d8eb763e6661
information.cpp: add widgets to the list tab, and add an
Paper <mrpapersonic@gmail.com>
parents:
46
diff
changeset
|
23 void SaveData(); |
9 | 24 }; |
46 | 25 #endif // __gui__dialog__information_h |