/* * Copyright (c) 2022, Filiph Sandström * * SPDX-License-Identifier: BSD-2-Clause */ #include #include #include #include #include #pragma once class SettingsDialog : public QDialog { Q_OBJECT public: explicit SettingsDialog(QMainWindow* window); void save(); virtual void closeEvent(QCloseEvent*) override; private: QFormLayout* m_layout; QPushButton* m_ok_button { nullptr }; QLineEdit* m_homepage { nullptr }; QMainWindow* m_window { nullptr }; };