| 1 | // For license of this file, see <project-root-folder>/LICENSE.md. |
| 2 | |
| 3 | #ifndef SETTINGSNOTIFICATIONS_H |
| 4 | #define SETTINGSNOTIFICATIONS_H |
| 5 | |
| 6 | #include "gui/settings/settingspanel.h" |
| 7 | |
| 8 | #include "ui_settingsnotifications.h" |
| 9 | |
| 10 | class Settings; |
| 11 | |
| 12 | class SettingsNotifications : public SettingsPanel { |
| 13 | Q_OBJECT |
| 14 | |
| 15 | public: |
| 16 | explicit SettingsNotifications(Settings* settings, QWidget* parent = nullptr); |
| 17 | |
| 18 | virtual QIcon icon() const; |
| 19 | virtual QString title() const; |
| 20 | virtual void loadSettings(); |
| 21 | virtual void saveSettings(); |
| 22 | |
| 23 | private slots: |
| 24 | void showScreenInfo(int index); |
| 25 | |
| 26 | private: |
| 27 | Ui::SettingsNotifications m_ui; |
| 28 | }; |
| 29 | |
| 30 | inline QString SettingsNotifications::title() const { |
| 31 | return tr("Notifications"); |
| 32 | } |
| 33 | |
| 34 | #endif // SETTINGSNOTIFICATIONS_H |