PyQt6-WebEngine 6.6.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.
Files changed (46) hide show
  1. {PyQt6_WebEngine-6.6.0 → PyQt6_WebEngine-6.8.0}/ChangeLog +60 -0
  2. {PyQt6_WebEngine-6.6.0 → PyQt6_WebEngine-6.8.0}/NEWS +6 -0
  3. {PyQt6_WebEngine-6.6.0 → PyQt6_WebEngine-6.8.0}/PKG-INFO +16 -21
  4. PyQt6_WebEngine-6.6.0/README → PyQt6_WebEngine-6.8.0/README.md +10 -15
  5. {PyQt6_WebEngine-6.6.0 → PyQt6_WebEngine-6.8.0}/pyproject.toml +13 -11
  6. {PyQt6_WebEngine-6.6.0 → PyQt6_WebEngine-6.8.0}/sip/QtWebEngineCore/QtWebEngineCoremod.sip +10 -5
  7. {PyQt6_WebEngine-6.6.0 → PyQt6_WebEngine-6.8.0}/sip/QtWebEngineCore/qtwebenginecoreglobal.sip +1 -1
  8. {PyQt6_WebEngine-6.6.0 → PyQt6_WebEngine-6.8.0}/sip/QtWebEngineCore/qwebenginecertificateerror.sip +4 -1
  9. {PyQt6_WebEngine-6.6.0 → PyQt6_WebEngine-6.8.0}/sip/QtWebEngineCore/qwebengineclientcertificateselection.sip +1 -1
  10. {PyQt6_WebEngine-6.6.0 → PyQt6_WebEngine-6.8.0}/sip/QtWebEngineCore/qwebengineclientcertificatestore.sip +1 -1
  11. PyQt6_WebEngine-6.8.0/sip/QtWebEngineCore/qwebengineclienthints.sip +56 -0
  12. {PyQt6_WebEngine-6.6.0 → PyQt6_WebEngine-6.8.0}/sip/QtWebEngineCore/qwebenginecontextmenurequest.sip +2 -2
  13. {PyQt6_WebEngine-6.6.0 → PyQt6_WebEngine-6.8.0}/sip/QtWebEngineCore/qwebenginecookiestore.sip +2 -38
  14. PyQt6_WebEngine-6.8.0/sip/QtWebEngineCore/qwebenginedesktopmediarequest.sip +40 -0
  15. {PyQt6_WebEngine-6.6.0 → PyQt6_WebEngine-6.8.0}/sip/QtWebEngineCore/qwebenginedownloadrequest.sip +2 -2
  16. {PyQt6_WebEngine-6.6.0 → PyQt6_WebEngine-6.8.0}/sip/QtWebEngineCore/qwebenginefilesystemaccessrequest.sip +1 -1
  17. {PyQt6_WebEngine-6.6.0 → PyQt6_WebEngine-6.8.0}/sip/QtWebEngineCore/qwebenginefindtextresult.sip +1 -1
  18. PyQt6_WebEngine-6.8.0/sip/QtWebEngineCore/qwebengineframe.sip +129 -0
  19. {PyQt6_WebEngine-6.6.0 → PyQt6_WebEngine-6.8.0}/sip/QtWebEngineCore/qwebenginefullscreenrequest.sip +1 -1
  20. {PyQt6_WebEngine-6.6.0 → PyQt6_WebEngine-6.8.0}/sip/QtWebEngineCore/qwebengineglobalsettings.sip +1 -1
  21. {PyQt6_WebEngine-6.6.0 → PyQt6_WebEngine-6.8.0}/sip/QtWebEngineCore/qwebenginehistory.sip +3 -3
  22. {PyQt6_WebEngine-6.6.0 → PyQt6_WebEngine-6.8.0}/sip/QtWebEngineCore/qwebenginehttprequest.sip +1 -1
  23. {PyQt6_WebEngine-6.6.0 → PyQt6_WebEngine-6.8.0}/sip/QtWebEngineCore/qwebengineloadinginfo.sip +1 -1
  24. {PyQt6_WebEngine-6.6.0 → PyQt6_WebEngine-6.8.0}/sip/QtWebEngineCore/qwebenginenavigationrequest.sip +5 -5
  25. {PyQt6_WebEngine-6.6.0 → PyQt6_WebEngine-6.8.0}/sip/QtWebEngineCore/qwebenginenewwindowrequest.sip +2 -2
  26. {PyQt6_WebEngine-6.6.0 → PyQt6_WebEngine-6.8.0}/sip/QtWebEngineCore/qwebenginenotification.sip +2 -2
  27. {PyQt6_WebEngine-6.6.0 → PyQt6_WebEngine-6.8.0}/sip/QtWebEngineCore/qwebenginepage.sip +36 -3
  28. PyQt6_WebEngine-6.8.0/sip/QtWebEngineCore/qwebenginepermission.sip +76 -0
  29. {PyQt6_WebEngine-6.6.0 → PyQt6_WebEngine-6.8.0}/sip/QtWebEngineCore/qwebengineprofile.sip +59 -15
  30. {PyQt6_WebEngine-6.6.0 → PyQt6_WebEngine-6.8.0}/sip/QtWebEngineCore/qwebenginequotarequest.sip +1 -1
  31. {PyQt6_WebEngine-6.6.0 → PyQt6_WebEngine-6.8.0}/sip/QtWebEngineCore/qwebengineregisterprotocolhandlerrequest.sip +1 -1
  32. {PyQt6_WebEngine-6.6.0 → PyQt6_WebEngine-6.8.0}/sip/QtWebEngineCore/qwebenginescript.sip +1 -1
  33. {PyQt6_WebEngine-6.6.0 → PyQt6_WebEngine-6.8.0}/sip/QtWebEngineCore/qwebenginescriptcollection.sip +1 -1
  34. {PyQt6_WebEngine-6.6.0 → PyQt6_WebEngine-6.8.0}/sip/QtWebEngineCore/qwebenginesettings.sip +23 -6
  35. {PyQt6_WebEngine-6.6.0 → PyQt6_WebEngine-6.8.0}/sip/QtWebEngineCore/qwebengineurlrequestinfo.sip +7 -1
  36. {PyQt6_WebEngine-6.6.0 → PyQt6_WebEngine-6.8.0}/sip/QtWebEngineCore/qwebengineurlrequestinterceptor.sip +2 -2
  37. {PyQt6_WebEngine-6.6.0 → PyQt6_WebEngine-6.8.0}/sip/QtWebEngineCore/qwebengineurlrequestjob.sip +5 -2
  38. {PyQt6_WebEngine-6.6.0 → PyQt6_WebEngine-6.8.0}/sip/QtWebEngineCore/qwebengineurlscheme.sip +1 -1
  39. {PyQt6_WebEngine-6.6.0 → PyQt6_WebEngine-6.8.0}/sip/QtWebEngineCore/qwebengineurlschemehandler.sip +2 -2
  40. PyQt6_WebEngine-6.8.0/sip/QtWebEngineCore/qwebenginewebauthuxrequest.sip +109 -0
  41. {PyQt6_WebEngine-6.6.0 → PyQt6_WebEngine-6.8.0}/sip/QtWebEngineQuick/QtWebEngineQuickmod.sip +2 -2
  42. {PyQt6_WebEngine-6.6.0 → PyQt6_WebEngine-6.8.0}/sip/QtWebEngineQuick/qquickwebengineprofile.sip +43 -2
  43. {PyQt6_WebEngine-6.6.0 → PyQt6_WebEngine-6.8.0}/sip/QtWebEngineQuick/qtwebenginequickglobal.sip +1 -1
  44. {PyQt6_WebEngine-6.6.0 → PyQt6_WebEngine-6.8.0}/sip/QtWebEngineWidgets/QtWebEngineWidgetsmod.sip +2 -2
  45. {PyQt6_WebEngine-6.6.0 → PyQt6_WebEngine-6.8.0}/sip/QtWebEngineWidgets/qwebengineview.sip +5 -2
  46. {PyQt6_WebEngine-6.6.0 → PyQt6_WebEngine-6.8.0}/LICENSE +0 -0
