blob: 0726bf0c2f1db2f0f053ce9dbdec55366c8b479b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
#ifndef WEBPOPUPWINDOW_H
#define WEBPOPUPWINDOW_H
#include <QWidget>
QT_BEGIN_NAMESPACE
class QLineEdit;
class QWebEngineProfile;
class QWebEngineView;
QT_END_NAMESPACE
class WebView;
class WebPopupWindow : public QWidget
{
Q_OBJECT
public:
explicit WebPopupWindow(QWebEngineProfile *profile);
WebView *view() const;
private slots:
void handleGeometryChangeRequested(const QRect &newGeometry);
private:
QLineEdit *m_urlLineEdit;
QAction *m_favAction;
WebView *m_view;
};
#endif // WEBPOPUPWINDOW_H
|