File indexing completed on 2024-05-12 07:41:28
0001 /* 0002 File : SettingsPage.h 0003 Project : LabPlot 0004 Description : base class for all pages in the Settings-Dialog 0005 -------------------------------------------------------------------- 0006 SPDX-FileCopyrightText: 2008-2014 Alexander Semke <alexander.semke@web.de> 0007 SPDX-License-Identifier: GPL-2.0-or-later 0008 */ 0009 0010 #ifndef SETTINGSPAGE_H 0011 #define SETTINGSPAGE_H 0012 0013 #include <QWidget> 0014 0015 class SettingsPage : public QWidget { 0016 Q_OBJECT 0017 0018 public: 0019 explicit SettingsPage(QWidget*){}; 0020 ~SettingsPage() override = default; 0021 0022 virtual void applySettings() = 0; 0023 virtual void restoreDefaults() = 0; 0024 }; 0025 0026 #endif