@@ -1,5 +1,65 @@
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
+
26
+ 2024-04-04 Phil Thompson <phil@riverbankcomputing.com>
27
+
28
+ * NEWS, PyQt6-WebEngine.msp:
29
+ Updated for Qt v6.7.0.
30
+ [cb8b0faaaac7] [6.7.0]
31
+
32
+ 2024-03-17 Phil Thompson <phil@riverbankcomputing.com>
33
+
34
+ * NEWS, PyQt6-WebEngine.msp, mksccode/QtWebEngineCore.versions:
35
+ Added support for Qt v6.7.
36
+ [10ef78663bab]
37
+
38
+ 2024-02-18 Phil Thompson <phil@riverbankcomputing.com>
39
+
40
+ * README, README.md, pyproject.toml:
41
+ Migrated from [tool.sip.metadata] to [project] in pyproject.toml.
42
+ [44c8b10a047b]
43
+
44
+ * NEWS:
45
+ Updated the NEWS file.
46
+ [dfeb66ea536b]
47
+
48
+ * Merged the 6.6-maint branch.
49
+ [4ff980ee9851]
50
+
51
+ 2024-01-02 Phil Thompson <phil@riverbankcomputing.com>
52
+
53
+ * NEWS, rb-product.toml:
54
+ Removed the product file.
55
+ [b7be550b308f] <6.6-maint>
56
+
1
57
  2023-10-25 Phil Thompson <phil@riverbankcomputing.com>
