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_private_export.h" 0010 #include <QWidget> 0011 class QWebEnginePage; 0012 class QWebEngineView; 0013 namespace WebEngineViewer 0014 { 0015 class WEBENGINEVIEWER_TESTS_EXPORT DeveloperToolWidget : public QWidget 0016 { 0017 Q_OBJECT 0018 public: 0019 explicit DeveloperToolWidget(QWidget *parent = nullptr); 0020 ~DeveloperToolWidget() override; 0021 [[nodiscard]] QWebEnginePage *enginePage() const; 0022 0023 Q_SIGNALS: 0024 void closeRequested(); 0025 0026 private: 0027 QWebEngineView *const mWebEngineView; 0028 QWebEnginePage *const mEnginePage; 0029 }; 0030 }