Messagelib

developertoolwidget.h
1 /*
2  SPDX-FileCopyrightText: 2020-2024 Laurent Montel <montel@kde.org>
3 
4  SPDX-License-Identifier: LGPL-2.0-or-later
5 */
6 
7 #pragma once
8 
9 #include "webengineviewer_private_export.h"
10 #include <QWidget>
11 class QWebEnginePage;
12 class QWebEngineView;
13 namespace WebEngineViewer
14 {
15 class WEBENGINEVIEWER_TESTS_EXPORT DeveloperToolWidget : public QWidget
16 {
17  Q_OBJECT
18 public:
19  explicit DeveloperToolWidget(QWidget *parent = nullptr);
20  ~DeveloperToolWidget() override;
21  [[nodiscard]] QWebEnginePage *enginePage() const;
22 
23 Q_SIGNALS:
24  void closeRequested();
25 
26 private:
27  QWebEngineView *const mWebEngineView;
28  QWebEnginePage *const mEnginePage;
29 };
30 }
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Thu Feb 15 2024 03:55:20 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.