2
58
 
59
+ * .hgtags:
60
+ Added tag 6.6.0 for changeset 6b4eda057dbf
61
+ [35b28a4bc972]
62
+
3
63
  * NEWS, rb-product.toml:
4
64
  Removed an out of date entry in the product file.
5
65
  [6b4eda057dbf] [6.6.0]
@@ -1,3 +1,9 @@
1
+ v6.8.0 24th October 2024
2
+ - Added support for Qt v6.8.
3
+
4
+ v6.7.0 4th April 2024
5
+ - Added support for Qt v6.7.
6
+
1
7
  v6.6.0 25th October 2023
2
8
  - Added support for Qt v6.6.
3
9
 
@@ -1,16 +1,15 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: PyQt6-WebEngine
3
- Version: 6.6.0
4
- Requires-Python: >=3.7
3
+ Version: 6.8.0
4
+ Requires-Python: >=3.9
5
5
  Summary: Python bindings for the Qt WebEngine framework
6
- Home-Page: https://www.riverbankcomputing.com/software/pyqtwebengine/
7
- Author: Riverbank Computing Limited
8
- Author-Email: info@riverbankcomputing.com
9
- License: GPL v3
6
+ Description-Content-Type: text/markdown
7
+ Project-Url: homepage, https://www.riverbankcomputing.com/software/pyqtwebengine/
10
8
  Requires-Dist: PyQt6 (>=6.2.0)
9
+ License: GPL v3
10
+ Author-Email: Riverbank Computing Limited <info@riverbankcomputing.com>
11
11
 
12
- PyQt6-WebEngine - Python Bindings for the Qt WebEngine Framework
13
- ================================================================
12
+ # PyQt6-WebEngine - Python Bindings for the Qt WebEngine Framework
14
13
 
15
14
  PyQt6-WebEngine is a set of Python bindings for The Qt Company's Qt WebEngine
16
15
  framework. The framework provides the ability to embed web content in
@@ -19,8 +18,7 @@ PyQt6 and are implemented as three separate modules corresponding to the
19
18
  different libraries that make up the framework.
20
19
 
21
20
 
22
- Author
23
- ------
21
+ ## Author
24
22
 
