File indexing completed on 2025-01-26 04:57:23
0001 /* 0002 SPDX-FileCopyrightText: 2020-2024 Laurent Montel <montel@kde.org> 0003 0004 SPDX-License-Identifier: LGPL-2.0-or-later 0005 */ 0006 0007 #pragma once 0008 0009 #include "webengineviewer_export.h" 0010 #include <QDialog> 0011 class QWebEnginePage; 0012 namespace WebEngineViewer 0013 { 0014 class DeveloperToolWidget; 0015 class WEBENGINEVIEWER_EXPORT DeveloperToolDialog : public QDialog 0016 { 0017 Q_OBJECT 0018 public: 0019 explicit DeveloperToolDialog(QWidget *parent = nullptr); 0020 ~DeveloperToolDialog() override; 0021 [[nodiscard]] QWebEnginePage *enginePage() const; 0022 0023 private: 0024 WEBENGINEVIEWER_NO_EXPORT void readConfig(); 0025 WEBENGINEVIEWER_NO_EXPORT void writeConfig(); 0026 DeveloperToolWidget *const mDeveloperToolWidget; 0027 }; 0028 }