Mercurial > minori
view include/gui/dialog/information.h @ 64:fe719c109dbc
*: update
1. add media tracking ability, and it displays info on the `now playing` page
2. the `now playing` page now actually shows something
3. renamed every page class to be more accurate to what it is
4. ...
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Sun, 01 Oct 2023 23:15:43 -0400 |
parents | 3d2decf093bb |
children | d02fdf1d6708 |
line wrap: on
line source
#ifndef __gui__dialog__information_h #define __gui__dialog__information_h #include "core/anime.h" #include "core/date.h" #include <QDialog> #include <functional> class InformationDialog : public QDialog { Q_OBJECT public: InformationDialog(const Anime::Anime& anime, std::function<void()> accept, QWidget* parent = nullptr); private: unsigned int id; unsigned int progress; unsigned int score; bool rewatching; Anime::ListStatus status; std::string notes; Date started; Date completed; void SaveData(); }; #endif // __gui__dialog__information_h