25
23
  PyQt6-WebEngine is copyright (c) Riverbank Computing Limited. Its homepage is
26
24
  https://www.riverbankcomputing.com/software/pyqtwebengine/.
@@ -29,29 +27,26 @@ Support may be obtained from the PyQt mailing list at
29
27
  https://www.riverbankcomputing.com/mailman/listinfo/pyqt/.
30
28
 
31
29
 
32
- License
33
- -------
30
+ ## License
34
31
 
35
32
  PyQt6-WebEngine is released under the GPL v3 license and under a commercial
36
33
  license that allows for the development of proprietary applications.
37
34
 
38
35
 
39
- Documentation
40
- -------------
36
+ ## Documentation
41
37
 
42
38
  The documentation for the latest release can be found
43
- `here <https://www.riverbankcomputing.com/static/Docs/PyQt6/>`__.
39
+ [here](https://www.riverbankcomputing.com/static/Docs/PyQt6/).
44
40
 
45
41
 
46
- Installation
47
- ------------
42
+ ## Installation
48
43
 
49
- The GPL version of PyQt6-WebEngine can be installed from PyPI::
44
+ The GPL version of PyQt6-WebEngine can be installed from PyPI:
50
45
 
51
46
  pip install PyQt6-WebEngine
52
47
 
53
- ``pip`` will also build and install the bindings from the sdist package but
54
- Qt's ``qmake`` tool must be on ``PATH``.
48
+ `pip` will also build and install the bindings from the sdist package but Qt's
49
+ `qmake` tool must be on `PATH`.
55
50
 
56
- The ``sip-install`` tool will also install the bindings from the sdist package
51
+ The `sip-install` tool will also install the bindings from the sdist package
57
52
  but will allow you to configure many aspects of the installation.
@@ -1,5 +1,4 @@
1
- PyQt6-WebEngine - Python Bindings for the Qt WebEngine Framework
2
- ================================================================
1
+ # PyQt6-WebEngine - Python Bindings for the Qt WebEngine Framework
3
2
 
4
3
  PyQt6-WebEngine is a set of Python bindings for The Qt Company's Qt WebEngine
5
4
  framework. The framework provides the ability to embed web content in
@@ -8,8 +7,7 @@ PyQt6 and are implemented as three separate modules corresponding to the
8
7
  different libraries that make up the framework.
9
8
 
10
9
 
11
- Author
12
- ------
10
+ ## Author
13
11
 
14
12
  PyQt6-WebEngine is copyright (c) Riverbank Computing Limited. Its homepage is
15
13
  https://www.riverbankcomputing.com/software/pyqtwebengine/.
@@ -18,29 +16,26 @@ Support may be obtained from the PyQt mailing list at
18
16
  https://www.riverbankcomputing.com/mailman/listinfo/pyqt/.
19
17
 
20
18
 
21
- License
22
- -------
19
+ ## License
23
20
 
24
21
  PyQt6-WebEngine is released under the GPL v3 license and under a commercial
25
22
  license that allows for the development of proprietary applications.
26
23
 
27
24
 
28
- Documentation
29
- -------------
25
+ ## Documentation
30
26
 
31
27
  The documentation for the latest release can be found
32
- `here <https://www.riverbankcomputing.com/static/Docs/PyQt6/>`__.
28
+ [here](https://www.riverbankcomputing.com/static/Docs/PyQt6/).
33
29
 
34
30
 
35
- Installation
36
- ------------
31
+ ## Installation
37
32
 
38
- The GPL version of PyQt6-WebEngine can be installed from PyPI::
33
+ The GPL version of PyQt6-WebEngine can be installed from PyPI:
39
34
 
40
35
  pip install PyQt6-WebEngine
41
36
 
42
- ``pip`` will also build and install the bindings from the sdist package but
43
- Qt's ``qmake`` tool must be on ``PATH``.
37
+ `pip` will also build and install the bindings from the sdist package but Qt's
38
+ `qmake` tool must be on `PATH`.
44
39
 
45
- The ``sip-install`` tool will also install the bindings from the sdist package
40
+ The `sip-install` tool will also install the bindings from the sdist package
46
41
  but will allow you to configure many aspects of the installation.
@@ -1,19 +1,21 @@
1
1
  # Specify the build system requirements.
2
2
  [build-system]
3
- requires = ["sip >=6, <7", "PyQt-builder >=1.11, <2"]
3
+ requires = ["sip >=6.9, <7", "PyQt-builder >=1.17, <2"]
4
4
  build-backend = "sipbuild.api"
5
5
 
6
- # Specify the PEP 566 metadata for the project.
7
- [tool.sip.metadata]
6
+ [project]
8
7
  name = "PyQt6-WebEngine"
9
- version = "6.6.0"
10
- summary = "Python bindings for the Qt WebEngine framework"
11
- home-page = "https://www.riverbankcomputing.com/software/pyqtwebengine/"
12
- author = "Riverbank Computing Limited"
13
- author-email = "info@riverbankcomputing.com"
14
- license = "GPL v3"
15
- description-file = "README"
16
- requires-dist = "PyQt6 (>=6.2.0)"
8
+ version = "6.8.0"
9
+ description = "Python bindings for the Qt WebEngine framework"
10
+ readme = "README.md"
11
+ urls.homepage = "https://www.riverbankcomputing.com/software/pyqtwebengine/"
12
+ dependencies = ["PyQt6 (>=6.2.0)"]
13
+ license = {text = "GPL v3"}
14
+
15
+ [[project.authors]]
16
+ name = "Riverbank Computing Limited"
17
+ email = "info@riverbankcomputing.com"
18
+
17
19
 
18
20
  # Specify a PyQt-based project.
19
21
  [tool.sip]
@@ -2,7 +2,7 @@
2
2
  //
3
3
  // This file is part of the QtWebEngineCore Python extension module.
4
4
  //
5
- // Copyright (c) 2023 Riverbank Computing Limited <info@riverbankcomputing.com>
5
+ // Copyright (c) 2024 Riverbank Computing Limited <info@riverbankcomputing.com>
6
6
  //
7
7
  // This file is part of PyQt6-WebEngine.
8
8
  //
@@ -27,10 +27,10 @@
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}
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
- Copyright (c) 2023 Riverbank Computing Limited <info@riverbankcomputing.com>
33
+ Copyright (c) 2024 Riverbank Computing Limited <info@riverbankcomputing.com>
34
34
 
35
35
  This file is part of PyQt6-WebEngine.
36
36
 
@@ -54,19 +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 = 0x060600;
58
- static const char *PYQT_WEBENGINE_VERSION_STR = "6.6.0";
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
68
+ %Include qwebenginedesktopmediarequest.sip
67
69
  %Include qwebenginedownloadrequest.sip
68
70
  %Include qwebenginefilesystemaccessrequest.sip
69
71
  %Include qwebenginefindtextresult.sip
72
+ %Include qwebengineframe.sip
70
73
  %Include qwebenginefullscreenrequest.sip
71
74
  %Include qwebengineglobalsettings.sip
72
75
  %Include qwebenginehistory.sip
@@ -76,6 +79,7 @@ static const char *PYQT_WEBENGINE_VERSION_STR = "6.6.0";
76
79
  %Include qwebenginenewwindowrequest.sip
77
80
  %Include qwebenginenotification.sip
78
81
  %Include qwebenginepage.sip
82
+ %Include qwebenginepermission.sip
79
83
  %Include qwebengineprofile.sip
80
84
  %Include qwebenginequotarequest.sip
81
85
  %Include qwebengineregisterprotocolhandlerrequest.sip
@@ -87,3 +91,4 @@ static const char *PYQT_WEBENGINE_VERSION_STR = "6.6.0";
87
91
  %Include qwebengineurlrequestjob.sip
88
92
  %Include qwebengineurlscheme.sip
89
93
  %Include qwebengineurlschemehandler.sip
94
+ %Include qwebenginewebauthuxrequest.sip
@@ -2,7 +2,7 @@
2
2
  //
3
3
  // This file is part of the QtWebEngineCore Python extension module.
4
4
  //
5
- // Copyright (c) 2023 Riverbank Computing Limited <info@riverbankcomputing.com>
5
+ // Copyright (c) 2024 Riverbank Computing Limited <info@riverbankcomputing.com>
6
6
  //
7
7
  // This file is part of PyQt6-WebEngine.
8
8
  //
@@ -2,7 +2,7 @@
2
2
  //
3
3
  // This file is part of the QtWebEngineCore Python extension module.
4
4
  //
5
- // Copyright (c) 2023 Riverbank Computing Limited <info@riverbankcomputing.com>
5
+ // Copyright (c) 2024 Riverbank Computing Limited <info@riverbankcomputing.com>
6
6
  //
7
7
  // This file is part of PyQt6-WebEngine.
8
8
  //
@@ -58,4 +58,7 @@ public:
58
58
  QWebEngineCertificateError::Type type() const;
59
59
  QString description() const;
60
60
  void acceptCertificate();
61
+ %If (QtWebEngine_6_8_0 -)
62
+ bool isMainFrame() const;
63
+ %End
61
64
  };
