PyQt6-WebEngine 6.7.0__tar.gz → 6.8.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {PyQt6_WebEngine-6.7.0 → PyQt6_WebEngine-6.8.0}/ChangeLog +25 -0
- {PyQt6_WebEngine-6.7.0 → PyQt6_WebEngine-6.8.0}/NEWS +3 -0
- {PyQt6_WebEngine-6.7.0 → PyQt6_WebEngine-6.8.0}/PKG-INFO +2 -2
- {PyQt6_WebEngine-6.7.0 → PyQt6_WebEngine-6.8.0}/pyproject.toml +2 -2
- {PyQt6_WebEngine-6.7.0 → PyQt6_WebEngine-6.8.0}/sip/QtWebEngineCore/QtWebEngineCoremod.sip +6 -3
- {PyQt6_WebEngine-6.7.0 → PyQt6_WebEngine-6.8.0}/sip/QtWebEngineCore/qwebenginecertificateerror.sip +3 -0
- PyQt6_WebEngine-6.8.0/sip/QtWebEngineCore/qwebengineclienthints.sip +56 -0
- PyQt6_WebEngine-6.8.0/sip/QtWebEngineCore/qwebengineframe.sip +129 -0
- {PyQt6_WebEngine-6.7.0 → PyQt6_WebEngine-6.8.0}/sip/QtWebEngineCore/qwebenginenavigationrequest.sip +4 -4
- {PyQt6_WebEngine-6.7.0 → PyQt6_WebEngine-6.8.0}/sip/QtWebEngineCore/qwebenginepage.sip +26 -1
- PyQt6_WebEngine-6.8.0/sip/QtWebEngineCore/qwebenginepermission.sip +76 -0
- {PyQt6_WebEngine-6.7.0 → PyQt6_WebEngine-6.8.0}/sip/QtWebEngineCore/qwebengineprofile.sip +49 -13
- {PyQt6_WebEngine-6.7.0 → PyQt6_WebEngine-6.8.0}/sip/QtWebEngineCore/qwebenginesettings.sip +19 -5
- {PyQt6_WebEngine-6.7.0 → PyQt6_WebEngine-6.8.0}/sip/QtWebEngineCore/qwebengineurlrequestinfo.sip +3 -0
- {PyQt6_WebEngine-6.7.0 → PyQt6_WebEngine-6.8.0}/sip/QtWebEngineQuick/qquickwebengineprofile.sip +38 -0
- {PyQt6_WebEngine-6.7.0 → PyQt6_WebEngine-6.8.0}/sip/QtWebEngineWidgets/qwebengineview.sip +3 -0
- {PyQt6_WebEngine-6.7.0 → PyQt6_WebEngine-6.8.0}/LICENSE +0 -0
- {PyQt6_WebEngine-6.7.0 → PyQt6_WebEngine-6.8.0}/README.md +0 -0
- {PyQt6_WebEngine-6.7.0 → PyQt6_WebEngine-6.8.0}/sip/QtWebEngineCore/qtwebenginecoreglobal.sip +0 -0
- {PyQt6_WebEngine-6.7.0 → PyQt6_WebEngine-6.8.0}/sip/QtWebEngineCore/qwebengineclientcertificateselection.sip +0 -0
- {PyQt6_WebEngine-6.7.0 → PyQt6_WebEngine-6.8.0}/sip/QtWebEngineCore/qwebengineclientcertificatestore.sip +0 -0
- {PyQt6_WebEngine-6.7.0 → PyQt6_WebEngine-6.8.0}/sip/QtWebEngineCore/qwebenginecontextmenurequest.sip +0 -0
- {PyQt6_WebEngine-6.7.0 → PyQt6_WebEngine-6.8.0}/sip/QtWebEngineCore/qwebenginecookiestore.sip +0 -0
- {PyQt6_WebEngine-6.7.0 → PyQt6_WebEngine-6.8.0}/sip/QtWebEngineCore/qwebenginedesktopmediarequest.sip +0 -0
- {PyQt6_WebEngine-6.7.0 → PyQt6_WebEngine-6.8.0}/sip/QtWebEngineCore/qwebenginedownloadrequest.sip +0 -0
- {PyQt6_WebEngine-6.7.0 → PyQt6_WebEngine-6.8.0}/sip/QtWebEngineCore/qwebenginefilesystemaccessrequest.sip +0 -0
- {PyQt6_WebEngine-6.7.0 → PyQt6_WebEngine-6.8.0}/sip/QtWebEngineCore/qwebenginefindtextresult.sip +0 -0
- {PyQt6_WebEngine-6.7.0 → PyQt6_WebEngine-6.8.0}/sip/QtWebEngineCore/qwebenginefullscreenrequest.sip +0 -0
- {PyQt6_WebEngine-6.7.0 → PyQt6_WebEngine-6.8.0}/sip/QtWebEngineCore/qwebengineglobalsettings.sip +0 -0
- {PyQt6_WebEngine-6.7.0 → PyQt6_WebEngine-6.8.0}/sip/QtWebEngineCore/qwebenginehistory.sip +0 -0
- {PyQt6_WebEngine-6.7.0 → PyQt6_WebEngine-6.8.0}/sip/QtWebEngineCore/qwebenginehttprequest.sip +0 -0
- {PyQt6_WebEngine-6.7.0 → PyQt6_WebEngine-6.8.0}/sip/QtWebEngineCore/qwebengineloadinginfo.sip +0 -0
- {PyQt6_WebEngine-6.7.0 → PyQt6_WebEngine-6.8.0}/sip/QtWebEngineCore/qwebenginenewwindowrequest.sip +0 -0
- {PyQt6_WebEngine-6.7.0 → PyQt6_WebEngine-6.8.0}/sip/QtWebEngineCore/qwebenginenotification.sip +0 -0
- {PyQt6_WebEngine-6.7.0 → PyQt6_WebEngine-6.8.0}/sip/QtWebEngineCore/qwebenginequotarequest.sip +0 -0
- {PyQt6_WebEngine-6.7.0 → PyQt6_WebEngine-6.8.0}/sip/QtWebEngineCore/qwebengineregisterprotocolhandlerrequest.sip +0 -0
- {PyQt6_WebEngine-6.7.0 → PyQt6_WebEngine-6.8.0}/sip/QtWebEngineCore/qwebenginescript.sip +0 -0
- {PyQt6_WebEngine-6.7.0 → PyQt6_WebEngine-6.8.0}/sip/QtWebEngineCore/qwebenginescriptcollection.sip +0 -0
- {PyQt6_WebEngine-6.7.0 → PyQt6_WebEngine-6.8.0}/sip/QtWebEngineCore/qwebengineurlrequestinterceptor.sip +0 -0
- {PyQt6_WebEngine-6.7.0 → PyQt6_WebEngine-6.8.0}/sip/QtWebEngineCore/qwebengineurlrequestjob.sip +0 -0
- {PyQt6_WebEngine-6.7.0 → PyQt6_WebEngine-6.8.0}/sip/QtWebEngineCore/qwebengineurlscheme.sip +0 -0
- {PyQt6_WebEngine-6.7.0 → PyQt6_WebEngine-6.8.0}/sip/QtWebEngineCore/qwebengineurlschemehandler.sip +0 -0
- {PyQt6_WebEngine-6.7.0 → PyQt6_WebEngine-6.8.0}/sip/QtWebEngineCore/qwebenginewebauthuxrequest.sip +0 -0
- {PyQt6_WebEngine-6.7.0 → PyQt6_WebEngine-6.8.0}/sip/QtWebEngineQuick/QtWebEngineQuickmod.sip +0 -0
- {PyQt6_WebEngine-6.7.0 → PyQt6_WebEngine-6.8.0}/sip/QtWebEngineQuick/qtwebenginequickglobal.sip +0 -0
- {PyQt6_WebEngine-6.7.0 → PyQt6_WebEngine-6.8.0}/sip/QtWebEngineWidgets/QtWebEngineWidgetsmod.sip +0 -0
|
@@ -1,3 +1,28 @@
|
|
|
1
|
+
2024-10-24 Phil Thompson <phil@riverbankcomputing.com>
|
|
2
|
+
|
|
3
|
+
* NEWS:
|
|
4
|
+
Updated the NEWS file.
|
|
5
|
+
[33da3a9ed997] [6.8.0]
|
|
6
|
+
|
|
7
|
+
2024-10-14 Phil Thompson <phil@riverbankcomputing.com>
|
|
8
|
+
|
|
9
|
+
* pyproject.toml:
|
|
10
|
+
Updated the build system requirements to SIP v6.9 and PyQt-builder
|
|
11
|
+
v1.17.
|
|
12
|
+
[2ca014817aec]
|
|
13
|
+
|
|
14
|
+
2024-10-04 Phil Thompson <phil@riverbankcomputing.com>
|
|
15
|
+
|
|
16
|
+
* PyQt6-WebEngine.msp, mksccode/QtWebEngineCore.versions:
|
|
17
|
+
Updated for Qt v6.8.0.
|
|
18
|
+
[a921a4c073f6]
|
|
19
|
+
|
|
20
|
+
2024-04-20 Phil Thompson <phil@riverbankcomputing.com>
|
|
21
|
+
|
|
22
|
+
* .hgtags:
|
|
23
|
+
Added tag 6.7.0 for changeset cb8b0faaaac7
|
|
24
|
+
[fc6338be5751]
|
|
25
|
+
|
|
1
26
|
2024-04-04 Phil Thompson <phil@riverbankcomputing.com>
|
|
2
27
|
|
|
3
28
|
* NEWS, PyQt6-WebEngine.msp:
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: PyQt6-WebEngine
|
|
3
|
-
Version: 6.
|
|
4
|
-
Requires-Python: >=3.
|
|
3
|
+
Version: 6.8.0
|
|
4
|
+
Requires-Python: >=3.9
|
|
5
5
|
Summary: Python bindings for the Qt WebEngine framework
|
|
6
6
|
Description-Content-Type: text/markdown
|
|
7
7
|
Project-Url: homepage, https://www.riverbankcomputing.com/software/pyqtwebengine/
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
# Specify the build system requirements.
|
|
2
2
|
[build-system]
|
|
3
|
-
requires = ["sip >=6.
|
|
3
|
+
requires = ["sip >=6.9, <7", "PyQt-builder >=1.17, <2"]
|
|
4
4
|
build-backend = "sipbuild.api"
|
|
5
5
|
|
|
6
6
|
[project]
|
|
7
7
|
name = "PyQt6-WebEngine"
|
|
8
|
-
version = "6.
|
|
8
|
+
version = "6.8.0"
|
|
9
9
|
description = "Python bindings for the Qt WebEngine framework"
|
|
10
10
|
readme = "README.md"
|
|
11
11
|
urls.homepage = "https://www.riverbankcomputing.com/software/pyqtwebengine/"
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
%Import QtNetwork/QtNetworkmod.sip
|
|
28
28
|
%Import QtWebChannel/QtWebChannelmod.sip
|
|
29
29
|
|
|
30
|
-
%Timeline {QtWebEngine_6_0_0 QtWebEngine_6_1_0 QtWebEngine_6_2_0 QtWebEngine_6_3_0 QtWebEngine_6_4_0 QtWebEngine_6_5_0 QtWebEngine_6_6_0 QtWebEngine_6_7_0}
|
|
30
|
+
%Timeline {QtWebEngine_6_0_0 QtWebEngine_6_1_0 QtWebEngine_6_2_0 QtWebEngine_6_3_0 QtWebEngine_6_4_0 QtWebEngine_6_5_0 QtWebEngine_6_6_0 QtWebEngine_6_7_0 QtWebEngine_6_8_0}
|
|
31
31
|
|
|
32
32
|
%Copying
|
|
33
33
|
Copyright (c) 2024 Riverbank Computing Limited <info@riverbankcomputing.com>
|
|
@@ -54,20 +54,22 @@ int PYQT_WEBENGINE_VERSION;
|
|
|
54
54
|
const char *PYQT_WEBENGINE_VERSION_STR;
|
|
55
55
|
|
|
56
56
|
%ModuleCode
|
|
57
|
-
static int PYQT_WEBENGINE_VERSION =
|
|
58
|
-
static const char *PYQT_WEBENGINE_VERSION_STR = "6.
|
|
57
|
+
static int PYQT_WEBENGINE_VERSION = 0x060800;
|
|
58
|
+
static const char *PYQT_WEBENGINE_VERSION_STR = "6.8.0";
|
|
59
59
|
%End
|
|
60
60
|
|
|
61
61
|
%Include qtwebenginecoreglobal.sip
|
|
62
62
|
%Include qwebenginecertificateerror.sip
|
|
63
63
|
%Include qwebengineclientcertificateselection.sip
|
|
64
64
|
%Include qwebengineclientcertificatestore.sip
|
|
65
|
+
%Include qwebengineclienthints.sip
|
|
65
66
|
%Include qwebenginecontextmenurequest.sip
|
|
66
67
|
%Include qwebenginecookiestore.sip
|
|
67
68
|
%Include qwebenginedesktopmediarequest.sip
|
|
68
69
|
%Include qwebenginedownloadrequest.sip
|
|
69
70
|
%Include qwebenginefilesystemaccessrequest.sip
|
|
70
71
|
%Include qwebenginefindtextresult.sip
|
|
72
|
+
%Include qwebengineframe.sip
|
|
71
73
|
%Include qwebenginefullscreenrequest.sip
|
|
72
74
|
%Include qwebengineglobalsettings.sip
|
|
73
75
|
%Include qwebenginehistory.sip
|
|
@@ -77,6 +79,7 @@ static const char *PYQT_WEBENGINE_VERSION_STR = "6.7.0";
|
|
|
77
79
|
%Include qwebenginenewwindowrequest.sip
|
|
78
80
|
%Include qwebenginenotification.sip
|
|
79
81
|
%Include qwebenginepage.sip
|
|
82
|
+
%Include qwebenginepermission.sip
|
|
80
83
|
%Include qwebengineprofile.sip
|
|
81
84
|
%Include qwebenginequotarequest.sip
|
|
82
85
|
%Include qwebengineregisterprotocolhandlerrequest.sip
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
// qwebengineclienthints.sip generated by MetaSIP
|
|
2
|
+
//
|
|
3
|
+
// This file is part of the QtWebEngineCore Python extension module.
|
|
4
|
+
//
|
|
5
|
+
// Copyright (c) 2024 Riverbank Computing Limited <info@riverbankcomputing.com>
|
|
6
|
+
//
|
|
7
|
+
// This file is part of PyQt6-WebEngine.
|
|
8
|
+
//
|
|
9
|
+
// This file may be used under the terms of the GNU General Public License
|
|
10
|
+
// version 3.0 as published by the Free Software Foundation and appearing in
|
|
11
|
+
// the file LICENSE included in the packaging of this file. Please review the
|
|
12
|
+
// following information to ensure the GNU General Public License version 3.0
|
|
13
|
+
// requirements will be met: http://www.gnu.org/copyleft/gpl.html.
|
|
14
|
+
//
|
|
15
|
+
// If you do not wish to use this file under the terms of the GPL version 3.0
|
|
16
|
+
// then you may purchase a commercial license. For more information contact
|
|
17
|
+
// info@riverbankcomputing.com.
|
|
18
|
+
//
|
|
19
|
+
// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
|
|
20
|
+
// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
%If (QtWebEngine_6_8_0 -)
|
|
24
|
+
|
|
25
|
+
class QWebEngineClientHints : public QObject /NoDefaultCtors/
|
|
26
|
+
{
|
|
27
|
+
%TypeHeaderCode
|
|
28
|
+
#include <qwebengineclienthints.h>
|
|
29
|
+
%End
|
|
30
|
+
|
|
31
|
+
public:
|
|
32
|
+
virtual ~QWebEngineClientHints();
|
|
33
|
+
QString arch() const;
|
|
34
|
+
QString platform() const;
|
|
35
|
+
QString model() const;
|
|
36
|
+
bool isMobile() const;
|
|
37
|
+
QString fullVersion() const;
|
|
38
|
+
QString platformVersion() const;
|
|
39
|
+
QString bitness() const;
|
|
40
|
+
QVariantMap fullVersionList() const;
|
|
41
|
+
bool isWow64() const;
|
|
42
|
+
void setArch(const QString &);
|
|
43
|
+
void setPlatform(const QString &);
|
|
44
|
+
void setModel(const QString &);
|
|
45
|
+
void setIsMobile(bool);
|
|
46
|
+
void setFullVersion(const QString &);
|
|
47
|
+
void setPlatformVersion(const QString &);
|
|
48
|
+
void setBitness(const QString &);
|
|
49
|
+
void setFullVersionList(const QVariantMap &);
|
|
50
|
+
void setIsWow64(bool);
|
|
51
|
+
bool isAllClientHintsEnabled();
|
|
52
|
+
void setAllClientHintsEnabled(bool enabled);
|
|
53
|
+
void resetAll();
|
|
54
|
+
};
|
|
55
|
+
|
|
56
|
+
%End
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
// qwebengineframe.sip generated by MetaSIP
|
|
2
|
+
//
|
|
3
|
+
// This file is part of the QtWebEngineCore Python extension module.
|
|
4
|
+
//
|
|
5
|
+
// Copyright (c) 2024 Riverbank Computing Limited <info@riverbankcomputing.com>
|
|
6
|
+
//
|
|
7
|
+
// This file is part of PyQt6-WebEngine.
|
|
8
|
+
//
|
|
9
|
+
// This file may be used under the terms of the GNU General Public License
|
|
10
|
+
// version 3.0 as published by the Free Software Foundation and appearing in
|
|
11
|
+
// the file LICENSE included in the packaging of this file. Please review the
|
|
12
|
+
// following information to ensure the GNU General Public License version 3.0
|
|
13
|
+
// requirements will be met: http://www.gnu.org/copyleft/gpl.html.
|
|
14
|
+
//
|
|
15
|
+
// If you do not wish to use this file under the terms of the GPL version 3.0
|
|
16
|
+
// then you may purchase a commercial license. For more information contact
|
|
17
|
+
// info@riverbankcomputing.com.
|
|
18
|
+
//
|
|
19
|
+
// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
|
|
20
|
+
// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
%If (QtWebEngine_6_8_0 -)
|
|
24
|
+
|
|
25
|
+
class QWebEngineFrame /NoDefaultCtors/
|
|
26
|
+
{
|
|
27
|
+
%TypeHeaderCode
|
|
28
|
+
#include <qwebengineframe.h>
|
|
29
|
+
%End
|
|
30
|
+
|
|
31
|
+
public:
|
|
32
|
+
bool isValid() const;
|
|
33
|
+
QString name() const;
|
|
34
|
+
QString htmlName() const;
|
|
35
|
+
QList<QWebEngineFrame> children() const;
|
|
36
|
+
QUrl url() const;
|
|
37
|
+
QSizeF size() const;
|
|
38
|
+
bool isMainFrame() const;
|
|
39
|
+
void runJavaScript(const QString &script, quint32 worldId = 0);
|
|
40
|
+
void runJavaScript(const QString &script, SIP_PYCALLABLE callback /TypeHint="Callable[[Any], None]"/);
|
|
41
|
+
%MethodCode
|
|
42
|
+
// Make sure the callable doesn't get garbage collected until it is invoked.
|
|
43
|
+
Py_INCREF(a1);
|
|
44
|
+
|
|
45
|
+
Py_BEGIN_ALLOW_THREADS
|
|
46
|
+
|
|
47
|
+
sipCpp->runJavaScript(*a0, [a1](const QVariant &arg) {
|
|
48
|
+
SIP_BLOCK_THREADS
|
|
49
|
+
|
|
50
|
+
PyObject *res;
|
|
51
|
+
|
|
52
|
+
res = sipCallMethod(NULL, a1, "N", new QVariant(arg), sipType_QVariant, NULL);
|
|
53
|
+
|
|
54
|
+
Py_DECREF(a1);
|
|
55
|
+
|
|
56
|
+
if (!res)
|
|
57
|
+
pyqt6_qtwebenginecore_err_print();
|
|
58
|
+
else
|
|
59
|
+
Py_DECREF(res);
|
|
60
|
+
|
|
61
|
+
SIP_UNBLOCK_THREADS
|
|
62
|
+
});
|
|
63
|
+
|
|
64
|
+
Py_END_ALLOW_THREADS
|
|
65
|
+
%End
|
|
66
|
+
|
|
67
|
+
void runJavaScript(const QString &script, quint32 worldId, SIP_PYCALLABLE callback /TypeHint="Callable[[Any], None]"/);
|
|
68
|
+
%MethodCode
|
|
69
|
+
// Make sure the callable doesn't get garbage collected until it is invoked.
|
|
70
|
+
Py_INCREF(a2);
|
|
71
|
+
|
|
72
|
+
Py_BEGIN_ALLOW_THREADS
|
|
73
|
+
|
|
74
|
+
sipCpp->runJavaScript(*a0, a1, [a2](const QVariant &arg) {
|
|
75
|
+
SIP_BLOCK_THREADS
|
|
76
|
+
|
|
77
|
+
PyObject *res;
|
|
78
|
+
|
|
79
|
+
res = sipCallMethod(NULL, a2, "N", new QVariant(arg), sipType_QVariant, NULL);
|
|
80
|
+
|
|
81
|
+
Py_DECREF(a2);
|
|
82
|
+
|
|
83
|
+
if (!res)
|
|
84
|
+
pyqt6_qtwebenginecore_err_print();
|
|
85
|
+
else
|
|
86
|
+
Py_DECREF(res);
|
|
87
|
+
|
|
88
|
+
SIP_UNBLOCK_THREADS
|
|
89
|
+
});
|
|
90
|
+
|
|
91
|
+
Py_END_ALLOW_THREADS
|
|
92
|
+
%End
|
|
93
|
+
|
|
94
|
+
void printToPdf(const QString &filePath);
|
|
95
|
+
void printToPdf(SIP_PYCALLABLE callback /TypeHint="Callable[[QByteArray], None]"/);
|
|
96
|
+
%MethodCode
|
|
97
|
+
// Make sure the callable doesn't get garbage collected until it is invoked.
|
|
98
|
+
Py_INCREF(a0);
|
|
99
|
+
|
|
100
|
+
Py_BEGIN_ALLOW_THREADS
|
|
101
|
+
|
|
102
|
+
sipCpp->printToPdf([a0](const QByteArray &arg) {
|
|
103
|
+
SIP_BLOCK_THREADS
|
|
104
|
+
|
|
105
|
+
PyObject *res;
|
|
106
|
+
|
|
107
|
+
res = sipCallMethod(NULL, a0, "N", new QByteArray(arg), sipType_QByteArray, NULL);
|
|
108
|
+
|
|
109
|
+
Py_DECREF(a0);
|
|
110
|
+
|
|
111
|
+
if (!res)
|
|
112
|
+
pyqt6_qtwebenginecore_err_print();
|
|
113
|
+
else
|
|
114
|
+
Py_DECREF(res);
|
|
115
|
+
|
|
116
|
+
SIP_UNBLOCK_THREADS
|
|
117
|
+
});
|
|
118
|
+
|
|
119
|
+
Py_END_ALLOW_THREADS
|
|
120
|
+
%End
|
|
121
|
+
};
|
|
122
|
+
|
|
123
|
+
%End
|
|
124
|
+
%If (QtWebEngine_6_8_0 -)
|
|
125
|
+
bool operator!=(const QWebEngineFrame &lhs, const QWebEngineFrame &rhs);
|
|
126
|
+
%End
|
|
127
|
+
%If (QtWebEngine_6_8_0 -)
|
|
128
|
+
bool operator==(const QWebEngineFrame &lhs, const QWebEngineFrame &rhs);
|
|
129
|
+
%End
|
{PyQt6_WebEngine-6.7.0 → PyQt6_WebEngine-6.8.0}/sip/QtWebEngineCore/qwebenginenavigationrequest.sip
RENAMED
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
|
21
21
|
|
|
22
22
|
|
|
23
|
-
class QWebEngineNavigationRequest : public QObject
|
|
23
|
+
class QWebEngineNavigationRequest : public QObject /NoDefaultCtors/
|
|
24
24
|
{
|
|
25
25
|
%TypeHeaderCode
|
|
26
26
|
#include <qwebenginenavigationrequest.h>
|
|
@@ -44,10 +44,10 @@ public:
|
|
|
44
44
|
QWebEngineNavigationRequest::NavigationType navigationType() const;
|
|
45
45
|
void accept();
|
|
46
46
|
void reject();
|
|
47
|
+
%If (QtWebEngine_6_8_0 -)
|
|
48
|
+
bool hasFormData() const;
|
|
49
|
+
%End
|
|
47
50
|
|
|
48
51
|
signals:
|
|
49
52
|
void actionChanged();
|
|
50
|
-
|
|
51
|
-
private:
|
|
52
|
-
QWebEngineNavigationRequest(const QUrl &url, QWebEngineNavigationRequest::NavigationType navigationType, bool mainFrame, QObject *parent = 0);
|
|
53
53
|
};
|
|
@@ -116,6 +116,12 @@ public:
|
|
|
116
116
|
MouseLock,
|
|
117
117
|
DesktopVideoCapture,
|
|
118
118
|
DesktopAudioVideoCapture,
|
|
119
|
+
%If (QtWebEngine_6_8_0 -)
|
|
120
|
+
ClipboardReadWrite,
|
|
121
|
+
%End
|
|
122
|
+
%If (QtWebEngine_6_8_0 -)
|
|
123
|
+
LocalFontsAccess,
|
|
124
|
+
%End
|
|
119
125
|
};
|
|
120
126
|
|
|
121
127
|
enum FileSelectionMode
|
|
@@ -366,7 +372,7 @@ public:
|
|
|
366
372
|
Py_END_ALLOW_THREADS
|
|
367
373
|
%End
|
|
368
374
|
|
|
369
|
-
void runJavaScript(const QString &scriptSource, quint32 worldId = 0, SIP_PYCALLABLE resultCallback /AllowNone,TypeHint="Callable[[
|
|
375
|
+
void runJavaScript(const QString &scriptSource, quint32 worldId = 0, SIP_PYCALLABLE resultCallback /AllowNone,TypeHint="Callable[[Any], None]"/ = 0);
|
|
370
376
|
%MethodCode
|
|
371
377
|
// Make sure the callable doesn't get garbage collected until it is invoked.
|
|
372
378
|
Py_XINCREF(a2);
|
|
@@ -475,4 +481,23 @@ signals:
|
|
|
475
481
|
%If (QtWebEngine_6_7_0 -)
|
|
476
482
|
void webAuthUxRequested(QWebEngineWebAuthUxRequest *request);
|
|
477
483
|
%End
|
|
484
|
+
|
|
485
|
+
public:
|
|
486
|
+
%If (QtWebEngine_6_8_0 -)
|
|
487
|
+
QWebEngineFrame mainFrame();
|
|
488
|
+
%End
|
|
489
|
+
%If (QtWebEngine_6_8_0 -)
|
|
490
|
+
std::optional<QWebEngineFrame> findFrameByName(QAnyStringView name);
|
|
491
|
+
%End
|
|
492
|
+
|
|
493
|
+
signals:
|
|
494
|
+
%If (QtWebEngine_6_8_0 -)
|
|
495
|
+
void permissionRequested(QWebEnginePermission permissionRequest);
|
|
496
|
+
%End
|
|
497
|
+
%If (QtWebEngine_6_8_0 -)
|
|
498
|
+
void zoomFactorChanged(qreal factor);
|
|
499
|
+
%End
|
|
500
|
+
%If (QtWebEngine_6_8_0 -)
|
|
501
|
+
void printRequestedByFrame(QWebEngineFrame frame);
|
|
502
|
+
%End
|
|
478
503
|
};
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
// qwebenginepermission.sip generated by MetaSIP
|
|
2
|
+
//
|
|
3
|
+
// This file is part of the QtWebEngineCore Python extension module.
|
|
4
|
+
//
|
|
5
|
+
// Copyright (c) 2024 Riverbank Computing Limited <info@riverbankcomputing.com>
|
|
6
|
+
//
|
|
7
|
+
// This file is part of PyQt6-WebEngine.
|
|
8
|
+
//
|
|
9
|
+
// This file may be used under the terms of the GNU General Public License
|
|
10
|
+
// version 3.0 as published by the Free Software Foundation and appearing in
|
|
11
|
+
// the file LICENSE included in the packaging of this file. Please review the
|
|
12
|
+
// following information to ensure the GNU General Public License version 3.0
|
|
13
|
+
// requirements will be met: http://www.gnu.org/copyleft/gpl.html.
|
|
14
|
+
//
|
|
15
|
+
// If you do not wish to use this file under the terms of the GPL version 3.0
|
|
16
|
+
// then you may purchase a commercial license. For more information contact
|
|
17
|
+
// info@riverbankcomputing.com.
|
|
18
|
+
//
|
|
19
|
+
// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
|
|
20
|
+
// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
%If (QtWebEngine_6_8_0 -)
|
|
24
|
+
|
|
25
|
+
class QWebEnginePermission
|
|
26
|
+
{
|
|
27
|
+
%TypeHeaderCode
|
|
28
|
+
#include <qwebenginepermission.h>
|
|
29
|
+
%End
|
|
30
|
+
|
|
31
|
+
public:
|
|
32
|
+
QWebEnginePermission();
|
|
33
|
+
QWebEnginePermission(const QWebEnginePermission &other);
|
|
34
|
+
~QWebEnginePermission();
|
|
35
|
+
void swap(QWebEnginePermission &other);
|
|
36
|
+
|
|
37
|
+
enum class PermissionType
|
|
38
|
+
{
|
|
39
|
+
Unsupported,
|
|
40
|
+
MediaAudioCapture,
|
|
41
|
+
MediaVideoCapture,
|
|
42
|
+
MediaAudioVideoCapture,
|
|
43
|
+
DesktopVideoCapture,
|
|
44
|
+
DesktopAudioVideoCapture,
|
|
45
|
+
MouseLock,
|
|
46
|
+
Notifications,
|
|
47
|
+
Geolocation,
|
|
48
|
+
ClipboardReadWrite,
|
|
49
|
+
LocalFontsAccess,
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
enum class State
|
|
53
|
+
{
|
|
54
|
+
Invalid,
|
|
55
|
+
Ask,
|
|
56
|
+
Granted,
|
|
57
|
+
Denied,
|
|
58
|
+
};
|
|
59
|
+
|
|
60
|
+
QUrl origin() const;
|
|
61
|
+
QWebEnginePermission::PermissionType permissionType() const;
|
|
62
|
+
QWebEnginePermission::State state() const;
|
|
63
|
+
bool isValid() const;
|
|
64
|
+
void grant() const;
|
|
65
|
+
void deny() const;
|
|
66
|
+
void reset() const;
|
|
67
|
+
static bool isPersistent(QWebEnginePermission::PermissionType permissionType);
|
|
68
|
+
};
|
|
69
|
+
|
|
70
|
+
%End
|
|
71
|
+
%If (QtWebEngine_6_8_0 -)
|
|
72
|
+
bool operator==(const QWebEnginePermission &lhs, const QWebEnginePermission &rhs);
|
|
73
|
+
%End
|
|
74
|
+
%If (QtWebEngine_6_8_0 -)
|
|
75
|
+
bool operator!=(const QWebEnginePermission &lhs, const QWebEnginePermission &rhs);
|
|
76
|
+
%End
|
|
@@ -38,19 +38,24 @@ class QWebEngineProfile : public QObject
|
|
|
38
38
|
sipTypeDef **type;
|
|
39
39
|
int yes, no;
|
|
40
40
|
} graph[] = {
|
|
41
|
-
|
|
42
|
-
{
|
|
43
|
-
|
|
44
|
-
{
|
|
45
|
-
|
|
46
|
-
{
|
|
47
|
-
{
|
|
48
|
-
{
|
|
49
|
-
{
|
|
50
|
-
{
|
|
51
|
-
{
|
|
52
|
-
{
|
|
53
|
-
{
|
|
41
|
+
#if QT_VERSION >= 0x060800
|
|
42
|
+
{sipName_QWebEngineClientHints, &sipType_QWebEngineClientHints, -1, 1},
|
|
43
|
+
#else
|
|
44
|
+
{0, 0, -1, 1},
|
|
45
|
+
#endif
|
|
46
|
+
{sipName_QWebEngineContextMenuRequest, &sipType_QWebEngineContextMenuRequest, -1, 2},
|
|
47
|
+
{sipName_QWebEngineCookieStore, &sipType_QWebEngineCookieStore, -1, 3},
|
|
48
|
+
{sipName_QWebEngineDownloadRequest, &sipType_QWebEngineDownloadRequest, -1, 4},
|
|
49
|
+
{sipName_QWebEngineHistory, &sipType_QWebEngineHistory, -1, 5},
|
|
50
|
+
{sipName_QWebEngineHistoryModel, &sipType_QWebEngineHistoryModel, -1, 6},
|
|
51
|
+
{sipName_QWebEngineNavigationRequest, &sipType_QWebEngineNavigationRequest, -1, 7},
|
|
52
|
+
{sipName_QWebEngineNewWindowRequest, &sipType_QWebEngineNewWindowRequest, -1, 8},
|
|
53
|
+
{sipName_QWebEngineNotification, &sipType_QWebEngineNotification, -1, 9},
|
|
54
|
+
{sipName_QWebEnginePage, &sipType_QWebEnginePage, -1, 10},
|
|
55
|
+
{sipName_QWebEngineProfile, &sipType_QWebEngineProfile, -1, 11},
|
|
56
|
+
{sipName_QWebEngineUrlRequestInterceptor, &sipType_QWebEngineUrlRequestInterceptor, -1, 12},
|
|
57
|
+
{sipName_QWebEngineUrlRequestJob, &sipType_QWebEngineUrlRequestJob, -1, 13},
|
|
58
|
+
{sipName_QWebEngineUrlSchemeHandler, &sipType_QWebEngineUrlSchemeHandler, -1, 14},
|
|
54
59
|
#if QT_VERSION >= 0x060700
|
|
55
60
|
{sipName_QWebEngineWebAuthUxRequest, &sipType_QWebEngineWebAuthUxRequest, -1, -1},
|
|
56
61
|
#else
|
|
@@ -243,4 +248,35 @@ public:
|
|
|
243
248
|
%If (QtWebEngine_6_5_0 -)
|
|
244
249
|
void setPushServiceEnabled(bool enabled);
|
|
245
250
|
%End
|
|
251
|
+
%If (QtWebEngine_6_8_0 -)
|
|
252
|
+
|
|
253
|
+
enum class PersistentPermissionsPolicy
|
|
254
|
+
{
|
|
255
|
+
AskEveryTime,
|
|
256
|
+
StoreInMemory,
|
|
257
|
+
StoreOnDisk,
|
|
258
|
+
};
|
|
259
|
+
|
|
260
|
+
%End
|
|
261
|
+
%If (QtWebEngine_6_8_0 -)
|
|
262
|
+
QWebEngineProfile::PersistentPermissionsPolicy persistentPermissionsPolicy() const;
|
|
263
|
+
%End
|
|
264
|
+
%If (QtWebEngine_6_8_0 -)
|
|
265
|
+
void setPersistentPermissionsPolicy(QWebEngineProfile::PersistentPermissionsPolicy);
|
|
266
|
+
%End
|
|
267
|
+
%If (QtWebEngine_6_8_0 -)
|
|
268
|
+
QWebEngineClientHints *clientHints() const /Transfer/;
|
|
269
|
+
%End
|
|
270
|
+
%If (QtWebEngine_6_8_0 -)
|
|
271
|
+
QWebEnginePermission queryPermission(const QUrl &securityOrigin, QWebEnginePermission::PermissionType permissionType) const;
|
|
272
|
+
%End
|
|
273
|
+
%If (QtWebEngine_6_8_0 -)
|
|
274
|
+
QList<QWebEnginePermission> listAllPermissions() const;
|
|
275
|
+
%End
|
|
276
|
+
%If (QtWebEngine_6_8_0 -)
|
|
277
|
+
QList<QWebEnginePermission> listPermissionsForOrigin(const QUrl &securityOrigin) const;
|
|
278
|
+
%End
|
|
279
|
+
%If (QtWebEngine_6_8_0 -)
|
|
280
|
+
QList<QWebEnginePermission> listPermissionsForPermissionType(QWebEnginePermission::PermissionType permissionType) const;
|
|
281
|
+
%End
|
|
246
282
|
};
|
|
@@ -109,12 +109,26 @@ public:
|
|
|
109
109
|
void resetAttribute(QWebEngineSettings::WebAttribute attr);
|
|
110
110
|
void setDefaultTextEncoding(const QString &encoding);
|
|
111
111
|
QString defaultTextEncoding() const;
|
|
112
|
-
|
|
113
|
-
private:
|
|
114
|
-
explicit QWebEngineSettings(QWebEngineSettings *parentSettings = 0);
|
|
115
|
-
|
|
116
|
-
public:
|
|
117
112
|
QWebEngineSettings::UnknownUrlSchemePolicy unknownUrlSchemePolicy() const;
|
|
118
113
|
void setUnknownUrlSchemePolicy(QWebEngineSettings::UnknownUrlSchemePolicy policy);
|
|
119
114
|
void resetUnknownUrlSchemePolicy();
|
|
115
|
+
%If (QtWebEngine_6_8_0 -)
|
|
116
|
+
|
|
117
|
+
enum class ImageAnimationPolicy
|
|
118
|
+
{
|
|
119
|
+
Allow,
|
|
120
|
+
AnimateOnce,
|
|
121
|
+
Disallow,
|
|
122
|
+
};
|
|
123
|
+
|
|
124
|
+
%End
|
|
125
|
+
%If (QtWebEngine_6_8_0 -)
|
|
126
|
+
void setImageAnimationPolicy(QWebEngineSettings::ImageAnimationPolicy policy);
|
|
127
|
+
%End
|
|
128
|
+
%If (QtWebEngine_6_8_0 -)
|
|
129
|
+
QWebEngineSettings::ImageAnimationPolicy imageAnimationPolicy() const;
|
|
130
|
+
%End
|
|
131
|
+
%If (QtWebEngine_6_8_0 -)
|
|
132
|
+
void resetImageAnimationPolicy();
|
|
133
|
+
%End
|
|
120
134
|
};
|
{PyQt6_WebEngine-6.7.0 → PyQt6_WebEngine-6.8.0}/sip/QtWebEngineQuick/qquickwebengineprofile.sip
RENAMED
|
@@ -147,4 +147,42 @@ signals:
|
|
|
147
147
|
%If (QtWebEngine_6_7_0 -)
|
|
148
148
|
void clearHttpCacheCompleted();
|
|
149
149
|
%End
|
|
150
|
+
|
|
151
|
+
public:
|
|
152
|
+
%If (QtWebEngine_6_8_0 -)
|
|
153
|
+
|
|
154
|
+
enum class PersistentPermissionsPolicy
|
|
155
|
+
{
|
|
156
|
+
AskEveryTime,
|
|
157
|
+
StoreInMemory,
|
|
158
|
+
StoreOnDisk,
|
|
159
|
+
};
|
|
160
|
+
|
|
161
|
+
%End
|
|
162
|
+
%If (QtWebEngine_6_8_0 -)
|
|
163
|
+
QQuickWebEngineProfile::PersistentPermissionsPolicy persistentPermissionsPolicy() const;
|
|
164
|
+
%End
|
|
165
|
+
%If (QtWebEngine_6_8_0 -)
|
|
166
|
+
void setPersistentPermissionsPolicy(QQuickWebEngineProfile::PersistentPermissionsPolicy);
|
|
167
|
+
%End
|
|
168
|
+
%If (QtWebEngine_6_8_0 -)
|
|
169
|
+
QWebEngineClientHints *clientHints() const /Transfer/;
|
|
170
|
+
%End
|
|
171
|
+
%If (QtWebEngine_6_8_0 -)
|
|
172
|
+
QWebEnginePermission queryPermission(const QUrl &securityOrigin, QWebEnginePermission::PermissionType permissionType) const;
|
|
173
|
+
%End
|
|
174
|
+
%If (QtWebEngine_6_8_0 -)
|
|
175
|
+
QList<QWebEnginePermission> listAllPermissions() const;
|
|
176
|
+
%End
|
|
177
|
+
%If (QtWebEngine_6_8_0 -)
|
|
178
|
+
QList<QWebEnginePermission> listPermissionsForOrigin(const QUrl &securityOrigin) const;
|
|
179
|
+
%End
|
|
180
|
+
%If (QtWebEngine_6_8_0 -)
|
|
181
|
+
QList<QWebEnginePermission> listPermissionsForPermissionType(QWebEnginePermission::PermissionType permissionType) const;
|
|
182
|
+
%End
|
|
183
|
+
|
|
184
|
+
signals:
|
|
185
|
+
%If (QtWebEngine_6_8_0 -)
|
|
186
|
+
void persistentPermissionsPolicyChanged();
|
|
187
|
+
%End
|
|
150
188
|
};
|
|
@@ -189,6 +189,9 @@ signals:
|
|
|
189
189
|
void pdfPrintingFinished(const QString &filePath, bool success);
|
|
190
190
|
void printRequested();
|
|
191
191
|
void printFinished(bool success);
|
|
192
|
+
%If (QtWebEngine_6_8_0 -)
|
|
193
|
+
void printRequestedByFrame(QWebEngineFrame frame);
|
|
194
|
+
%End
|
|
192
195
|
};
|
|
193
196
|
|
|
194
197
|
%ModuleHeaderCode
|
|
File without changes
|
|
File without changes
|
{PyQt6_WebEngine-6.7.0 → PyQt6_WebEngine-6.8.0}/sip/QtWebEngineCore/qtwebenginecoreglobal.sip
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{PyQt6_WebEngine-6.7.0 → PyQt6_WebEngine-6.8.0}/sip/QtWebEngineCore/qwebenginecontextmenurequest.sip
RENAMED
|
File without changes
|
{PyQt6_WebEngine-6.7.0 → PyQt6_WebEngine-6.8.0}/sip/QtWebEngineCore/qwebenginecookiestore.sip
RENAMED
|
File without changes
|
|
File without changes
|
{PyQt6_WebEngine-6.7.0 → PyQt6_WebEngine-6.8.0}/sip/QtWebEngineCore/qwebenginedownloadrequest.sip
RENAMED
|
File without changes
|
|
File without changes
|
{PyQt6_WebEngine-6.7.0 → PyQt6_WebEngine-6.8.0}/sip/QtWebEngineCore/qwebenginefindtextresult.sip
RENAMED
|
File without changes
|
{PyQt6_WebEngine-6.7.0 → PyQt6_WebEngine-6.8.0}/sip/QtWebEngineCore/qwebenginefullscreenrequest.sip
RENAMED
|
File without changes
|
{PyQt6_WebEngine-6.7.0 → PyQt6_WebEngine-6.8.0}/sip/QtWebEngineCore/qwebengineglobalsettings.sip
RENAMED
|
File without changes
|
|
File without changes
|
{PyQt6_WebEngine-6.7.0 → PyQt6_WebEngine-6.8.0}/sip/QtWebEngineCore/qwebenginehttprequest.sip
RENAMED
|
File without changes
|
{PyQt6_WebEngine-6.7.0 → PyQt6_WebEngine-6.8.0}/sip/QtWebEngineCore/qwebengineloadinginfo.sip
RENAMED
|
File without changes
|
{PyQt6_WebEngine-6.7.0 → PyQt6_WebEngine-6.8.0}/sip/QtWebEngineCore/qwebenginenewwindowrequest.sip
RENAMED
|
File without changes
|
{PyQt6_WebEngine-6.7.0 → PyQt6_WebEngine-6.8.0}/sip/QtWebEngineCore/qwebenginenotification.sip
RENAMED
|
File without changes
|
{PyQt6_WebEngine-6.7.0 → PyQt6_WebEngine-6.8.0}/sip/QtWebEngineCore/qwebenginequotarequest.sip
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{PyQt6_WebEngine-6.7.0 → PyQt6_WebEngine-6.8.0}/sip/QtWebEngineCore/qwebenginescriptcollection.sip
RENAMED
|
File without changes
|
|
File without changes
|
{PyQt6_WebEngine-6.7.0 → PyQt6_WebEngine-6.8.0}/sip/QtWebEngineCore/qwebengineurlrequestjob.sip
RENAMED
|
File without changes
|
|
File without changes
|
{PyQt6_WebEngine-6.7.0 → PyQt6_WebEngine-6.8.0}/sip/QtWebEngineCore/qwebengineurlschemehandler.sip
RENAMED
|
File without changes
|
{PyQt6_WebEngine-6.7.0 → PyQt6_WebEngine-6.8.0}/sip/QtWebEngineCore/qwebenginewebauthuxrequest.sip
RENAMED
|
File without changes
|
{PyQt6_WebEngine-6.7.0 → PyQt6_WebEngine-6.8.0}/sip/QtWebEngineQuick/QtWebEngineQuickmod.sip
RENAMED
|
File without changes
|
{PyQt6_WebEngine-6.7.0 → PyQt6_WebEngine-6.8.0}/sip/QtWebEngineQuick/qtwebenginequickglobal.sip
RENAMED
|
File without changes
|
{PyQt6_WebEngine-6.7.0 → PyQt6_WebEngine-6.8.0}/sip/QtWebEngineWidgets/QtWebEngineWidgetsmod.sip
RENAMED
|
File without changes
|