Mercurial > minori
diff include/gui/dialog/settings.h @ 226:f784b5b1914c
settings: add library page
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Mon, 08 Jan 2024 21:23:00 -0500 |
parents | 975a3f0965e2 |
children | ff0061e75f0f |
line wrap: on
line diff
--- a/include/gui/dialog/settings.h Mon Jan 08 17:07:01 2024 -0500 +++ b/include/gui/dialog/settings.h Mon Jan 08 21:23:00 2024 -0500 @@ -86,6 +86,19 @@ decltype(session.config.recognition.players) players; }; +class SettingsPageLibrary final : public SettingsPage { + Q_OBJECT + + public: + SettingsPageLibrary(QWidget* parent = nullptr); + void SaveInfo() override; + + private: + QWidget* CreateFoldersWidget(); + decltype(session.config.library.paths) paths; + decltype(session.config.library.real_time_monitor) real_time_monitor; +}; + class SettingsDialog final : public QDialog { Q_OBJECT