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