comparison include/gui/dialog/information.h @ 118:39521c47c7a3

*: another huge megacommit, SORRY The torrents page works a lot better now Added the edit option to the anime list right click menu Vectorized currently playing files Available player and extensions are now loaded at runtime from files in (dotpath)/players.json and (dotpath)/extensions.json These paths are not permanent and will likely be moved to (dotpath)/recognition ... ... ...
author Paper <mrpapersonic@gmail.com>
date Tue, 07 Nov 2023 23:40:54 -0500
parents 2004b41d4a59
children 862d0d8619f6
comparison
equal deleted inserted replaced
117:2c1b6782e1d0 118:39521c47c7a3
8 8
9 class InformationDialog final : public QDialog { 9 class InformationDialog final : public QDialog {
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 enum Pages {
14 PAGE_MAIN_INFO,
15 PAGE_MY_LIST
16 };
17
18 InformationDialog(Anime::Anime& anime, std::function<void()> accept = {},
19 enum Pages page = Pages::PAGE_MAIN_INFO, QWidget* parent = nullptr);
14 20
15 protected: 21 protected:
16 void showEvent(QShowEvent* event) override; 22 void showEvent(QShowEvent* event) override;
17 23
18 private: 24 private: