/* * 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