@@ -2,7 +2,7 @@
2
2
  //
3
3
  // This file is part of the QtWebEngineCore Python extension module.
4
4
  //
5
- // Copyright (c) 2023 Riverbank Computing Limited <info@riverbankcomputing.com>
5
+ // Copyright (c) 2024 Riverbank Computing Limited <info@riverbankcomputing.com>
6
6
  //
7
7
  // This file is part of PyQt6-WebEngine.
8
8
  //
@@ -2,7 +2,7 @@
2
2
  //
3
3
  // This file is part of the QtWebEngineCore Python extension module.
4
4
  //
5
- // Copyright (c) 2023 Riverbank Computing Limited <info@riverbankcomputing.com>
5
+ // Copyright (c) 2024 Riverbank Computing Limited <info@riverbankcomputing.com>
6
6
  //
7
7
  // This file is part of PyQt6-WebEngine.
8
8
  //
@@ -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
@@ -2,7 +2,7 @@
2
2
  //
3
3
  // This file is part of the QtWebEngineCore Python extension module.
4
4
  //
5
- // Copyright (c) 2023 Riverbank Computing Limited <info@riverbankcomputing.com>
5
+ // Copyright (c) 2024 Riverbank Computing Limited <info@riverbankcomputing.com>
6
6
  //
