/*
	File                 : SettingsDatasetsPage.h
	Project              : LabPlot
	Description          : settings page for Datasets
	--------------------------------------------------------------------
	SPDX-FileCopyrightText: 2019-2025 Alexander Semke <alexander.semke@web.de>
	SPDX-License-Identifier: GPL-2.0-or-later
*/

#ifndef SETTINGDATASETSPAGE_H
#define SETTINGDATASETSPAGE_H

#include "SettingsPage.h"
#include "ui_settingsdatasetspage.h"

class SettingsDatasetsPage : public SettingsPage {
	Q_OBJECT

public:
	explicit SettingsDatasetsPage(QWidget*);

	QList<Settings::Type> applySettings() override;
	void restoreDefaults() override;

private:
	Ui::SettingsDatasetsPage ui;
	void loadSettings();
	bool m_changed{false};

private Q_SLOTS:
	void clearCache();

Q_SIGNALS:
	void settingsChanged();
};

#endif
