Mercurial > minori
comparison include/gui/dialog/information.h @ 108:2004b41d4a59
*: huge commit
1. WORKING LOCALIZATION + translation for Spanish and British English
2. idk like 2 changes for the dark theme :)
| author | Paper <mrpapersonic@gmail.com> |
|---|---|
| date | Sun, 05 Nov 2023 23:31:49 -0500 |
| parents | 8043152ef9d4 |
| children | 39521c47c7a3 |
comparison
equal
deleted
inserted
replaced
| 107:49c8d1976869 | 108:2004b41d4a59 |
|---|---|
| 10 Q_OBJECT | 10 Q_OBJECT |
| 11 | 11 |
| 12 public: | 12 public: |
| 13 InformationDialog(Anime::Anime& anime, std::function<void()> accept, QWidget* parent = nullptr); | 13 InformationDialog(Anime::Anime& anime, std::function<void()> accept, QWidget* parent = nullptr); |
| 14 | 14 |
| 15 protected: | |
| 16 void showEvent(QShowEvent* event) override; | |
| 17 | |
| 15 private: | 18 private: |
| 16 void SaveData(Anime::Anime& anime); | 19 void SaveData(Anime::Anime& anime); |
| 17 unsigned int _progress; | 20 unsigned int _progress; |
| 18 unsigned int _score; | 21 unsigned int _score; |
| 19 bool _rewatching; | 22 bool _rewatching; |
