Mercurial > minori
comparison include/gui/dialog/settings.h @ 119:4eae379cb1ff
settings: add a very early recognition tab for configuring players and extensions
| author | Paper <mrpapersonic@gmail.com> |
|---|---|
| date | Wed, 08 Nov 2023 13:50:00 -0500 |
| parents | 254b1d2b7096 |
| children | 54c9d36207db |
comparison
equal
deleted
inserted
replaced
| 118:39521c47c7a3 | 119:4eae379cb1ff |
|---|---|
| 69 private: | 69 private: |
| 70 QWidget* CreateGeneralWidget(); | 70 QWidget* CreateGeneralWidget(); |
| 71 decltype(session.config.torrents.feed_link) feed_link; | 71 decltype(session.config.torrents.feed_link) feed_link; |
| 72 }; | 72 }; |
| 73 | 73 |
| 74 class SettingsPageRecognition final : public SettingsPage { | |
| 75 Q_OBJECT | |
| 76 | |
| 77 public: | |
| 78 SettingsPageRecognition(QWidget* parent = nullptr); | |
| 79 void SaveInfo() override; | |
| 80 | |
| 81 private: | |
| 82 QWidget* CreatePlayersWidget(); | |
| 83 decltype(session.recognition.players) players; | |
| 84 }; | |
| 85 | |
| 74 class SettingsDialog final : public QDialog { | 86 class SettingsDialog final : public QDialog { |
| 75 Q_OBJECT | 87 Q_OBJECT |
| 76 | 88 |
| 77 public: | 89 public: |
| 78 SettingsDialog(QWidget* parent = nullptr); | 90 SettingsDialog(QWidget* parent = nullptr); |
