/* * Copyright (c) 2022, Filiph Sandström * * SPDX-License-Identifier: BSD-2-Clause */ #include #include #include #include #include #pragma once namespace Ladybird { 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_new_tab_page { nullptr }; QMainWindow* m_window { nullptr }; }; }