From 41329fae5f819eee8c394571125f11f0a0b67cd9 Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Sat, 23 Jun 2018 12:50:10 +0200 Subject: Add ConfigurationEditor plugin Removed poi-config --- plugins/ConfigurationEditor/forms/settingsdialog.h | 35 ++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 plugins/ConfigurationEditor/forms/settingsdialog.h (limited to 'plugins/ConfigurationEditor/forms/settingsdialog.h') diff --git a/plugins/ConfigurationEditor/forms/settingsdialog.h b/plugins/ConfigurationEditor/forms/settingsdialog.h new file mode 100644 index 0000000..ed9e02d --- /dev/null +++ b/plugins/ConfigurationEditor/forms/settingsdialog.h @@ -0,0 +1,35 @@ +/* + * This file is part of smolbote. It's copyrighted by the contributors recorded + * in the version control history of the file, available from its original + * location: https://neueland.iserlohn-fortress.net/smolbote.hg + * + * SPDX-License-Identifier: GPL-3.0 + */ + +#ifndef SMOLBOTE_SETTINGSDIALOG_H +#define SMOLBOTE_SETTINGSDIALOG_H + +#include +#include + +class Configuration; +class SettingsDialog : public QDialog +{ + Q_OBJECT + +public: + explicit SettingsDialog(Configuration *config, QWidget *parent = nullptr); + ~SettingsDialog() override; + + QString configPath; + +public slots: +// void editItem(QTreeWidgetItem *item, int column); +// void write(const QString &path); + +private: + QTreeWidget treeWidget; + bool unsavedChanges = false; +}; + +#endif // SMOLBOTE_SETTINGSDIALOG_H -- cgit v1.2.1