7
7
  // This file is part of PyQt6-WebEngine.
8
8
  //
@@ -20,7 +20,7 @@
20
20
  // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
21
21
 
22
22
 
23
- class QWebEngineContextMenuRequest : QObject /NoDefaultCtors/
23
+ class QWebEngineContextMenuRequest : public QObject /NoDefaultCtors/
24
24
  {
25
25
  %TypeHeaderCode
26
26
  #include <qwebenginecontextmenurequest.h>
@@ -2,7 +2,7 @@
2
2
  //
3
3
  // This file is part of the QtWebEngineCore Python extension module.
4
4
  //
5
- // Copyright (c) 2023 Riverbank Computing Limited <info@riverbankcomputing.com>
5
+ // Copyright (c) 2024 Riverbank Computing Limited <info@riverbankcomputing.com>
6
6
  //
7
7
  // This file is part of PyQt6-WebEngine.
8
8
  //
@@ -20,48 +20,12 @@
20
20
  // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
21
21
 
22
22
 
23
- class QWebEngineCookieStore : QObject
23
+ class QWebEngineCookieStore : public QObject
24
24
  {
25
25
  %TypeHeaderCode
26
26
  #include <qwebenginecookiestore.h>
27
27
  %End
28
28
 
29
- %ConvertToSubClassCode
30
- static struct class_graph {
31
- const char *name;
32
- sipTypeDef **type;
33
- int yes, no;
34
- } graph[] = {
35
- {sipName_QWebEngineCookieStore, &sipType_QWebEngineCookieStore, -1, 1},
36
- #if QT_VERSION >= 0x050d00
37
- {sipName_QWebEngineNotification, &sipType_QWebEngineNotification, -1, 2},
38
- #else
39
- {0, 0, -1, 2},
40
- #endif
41
- {sipName_QWebEngineUrlRequestInterceptor, &sipType_QWebEngineUrlRequestInterceptor, -1, 3},
42
- {sipName_QWebEngineUrlRequestJob, &sipType_QWebEngineUrlRequestJob, -1, 4},
43
- {sipName_QWebEngineUrlSchemeHandler, &sipType_QWebEngineUrlSchemeHandler, -1, -1},
44
- };
45
-
46
- int i = 0;
47
-
48
- sipType = NULL;
49
-
50
- do
51
- {
52
- struct class_graph *cg = &graph[i];
53
-
54
- if (cg->name != NULL && sipCpp->inherits(cg->name))
55
- {
56
- sipType = *cg->type;
57
- i = cg->yes;
58
- }
59
- else
60
- i = cg->no;
61
- }
62
- while (i >= 0);
63
- %End
64
-
65
29
  public:
66
30
  virtual ~QWebEngineCookieStore();
67
31
  void setCookie(const QNetworkCookie &cookie, const QUrl &origin = QUrl());
@@ -0,0 +1,40 @@
1
+ // qwebenginedesktopmediarequest.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_7_0 -)
24
+
25
+ class QWebEngineDesktopMediaRequest /NoDefaultCtors/
26
+ {
27
+ %TypeHeaderCode
28
+ #include <qwebenginedesktopmediarequest.h>
29
+ %End
30
+
31
+ public:
32
+ ~QWebEngineDesktopMediaRequest();
33
+ QAbstractListModel *screensModel() const;
34
+ QAbstractListModel *windowsModel() const;
35
+ void selectScreen(const QModelIndex &index) const;
36
+ void selectWindow(const QModelIndex &index) const;
37
+ void cancel() const;
38
+ };
39
+
40
+ %End
@@ -2,7 +2,7 @@
2
2
  //
3
3
  // This file is part of the QtWebEngineCore Python extension module.
4
4
  //
5
- // Copyright (c) 2023 Riverbank Computing Limited <info@riverbankcomputing.com>
5
+ // Copyright (c) 2024 Riverbank Computing Limited <info@riverbankcomputing.com>
6
6
  //
7
7
  // This file is part of PyQt6-WebEngine.
8
8
  //
@@ -20,7 +20,7 @@
20
20
  // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
21
21
 
22
22
 
23
- class QWebEngineDownloadRequest : QObject /NoDefaultCtors/
23
+ class QWebEngineDownloadRequest : public QObject /NoDefaultCtors/
24
24
  {
25
25
  %TypeHeaderCode
26
26
  #include <qwebenginedownloadrequest.h>
@@ -2,7 +2,7 @@
2
2
  //
3
3
  // This file is part of the QtWebEngineCore Python extension module.
4
4
  //
5
- // Copyright (c) 2023 Riverbank Computing Limited <info@riverbankcomputing.com>
5
+ // Copyright (c) 2024 Riverbank Computing Limited <info@riverbankcomputing.com>
6
6
  //
7
7
  // This file is part of PyQt6-WebEngine.
8
8
  //
@@ -2,7 +2,7 @@
2
2
  //
3
3
  // This file is part of the QtWebEngineCore Python extension module.
4
4
  //
5
- // Copyright (c) 2023 Riverbank Computing Limited <info@riverbankcomputing.com>
5
+ // Copyright (c) 2024 Riverbank Computing Limited <info@riverbankcomputing.com>
6
6
  //
7
7
  // This file is part of PyQt6-WebEngine.
8
8
  //