Mercurial > minori
annotate include/gui/dialog/information.h @ 83:d02fdf1d6708
*: huuuge update
1. make the now playing page function correctly
2. de-constructorfy many of our custom widgets,
allowing them to be changed on-the-fly from
the Now Playing page
3. ... :)
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Tue, 24 Oct 2023 22:01:02 -0400 |
parents | 3d2decf093bb |
children | c69230dc2b5d |
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: | |
83 | 12 InformationDialog(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: |
83 | 15 void SaveData(Anime::Anime& anime); |
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; | |
9 | 23 }; |
46 | 24 #endif // __gui__dialog__information_h |