././@PaxHeader0000000000000000000000000000003400000000000011452 xustar000000000000000028 mtime=1720864268.1917975 PyQtWebEngine-5.15.7/0000755000076500000240000000000000000000000014352 5ustar00philstaff00000000000000././@PaxHeader0000000000000000000000000000003400000000000011452 xustar000000000000000028 mtime=1720864267.9933732 PyQtWebEngine-5.15.7/ChangeLog0000644000076500000240000002524000000000000016127 0ustar00philstaff000000000000002024-05-03 Phil Thompson * pyproject.toml: Fixed a regression in pyproject.toml. [a027c8d141dc] [5.15.7] <5.15-maint> 2024-02-18 Phil Thompson * METADATA.in, NEWS, README, README.md, pyproject.toml: Migrated from [tool.sip.metadata] to [project] in pyproject.toml. [e090f1c7bc92] <5.15-maint> 2024-01-02 Phil Thompson * NEWS, configure.py, rb-product.toml: Removed configure.py and the product file. [1b4795cd5414] <5.15-maint> 2022-06-18 Phil Thompson * .hgtags: Added tag 5.15.6 for changeset 140468b2e1b2 [1e3589aee4dd] <5.15-maint> 2022-03-15 Phil Thompson * NEWS, PyQtWebEngine.msp: Allow Qt.AA_ShareOpenGLContexts to be specified before a QCoreApplication is created to allow PyQtWebEngineWidgets to be imported. [140468b2e1b2] [5.15.6] <5.15-maint> 2021-11-22 Phil Thompson * PyQtWebEngine.msp: Updated the project version number. [6b8cc0c815da] <5.15-maint> 2021-10-12 Phil Thompson * .hgtags: Added tag 5.15.5 for changeset 69a1dc1f1cf1 [2e12f5eba0bc] <5.15-maint> 2021-08-10 Phil Thompson * README: Fixed the README. [69a1dc1f1cf1] [5.15.5] <5.15-maint> 2021-04-05 Phil Thompson * PyQtWebEngine.msp: Only enable QWebEngineClientCertificateStore when SSL is enabled. [9e311bed7a8f] <5.15-maint> * PyQtWebEngine.msp: Removed the internal QtWebEngineCore namespace. [bdf97a8aacfa] <5.15-maint> 2021-03-04 Phil Thompson * .hgtags: Added tag 5.15.4 for changeset 2b38e9f975ce [79bb44a7ba04] <5.15-maint> * NEWS: Released as v5.15.4. [2b38e9f975ce] [5.15.4] <5.15-maint> * rb-product.toml: Fixed the PyQt dependency. [cefacc6bbb70] <5.15-maint> 2021-03-02 Phil Thompson * NEWS: Updated the NEWS file. [34e365fd176e] <5.15-maint> 2021-02-27 Phil Thompson * pyproject.toml, rb-product.toml: Fixed the project dependencies. [66291dc36205] <5.15-maint> * rb-product, rb-product.toml: Updated the product file. [ee3d635e28f7] <5.15-maint> 2021-02-23 Phil Thompson * .hgtags: Added tag 5.15.3 for changeset b2cd71fcd0e8 [848cde6e6a39] <5.15-maint> * NEWS: Released as v5.15.3. [b2cd71fcd0e8] [5.15.3] <5.15-maint> * pyproject.toml: Fixed the Qt wheel dependency. [1ba4b0c9b7a1] <5.15-maint> 2021-02-22 Phil Thompson * NEWS: Updated the NEWS file. [23a66c3f1b52] <5.15-maint> 2021-02-09 Phil Thompson * pyproject.toml: Added the dependency on the Qt wheel. [8dd59deed488] <5.15-maint> 2020-11-23 Phil Thompson * .hgtags: Added tag 5.15.2 for changeset 3f9b37532f26 [067f6ce9bb6b] <5.15-maint> * NEWS: Released as v5.12.2. [3f9b37532f26] [5.15.2] <5.15-maint> * NEWS: Updated the NEWS file. [44ed90634960] <5.15-maint> 2020-10-28 Phil Thompson * PyQtWebEngine.msp: Updated to project v15. [e6582f031ff0] <5.15-maint> 2020-09-17 Phil Thompson * pyproject.toml: Require PyQt-builder v1.6 as we no longer specify the sip module and ABI. [1a97486ba722] <5.15-maint> 2020-09-11 Phil Thompson * .hgtags: Added tag 5.15.1 for changeset e2b884210459 [21495ba4d85e] <5.15-maint> * NEWS: Released as v5.15.1. [e2b884210459] [5.15.1] <5.15-maint> * NEWS: Updated the NEWS file. [9f00dc7187f2] <5.15-maint> 2020-08-22 Phil Thompson * pyproject.toml: Set the name of the sip module explicitly. [29bb9b85f3ea] <5.15-maint> * pyproject.toml: Fixed the specification of the sip module ABI version. [c7373e5d6751] <5.15-maint> 2020-06-11 Phil Thompson * NEWS, PyQtWebEngine.msp: Fixed building against versions of Qt prior to v5.15. [35bb7ef0683d] <5.15-maint> 2020-05-30 Phil Thompson * .hgtags: Added tag 5.15.0 for changeset ea6c0ab7d38d [54d036861205] * NEWS: Released as v5.15.0. [ea6c0ab7d38d] [5.15.0] * PyQtWebEngine.msp: Added a missing private copy ctor. [c4f85de49748] 2020-05-29 Phil Thompson * NEWS: Updated the NEWS file. [d3289c4e6e7c] 2020-05-28 Phil Thompson * PyQtWebEngine.msp: Updated foe the final releaes of Qt v5.15.0. [c5a2f34ff4e5] 2020-05-22 Phil Thompson * PyQtWebEngine.msp: Take over the ownership of the QWebEngineNotification from the caller of the notification presenter. [ace44c213a8e] * PyQtWebEngine.msp: Fixed QWebEngineProfile.setNotificationPresenter(). [24ad94c34413] 2020-05-17 Phil Thompson * PyQtWebEngine.msp: First pass through Qt v5.15.0. [e133589b257b] 2020-05-16 Phil Thompson * Merged the 5.14-maint branch. [d1e26f932930] * .hgignore: Updated .hgignore. [66fa7be82977] <5.14-maint> 2020-05-09 Phil Thompson * pyproject.toml: The minimum ABI version is 12.8 which requires SIP v5.3. [76168156a91f] <5.14-maint> 2020-02-08 Phil Thompson * pyproject.toml: Fixed METADATA for the commercial wheels. [7f7fc34864b6] <5.14-maint> 2019-12-18 Phil Thompson * .hgtags: Added tag 5.14.0 for changeset f00d480d4a0f [fc828b0c8958] * NEWS: Released as v5.14.0. [f00d480d4a0f] [5.14.0] * pyproject.toml: Fixed requires-dist for commercial wheels. [23c5bb98a8dd] 2019-12-16 Phil Thompson * NEWS: Updated the NEWS file. [b3130010a22c] 2019-12-14 Phil Thompson * PyQtWebEngine.msp: Updated for Qt v5.14.0. [08b5399115c5] 2019-12-12 Phil Thompson * Merged the 5.13-maint branch. [3be79b99e71c] 2019-11-02 Phil Thompson * .hgtags: Added tag 5.13.2 for changeset 5627b4a59e44 [e8c569058a97] <5.13-maint> * NEWS: Released as v5.13.2. [5627b4a59e44] [5.13.2] <5.13-maint> * NEWS: Updated the NEWS file. [b2d827860c80] <5.13-maint> 2019-10-03 Phil Thompson * pyproject.toml: Fixed the name of PEP 566. [5a397978105b] <5.13-maint> * pyproject.toml: Requires PyQt-builder v1. [31bb17aa756b] <5.13-maint> 2019-10-01 Phil Thompson * pyproject.toml: Fixed the name of the PyQt-builder project. [a5e7ae0b670c] <5.13-maint> 2019-09-18 Phil Thompson * configure.py: Fixed building against Qt v5.12.5 and later. [c2040bb2bee2] <5.13-maint> * PyQtWebEngine.msp: Added PYQT_WEBENGINE_VERSION and PYQT_WEBENGINE_VERSION_STR ot QtWebEngine. [0a4790429fad] <5.13-maint> 2019-09-14 Phil Thompson * pyproject.toml: Added the requires-dist meta-data. [77195f172cbd] <5.13-maint> 2019-09-07 Phil Thompson * .hgtags: Added tag 5.13.1 for changeset e7b3704583be [6d1079a1d9d7] <5.13-maint> * NEWS: Released as v5.13.1. [e7b3704583be] [5.13.1] <5.13-maint> * NEWS: Updated the NEWS file. [ac313a7714c3] <5.13-maint> * pyproject.toml: Temporarily specify PyQt-build v0.1 as the build system. [4a7ce6f828af] <5.13-maint> 2019-08-30 Phil Thompson * METADATA.in, README, pyproject.toml: Added support for sip v5. [3ec37bd4ae78] <5.13-maint> 2019-07-20 Phil Thompson * PyQtWebEngine.msp: Fixed building when Qt doesn't support QtWebChannel. [091f34543aea] <5.13-maint> 2019-07-13 Phil Thompson * PyQtWebEngine.msp: Fix building against Qt v5.12 and earlier. [8cb9a50c17c2] <5.13-maint> 2019-07-05 Phil Thompson * PyQtWebEngine.msp: Added the missing QWebEnginePage.Feature.Notifications enum member. [54f5dff7983d] <5.13-maint> 2019-07-03 Phil Thompson * .hgtags: Added tag 5.13.0 for changeset fe9bb03004fd [09c8c2e672ce] * NEWS: Released as v5.13.0. [fe9bb03004fd] [5.13.0] 2019-07-02 Phil Thompson * NEWS: Updated the NEWS file. [1c0db7013251] 2019-06-30 Phil Thompson * PyQtWebEngine.msp, QtWebEngineCore.versions: Updated for Qt v5.13.0. [4e2c0056d0f9] 2019-06-20 Phil Thompson * rb-product: Updated the minimum PyQt5 wheel. [6eb69c15f896] * Merged the 5.12-maint branch. [baeb73a545a6] * PyQtWebEngine.msp: Updated for Qt v5.12.4. [9e68d6e3e8d9] <5.12-maint> 2019-04-19 Phil Thompson * PyQtWebEngine.msp: Updated for Qt v5.12.3. [2905d2eac4b4] <5.12-maint> 2019-03-19 Phil Thompson * .hgtags: Added tag 5.12.1 for changeset f0583eb7da8a [03e09b7b4953] <5.12-maint> * NEWS: Released as v5.12.1. [f0583eb7da8a] [5.12.1] <5.12-maint> 2019-03-18 Phil Thompson * NEWS: Updated the NEWS file. [598cae9d0f9f] <5.12-maint> 2019-03-17 Phil Thompson * PyQtWebEngine.msp: Updated for Qt v5.12.2. [525c367f8949] <5.12-maint> 2019-03-08 Phil Thompson * PyQtWebEngine.msp: Fixed building without SSL support. [a0b9d2b41efc] <5.12-maint> * configure.py: Fixed the configure.py options that relate to stub files. [f089ac081a92] <5.12-maint> 2019-02-10 Phil Thompson * METADATA.in: Fixes for the PyPI project description. [537ba6f4f470] <5.12-maint> 2019-02-04 Phil Thompson * .hgtags: Added tag 5.12 for changeset c4c19b66da43 [38d16c6e0c93] * NEWS: Released as v5.12. [c4c19b66da43] [5.12] 2019-02-02 Phil Thompson * NEWS, PyQtWebEngine.msp: Updated for Qt v5.12.1. [5c423a35c4e8] 2018-12-21 Phil Thompson * METADATA.in: Corrected the wheel meta-data version. [b8125a567523] 2018-12-15 Phil Thompson * NEWS: Updated the NEWS file. [88b124dd7c9a] 2018-12-13 Phil Thompson * PyQtWebEngine.msp: Updated for Qt v5.12.0. [2c85932592b2] 2018-10-03 Phil Thompson * .hgignore, METADATA.in, NEWS, PyQtWebEngine.msp, QtWebEngine.versions, QtWebEngineWidgets.versions, README, configure.py, rb-product: Initial commit of repository. [3fe9991351ad] ././@PaxHeader0000000000000000000000000000003400000000000011452 xustar000000000000000028 mtime=1720864267.8941066 PyQtWebEngine-5.15.7/LICENSE0000644000076500000240000010451300000000000015363 0ustar00philstaff00000000000000 GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 Copyright (C) 2007 Free Software Foundation, Inc. Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The GNU General Public License is a free, copyleft license for software and other kinds of works. The licenses for most software and other practical works are designed to take away your freedom to share and change the works. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change all versions of a program--to make sure it remains free software for all its users. We, the Free Software Foundation, use the GNU General Public License for most of our software; it applies also to any other work released this way by its authors. You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for them if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs, and that you know you can do these things. To protect your rights, we need to prevent others from denying you these rights or asking you to surrender the rights. Therefore, you have certain responsibilities if you distribute copies of the software, or if you modify it: responsibilities to respect the freedom of others. For example, if you distribute copies of such a program, whether gratis or for a fee, you must pass on to the recipients the same freedoms that you received. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. Developers that use the GNU GPL protect your rights with two steps: (1) assert copyright on the software, and (2) offer you this License giving you legal permission to copy, distribute and/or modify it. For the developers' and authors' protection, the GPL clearly explains that there is no warranty for this free software. For both users' and authors' sake, the GPL requires that modified versions be marked as changed, so that their problems will not be attributed erroneously to authors of previous versions. Some devices are designed to deny users access to install or run modified versions of the software inside them, although the manufacturer can do so. This is fundamentally incompatible with the aim of protecting users' freedom to change the software. The systematic pattern of such abuse occurs in the area of products for individuals to use, which is precisely where it is most unacceptable. Therefore, we have designed this version of the GPL to prohibit the practice for those products. If such problems arise substantially in other domains, we stand ready to extend this provision to those domains in future versions of the GPL, as needed to protect the freedom of users. Finally, every program is threatened constantly by software patents. States should not allow patents to restrict development and use of software on general-purpose computers, but in those that do, we wish to avoid the special danger that patents applied to a free program could make it effectively proprietary. To prevent this, the GPL assures that patents cannot be used to render the program non-free. The precise terms and conditions for copying, distribution and modification follow. TERMS AND CONDITIONS 0. Definitions. "This License" refers to version 3 of the GNU General Public License. "Copyright" also means copyright-like laws that apply to other kinds of works, such as semiconductor masks. "The Program" refers to any copyrightable work licensed under this License. Each licensee is addressed as "you". "Licensees" and "recipients" may be individuals or organizations. To "modify" a work means to copy from or adapt all or part of the work in a fashion requiring copyright permission, other than the making of an exact copy. The resulting work is called a "modified version" of the earlier work or a work "based on" the earlier work. A "covered work" means either the unmodified Program or a work based on the Program. To "propagate" a work means to do anything with it that, without permission, would make you directly or secondarily liable for infringement under applicable copyright law, except executing it on a computer or modifying a private copy. Propagation includes copying, distribution (with or without modification), making available to the public, and in some countries other activities as well. To "convey" a work means any kind of propagation that enables other parties to make or receive copies. Mere interaction with a user through a computer network, with no transfer of a copy, is not conveying. An interactive user interface displays "Appropriate Legal Notices" to the extent that it includes a convenient and prominently visible feature that (1) displays an appropriate copyright notice, and (2) tells the user that there is no warranty for the work (except to the extent that warranties are provided), that licensees may convey the work under this License, and how to view a copy of this License. If the interface presents a list of user commands or options, such as a menu, a prominent item in the list meets this criterion. 1. Source Code. The "source code" for a work means the preferred form of the work for making modifications to it. "Object code" means any non-source form of a work. A "Standard Interface" means an interface that either is an official standard defined by a recognized standards body, or, in the case of interfaces specified for a particular programming language, one that is widely used among developers working in that language. The "System Libraries" of an executable work include anything, other than the work as a whole, that (a) is included in the normal form of packaging a Major Component, but which is not part of that Major Component, and (b) serves only to enable use of the work with that Major Component, or to implement a Standard Interface for which an implementation is available to the public in source code form. A "Major Component", in this context, means a major essential component (kernel, window system, and so on) of the specific operating system (if any) on which the executable work runs, or a compiler used to produce the work, or an object code interpreter used to run it. The "Corresponding Source" for a work in object code form means all the source code needed to generate, install, and (for an executable work) run the object code and to modify the work, including scripts to control those activities. However, it does not include the work's System Libraries, or general-purpose tools or generally available free programs which are used unmodified in performing those activities but which are not part of the work. For example, Corresponding Source includes interface definition files associated with source files for the work, and the source code for shared libraries and dynamically linked subprograms that the work is specifically designed to require, such as by intimate data communication or control flow between those subprograms and other parts of the work. The Corresponding Source need not include anything that users can regenerate automatically from other parts of the Corresponding Source. The Corresponding Source for a work in source code form is that same work. 2. Basic Permissions. All rights granted under this License are granted for the term of copyright on the Program, and are irrevocable provided the stated conditions are met. This License explicitly affirms your unlimited permission to run the unmodified Program. The output from running a covered work is covered by this License only if the output, given its content, constitutes a covered work. This License acknowledges your rights of fair use or other equivalent, as provided by copyright law. You may make, run and propagate covered works that you do not convey, without conditions so long as your license otherwise remains in force. You may convey covered works to others for the sole purpose of having them make modifications exclusively for you, or provide you with facilities for running those works, provided that you comply with the terms of this License in conveying all material for which you do not control copyright. Those thus making or running the covered works for you must do so exclusively on your behalf, under your direction and control, on terms that prohibit them from making any copies of your copyrighted material outside their relationship with you. Conveying under any other circumstances is permitted solely under the conditions stated below. Sublicensing is not allowed; section 10 makes it unnecessary. 3. Protecting Users' Legal Rights From Anti-Circumvention Law. No covered work shall be deemed part of an effective technological measure under any applicable law fulfilling obligations under article 11 of the WIPO copyright treaty adopted on 20 December 1996, or similar laws prohibiting or restricting circumvention of such measures. When you convey a covered work, you waive any legal power to forbid circumvention of technological measures to the extent such circumvention is effected by exercising rights under this License with respect to the covered work, and you disclaim any intention to limit operation or modification of the work as a means of enforcing, against the work's users, your or third parties' legal rights to forbid circumvention of technological measures. 4. Conveying Verbatim Copies. You may convey verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice; keep intact all notices stating that this License and any non-permissive terms added in accord with section 7 apply to the code; keep intact all notices of the absence of any warranty; and give all recipients a copy of this License along with the Program. You may charge any price or no price for each copy that you convey, and you may offer support or warranty protection for a fee. 5. Conveying Modified Source Versions. You may convey a work based on the Program, or the modifications to produce it from the Program, in the form of source code under the terms of section 4, provided that you also meet all of these conditions: a) The work must carry prominent notices stating that you modified it, and giving a relevant date. b) The work must carry prominent notices stating that it is released under this License and any conditions added under section 7. This requirement modifies the requirement in section 4 to "keep intact all notices". c) You must license the entire work, as a whole, under this License to anyone who comes into possession of a copy. This License will therefore apply, along with any applicable section 7 additional terms, to the whole of the work, and all its parts, regardless of how they are packaged. This License gives no permission to license the work in any other way, but it does not invalidate such permission if you have separately received it. d) If the work has interactive user interfaces, each must display Appropriate Legal Notices; however, if the Program has interactive interfaces that do not display Appropriate Legal Notices, your work need not make them do so. A compilation of a covered work with other separate and independent works, which are not by their nature extensions of the covered work, and which are not combined with it such as to form a larger program, in or on a volume of a storage or distribution medium, is called an "aggregate" if the compilation and its resulting copyright are not used to limit the access or legal rights of the compilation's users beyond what the individual works permit. Inclusion of a covered work in an aggregate does not cause this License to apply to the other parts of the aggregate. 6. Conveying Non-Source Forms. You may convey a covered work in object code form under the terms of sections 4 and 5, provided that you also convey the machine-readable Corresponding Source under the terms of this License, in one of these ways: a) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by the Corresponding Source fixed on a durable physical medium customarily used for software interchange. b) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by a written offer, valid for at least three years and valid for as long as you offer spare parts or customer support for that product model, to give anyone who possesses the object code either (1) a copy of the Corresponding Source for all the software in the product that is covered by this License, on a durable physical medium customarily used for software interchange, for a price no more than your reasonable cost of physically performing this conveying of source, or (2) access to copy the Corresponding Source from a network server at no charge. c) Convey individual copies of the object code with a copy of the written offer to provide the Corresponding Source. This alternative is allowed only occasionally and noncommercially, and only if you received the object code with such an offer, in accord with subsection 6b. d) Convey the object code by offering access from a designated place (gratis or for a charge), and offer equivalent access to the Corresponding Source in the same way through the same place at no further charge. You need not require recipients to copy the Corresponding Source along with the object code. If the place to copy the object code is a network server, the Corresponding Source may be on a different server (operated by you or a third party) that supports equivalent copying facilities, provided you maintain clear directions next to the object code saying where to find the Corresponding Source. Regardless of what server hosts the Corresponding Source, you remain obligated to ensure that it is available for as long as needed to satisfy these requirements. e) Convey the object code using peer-to-peer transmission, provided you inform other peers where the object code and Corresponding Source of the work are being offered to the general public at no charge under subsection 6d. A separable portion of the object code, whose source code is excluded from the Corresponding Source as a System Library, need not be included in conveying the object code work. A "User Product" is either (1) a "consumer product", which means any tangible personal property which is normally used for personal, family, or household purposes, or (2) anything designed or sold for incorporation into a dwelling. In determining whether a product is a consumer product, doubtful cases shall be resolved in favor of coverage. For a particular product received by a particular user, "normally used" refers to a typical or common use of that class of product, regardless of the status of the particular user or of the way in which the particular user actually uses, or expects or is expected to use, the product. A product is a consumer product regardless of whether the product has substantial commercial, industrial or non-consumer uses, unless such uses represent the only significant mode of use of the product. "Installation Information" for a User Product means any methods, procedures, authorization keys, or other information required to install and execute modified versions of a covered work in that User Product from a modified version of its Corresponding Source. The information must suffice to ensure that the continued functioning of the modified object code is in no case prevented or interfered with solely because modification has been made. If you convey an object code work under this section in, or with, or specifically for use in, a User Product, and the conveying occurs as part of a transaction in which the right of possession and use of the User Product is transferred to the recipient in perpetuity or for a fixed term (regardless of how the transaction is characterized), the Corresponding Source conveyed under this section must be accompanied by the Installation Information. But this requirement does not apply if neither you nor any third party retains the ability to install modified object code on the User Product (for example, the work has been installed in ROM). The requirement to provide Installation Information does not include a requirement to continue to provide support service, warranty, or updates for a work that has been modified or installed by the recipient, or for the User Product in which it has been modified or installed. Access to a network may be denied when the modification itself materially and adversely affects the operation of the network or violates the rules and protocols for communication across the network. Corresponding Source conveyed, and Installation Information provided, in accord with this section must be in a format that is publicly documented (and with an implementation available to the public in source code form), and must require no special password or key for unpacking, reading or copying. 7. Additional Terms. "Additional permissions" are terms that supplement the terms of this License by making exceptions from one or more of its conditions. Additional permissions that are applicable to the entire Program shall be treated as though they were included in this License, to the extent that they are valid under applicable law. If additional permissions apply only to part of the Program, that part may be used separately under those permissions, but the entire Program remains governed by this License without regard to the additional permissions. When you convey a copy of a covered work, you may at your option remove any additional permissions from that copy, or from any part of it. (Additional permissions may be written to require their own removal in certain cases when you modify the work.) You may place additional permissions on material, added by you to a covered work, for which you have or can give appropriate copyright permission. Notwithstanding any other provision of this License, for material you add to a covered work, you may (if authorized by the copyright holders of that material) supplement the terms of this License with terms: a) Disclaiming warranty or limiting liability differently from the terms of sections 15 and 16 of this License; or b) Requiring preservation of specified reasonable legal notices or author attributions in that material or in the Appropriate Legal Notices displayed by works containing it; or c) Prohibiting misrepresentation of the origin of that material, or requiring that modified versions of such material be marked in reasonable ways as different from the original version; or d) Limiting the use for publicity purposes of names of licensors or authors of the material; or e) Declining to grant rights under trademark law for use of some trade names, trademarks, or service marks; or f) Requiring indemnification of licensors and authors of that material by anyone who conveys the material (or modified versions of it) with contractual assumptions of liability to the recipient, for any liability that these contractual assumptions directly impose on those licensors and authors. All other non-permissive additional terms are considered "further restrictions" within the meaning of section 10. If the Program as you received it, or any part of it, contains a notice stating that it is governed by this License along with a term that is a further restriction, you may remove that term. If a license document contains a further restriction but permits relicensing or conveying under this License, you may add to a covered work material governed by the terms of that license document, provided that the further restriction does not survive such relicensing or conveying. If you add terms to a covered work in accord with this section, you must place, in the relevant source files, a statement of the additional terms that apply to those files, or a notice indicating where to find the applicable terms. Additional terms, permissive or non-permissive, may be stated in the form of a separately written license, or stated as exceptions; the above requirements apply either way. 8. Termination. You may not propagate or modify a covered work except as expressly provided under this License. Any attempt otherwise to propagate or modify it is void, and will automatically terminate your rights under this License (including any patent licenses granted under the third paragraph of section 11). However, if you cease all violation of this License, then your license from a particular copyright holder is reinstated (a) provisionally, unless and until the copyright holder explicitly and finally terminates your license, and (b) permanently, if the copyright holder fails to notify you of the violation by some reasonable means prior to 60 days after the cessation. Moreover, your license from a particular copyright holder is reinstated permanently if the copyright holder notifies you of the violation by some reasonable means, this is the first time you have received notice of violation of this License (for any work) from that copyright holder, and you cure the violation prior to 30 days after your receipt of the notice. Termination of your rights under this section does not terminate the licenses of parties who have received copies or rights from you under this License. If your rights have been terminated and not permanently reinstated, you do not qualify to receive new licenses for the same material under section 10. 9. Acceptance Not Required for Having Copies. You are not required to accept this License in order to receive or run a copy of the Program. Ancillary propagation of a covered work occurring solely as a consequence of using peer-to-peer transmission to receive a copy likewise does not require acceptance. However, nothing other than this License grants you permission to propagate or modify any covered work. These actions infringe copyright if you do not accept this License. Therefore, by modifying or propagating a covered work, you indicate your acceptance of this License to do so. 10. Automatic Licensing of Downstream Recipients. Each time you convey a covered work, the recipient automatically receives a license from the original licensors, to run, modify and propagate that work, subject to this License. You are not responsible for enforcing compliance by third parties with this License. An "entity transaction" is a transaction transferring control of an organization, or substantially all assets of one, or subdividing an organization, or merging organizations. If propagation of a covered work results from an entity transaction, each party to that transaction who receives a copy of the work also receives whatever licenses to the work the party's predecessor in interest had or could give under the previous paragraph, plus a right to possession of the Corresponding Source of the work from the predecessor in interest, if the predecessor has it or can get it with reasonable efforts. You may not impose any further restrictions on the exercise of the rights granted or affirmed under this License. For example, you may not impose a license fee, royalty, or other charge for exercise of rights granted under this License, and you may not initiate litigation (including a cross-claim or counterclaim in a lawsuit) alleging that any patent claim is infringed by making, using, selling, offering for sale, or importing the Program or any portion of it. 11. Patents. A "contributor" is a copyright holder who authorizes use under this License of the Program or a work on which the Program is based. The work thus licensed is called the contributor's "contributor version". A contributor's "essential patent claims" are all patent claims owned or controlled by the contributor, whether already acquired or hereafter acquired, that would be infringed by some manner, permitted by this License, of making, using, or selling its contributor version, but do not include claims that would be infringed only as a consequence of further modification of the contributor version. For purposes of this definition, "control" includes the right to grant patent sublicenses in a manner consistent with the requirements of this License. Each contributor grants you a non-exclusive, worldwide, royalty-free patent license under the contributor's essential patent claims, to make, use, sell, offer for sale, import and otherwise run, modify and propagate the contents of its contributor version. In the following three paragraphs, a "patent license" is any express agreement or commitment, however denominated, not to enforce a patent (such as an express permission to practice a patent or covenant not to sue for patent infringement). To "grant" such a patent license to a party means to make such an agreement or commitment not to enforce a patent against the party. If you convey a covered work, knowingly relying on a patent license, and the Corresponding Source of the work is not available for anyone to copy, free of charge and under the terms of this License, through a publicly available network server or other readily accessible means, then you must either (1) cause the Corresponding Source to be so available, or (2) arrange to deprive yourself of the benefit of the patent license for this particular work, or (3) arrange, in a manner consistent with the requirements of this License, to extend the patent license to downstream recipients. "Knowingly relying" means you have actual knowledge that, but for the patent license, your conveying the covered work in a country, or your recipient's use of the covered work in a country, would infringe one or more identifiable patents in that country that you have reason to believe are valid. If, pursuant to or in connection with a single transaction or arrangement, you convey, or propagate by procuring conveyance of, a covered work, and grant a patent license to some of the parties receiving the covered work authorizing them to use, propagate, modify or convey a specific copy of the covered work, then the patent license you grant is automatically extended to all recipients of the covered work and works based on it. A patent license is "discriminatory" if it does not include within the scope of its coverage, prohibits the exercise of, or is conditioned on the non-exercise of one or more of the rights that are specifically granted under this License. You may not convey a covered work if you are a party to an arrangement with a third party that is in the business of distributing software, under which you make payment to the third party based on the extent of your activity of conveying the work, and under which the third party grants, to any of the parties who would receive the covered work from you, a discriminatory patent license (a) in connection with copies of the covered work conveyed by you (or copies made from those copies), or (b) primarily for and in connection with specific products or compilations that contain the covered work, unless you entered into that arrangement, or that patent license was granted, prior to 28 March 2007. Nothing in this License shall be construed as excluding or limiting any implied license or other defenses to infringement that may otherwise be available to you under applicable patent law. 12. No Surrender of Others' Freedom. If conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot convey a covered work so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not convey it at all. For example, if you agree to terms that obligate you to collect a royalty for further conveying from those to whom you convey the Program, the only way you could satisfy both those terms and this License would be to refrain entirely from conveying the Program. 13. Use with the GNU Affero General Public License. Notwithstanding any other provision of this License, you have permission to link or combine any covered work with a work licensed under version 3 of the GNU Affero General Public License into a single combined work, and to convey the resulting work. The terms of this License will continue to apply to the part which is the covered work, but the special requirements of the GNU Affero General Public License, section 13, concerning interaction through a network will apply to the combination as such. 14. Revised Versions of this License. The Free Software Foundation may publish revised and/or new versions of the GNU General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies that a certain numbered version of the GNU General Public License "or any later version" applies to it, you have the option of following the terms and conditions either of that numbered version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of the GNU General Public License, you may choose any version ever published by the Free Software Foundation. If the Program specifies that a proxy can decide which future versions of the GNU General Public License can be used, that proxy's public statement of acceptance of a version permanently authorizes you to choose that version for the Program. Later license versions may give you additional or different permissions. However, no additional obligations are imposed on any author or copyright holder as a result of your choosing to follow a later version. 15. Disclaimer of Warranty. THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 16. Limitation of Liability. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. 17. Interpretation of Sections 15 and 16. If the disclaimer of warranty and limitation of liability provided above cannot be given local legal effect according to their terms, reviewing courts shall apply local law that most closely approximates an absolute waiver of all civil liability in connection with the Program, unless a warranty or assumption of liability accompanies a copy of the Program in return for a fee. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively state the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. Copyright (C) This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . Also add information on how to contact you by electronic and paper mail. If the program does terminal interaction, make it output a short notice like this when it starts in an interactive mode: Copyright (C) This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, your program's commands might be different; for a GUI interface, you would use an "about box". You should also get your employer (if you work as a programmer) or school, if any, to sign a "copyright disclaimer" for the program, if necessary. For more information on this, and how to apply and follow the GNU GPL, see . The GNU General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. But first, please read . ././@PaxHeader0000000000000000000000000000003400000000000011452 xustar000000000000000028 mtime=1720864185.9446137 PyQtWebEngine-5.15.7/NEWS0000644000076500000240000000202600000000000015051 0ustar00philstaff00000000000000v5.15.7 18th February 2024 - Removed support for building with SIP v4. v5.15.6 15th March 2022 - A bug-fix release. v5.15.5 12th October 2021 - Build system bug fixes. v5.15.4 4th March 2021 - Packaging bug fixes. v5.15.3 24th February 2021 - Wheels now assume that the corresponding Qt libraries are in an external wheel rather than being bundled. v5.15.2 23rd November 2020 - Build system changes. v5.15.1 12th September 2020 - A bug-fix release. v5.15.0 1st June 2020 - Added support for Qt v5.15.0. v5.14.0 19th December 2019 - Added support for Qt v5.14.0. v5.13.2 3rd November 2019 - Added PYQT_WEBENGINE_VERSION and PYQT_WEBENGINE_VERSION_STR. - Added support for SIP v5. v5.13.1 14th September 2019 - Added the missing QWebEnginePage.Feature.Notifications enum member. v5.13.0 5th July 2019 - Added support for Qt v5.13.0. v5.12.1 19th March 2019 - Added support for Qt v5.12.2. v5.12 10th February 2019 - The first release based on Qt v5.12. Previously the modules were part of PyQt5. ././@PaxHeader0000000000000000000000000000003400000000000011452 xustar000000000000000028 mtime=1720864268.1918676 PyQtWebEngine-5.15.7/PKG-INFO0000644000076500000240000000326300000000000015453 0ustar00philstaff00000000000000Metadata-Version: 2.1 Name: PyQtWebEngine Version: 5.15.7 Requires-Python: >=3.8 Summary: Python bindings for the Qt WebEngine framework Description-Content-Type: text/markdown Project-Url: homepage, https://www.riverbankcomputing.com/software/pyqtwebengine/ Requires-Dist: PyQt5 (>=5.15.4) License: GPL v3 Author-Email: Riverbank Computing Limited # PyQtWebEngine - Python Bindings for the Qt WebEngine Framework PyQtWebEngine is a set of Python bindings for The Qt Company's Qt WebEngine framework. The framework provides the ability to embed web content in applications and is based on the Chrome browser. The bindings sit on top of PyQt5 and are implemented as three separate modules corresponding to the different libraries that make up the framework. ## Author PyQtWebEngine is copyright (c) Riverbank Computing Limited. Its homepage is https://www.riverbankcomputing.com/software/pyqtwebengine/. Support may be obtained from the PyQt mailing list at https://www.riverbankcomputing.com/mailman/listinfo/pyqt/. ## License PyQtWebEngine is released under the GPL v3 license and under a commercial license that allows for the development of proprietary applications. ## Documentation The documentation for the latest release can be found [here](https://www.riverbankcomputing.com/static/Docs/PyQt5/). ## Installation The GPL version of PyQtWebEngine can be installed from PyPI: pip install PyQtWebEngine `pip` will also build and install the bindings from the sdist package but Qt's `qmake` tool must be on `PATH`. The `sip-install` tool will also install the bindings from the sdist package but will allow you to configure many aspects of the installation. ././@PaxHeader0000000000000000000000000000003400000000000011452 xustar000000000000000028 mtime=1720864267.9940403 PyQtWebEngine-5.15.7/README.md0000644000076500000240000000246700000000000015642 0ustar00philstaff00000000000000# PyQtWebEngine - Python Bindings for the Qt WebEngine Framework PyQtWebEngine is a set of Python bindings for The Qt Company's Qt WebEngine framework. The framework provides the ability to embed web content in applications and is based on the Chrome browser. The bindings sit on top of PyQt5 and are implemented as three separate modules corresponding to the different libraries that make up the framework. ## Author PyQtWebEngine is copyright (c) Riverbank Computing Limited. Its homepage is https://www.riverbankcomputing.com/software/pyqtwebengine/. Support may be obtained from the PyQt mailing list at https://www.riverbankcomputing.com/mailman/listinfo/pyqt/. ## License PyQtWebEngine is released under the GPL v3 license and under a commercial license that allows for the development of proprietary applications. ## Documentation The documentation for the latest release can be found [here](https://www.riverbankcomputing.com/static/Docs/PyQt5/). ## Installation The GPL version of PyQtWebEngine can be installed from PyPI: pip install PyQtWebEngine `pip` will also build and install the bindings from the sdist package but Qt's `qmake` tool must be on `PATH`. The `sip-install` tool will also install the bindings from the sdist package but will allow you to configure many aspects of the installation. ././@PaxHeader0000000000000000000000000000003400000000000011452 xustar000000000000000028 mtime=1720864267.9942837 PyQtWebEngine-5.15.7/pyproject.toml0000644000076500000240000000162400000000000017271 0ustar00philstaff00000000000000# Specify the build system requirements. [build-system] requires = ["sip >=6.8, <7", "PyQt-builder >=1.9, <2"] build-backend = "sipbuild.api" [project] name = "PyQtWebEngine" version = "5.15.7" description = "Python bindings for the Qt WebEngine framework" readme = "README.md" urls.homepage = "https://www.riverbankcomputing.com/software/pyqtwebengine/" dependencies = ["PyQt5 (>=5.15.4)"] license = {text = "GPL v3"} [[project.authors]] name = "Riverbank Computing Limited" email = "info@riverbankcomputing.com" # Specify a PyQt-based project. [tool.sip] project-factory = "pyqtbuild:PyQtProject" # Configure the project. [tool.sip.project] tag-prefix = "QtWebEngine" # Define and configure each set of bindings. [tool.sip.bindings.QtWebEngineCore] qmake-QT = ["webenginecore"] [tool.sip.bindings.QtWebEngine] qmake-QT = ["webengine"] [tool.sip.bindings.QtWebEngineWidgets] qmake-QT = ["webenginewidgets"] ././@PaxHeader0000000000000000000000000000003400000000000011452 xustar000000000000000028 mtime=1720864268.1895752 PyQtWebEngine-5.15.7/sip/0000755000076500000240000000000000000000000015145 5ustar00philstaff00000000000000././@PaxHeader0000000000000000000000000000003400000000000011452 xustar000000000000000028 mtime=1720864268.1894042 PyQtWebEngine-5.15.7/sip/QtWebEngine/0000755000076500000240000000000000000000000017315 5ustar00philstaff00000000000000././@PaxHeader0000000000000000000000000000003200000000000011450 xustar000000000000000026 mtime=1720864268.08504 PyQtWebEngine-5.15.7/sip/QtWebEngine/QtWebEnginemod.sip0000644000076500000240000000400700000000000022703 0ustar00philstaff00000000000000// QtWebEnginemod.sip generated by MetaSIP // // This file is part of the QtWebEngine Python extension module. // // Copyright (c) 2024 Riverbank Computing Limited // // This file is part of PyQtWebEngine. // // This file may be used under the terms of the GNU General Public License // version 3.0 as published by the Free Software Foundation and appearing in // the file LICENSE included in the packaging of this file. Please review the // following information to ensure the GNU General Public License version 3.0 // requirements will be met: http://www.gnu.org/copyleft/gpl.html. // // If you do not wish to use this file under the terms of the GPL version 3.0 // then you may purchase a commercial license. For more information contact // info@riverbankcomputing.com. // // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. %Module(name=PyQt5.QtWebEngine, keyword_arguments="Optional", use_limited_api=True) %Import QtWebEngineCore/QtWebEngineCoremod.sip %Copying Copyright (c) 2024 Riverbank Computing Limited This file is part of PyQtWebEngine. This file may be used under the terms of the GNU General Public License version 3.0 as published by the Free Software Foundation and appearing in the file LICENSE included in the packaging of this file. Please review the following information to ensure the GNU General Public License version 3.0 requirements will be met: http://www.gnu.org/copyleft/gpl.html. If you do not wish to use this file under the terms of the GPL version 3.0 then you may purchase a commercial license. For more information contact info@riverbankcomputing.com. This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. %End %DefaultSupertype sip.simplewrapper %Include qquickwebengineprofile.sip %Include qquickwebenginescript.sip %Include qtwebengineglobal.sip ././@PaxHeader0000000000000000000000000000003400000000000011452 xustar000000000000000028 mtime=1720864268.0842361 PyQtWebEngine-5.15.7/sip/QtWebEngine/qquickwebengineprofile.sip0000644000076500000240000001232700000000000024601 0ustar00philstaff00000000000000// qquickwebengineprofile.sip generated by MetaSIP // // This file is part of the QtWebEngine Python extension module. // // Copyright (c) 2024 Riverbank Computing Limited // // This file is part of PyQtWebEngine. // // This file may be used under the terms of the GNU General Public License // version 3.0 as published by the Free Software Foundation and appearing in // the file LICENSE included in the packaging of this file. Please review the // following information to ensure the GNU General Public License version 3.0 // requirements will be met: http://www.gnu.org/copyleft/gpl.html. // // If you do not wish to use this file under the terms of the GPL version 3.0 // then you may purchase a commercial license. For more information contact // info@riverbankcomputing.com. // // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. %If (QtWebEngine_5_6_0 -) class QQuickWebEngineProfile : public QObject { %TypeHeaderCode #include %End %ConvertToSubClassCode static struct class_graph { const char *name; sipTypeDef **type; int yes, no; } graph[] = { {sipName_QQuickWebEngineProfile, &sipType_QQuickWebEngineProfile, -1, 1}, #if QT_VERSION >= 0x050900 {sipName_QQuickWebEngineScript, &sipType_QQuickWebEngineScript, -1, -1}, #else {0, 0, -1, -1}, #endif }; int i = 0; sipType = NULL; do { struct class_graph *cg = &graph[i]; if (cg->name != NULL && sipCpp->inherits(cg->name)) { sipType = *cg->type; i = cg->yes; } else i = cg->no; } while (i >= 0); %End public: QQuickWebEngineProfile(QObject *parent /TransferThis/ = 0); virtual ~QQuickWebEngineProfile(); enum HttpCacheType { MemoryHttpCache, DiskHttpCache, %If (QtWebEngine_5_7_0 -) NoCache, %End }; enum PersistentCookiesPolicy { NoPersistentCookies, AllowPersistentCookies, ForcePersistentCookies, }; QString storageName() const; void setStorageName(const QString &name); bool isOffTheRecord() const; void setOffTheRecord(bool offTheRecord); QString persistentStoragePath() const; void setPersistentStoragePath(const QString &path); QString cachePath() const; void setCachePath(const QString &path); QString httpUserAgent() const; void setHttpUserAgent(const QString &userAgent); QQuickWebEngineProfile::HttpCacheType httpCacheType() const; void setHttpCacheType(QQuickWebEngineProfile::HttpCacheType); QQuickWebEngineProfile::PersistentCookiesPolicy persistentCookiesPolicy() const; void setPersistentCookiesPolicy(QQuickWebEngineProfile::PersistentCookiesPolicy); int httpCacheMaximumSize() const; void setHttpCacheMaximumSize(int maxSize); QString httpAcceptLanguage() const; void setHttpAcceptLanguage(const QString &httpAcceptLanguage); QWebEngineCookieStore *cookieStore() const /Transfer/; %If (QtWebEngine_5_13_0 -) void setUrlRequestInterceptor(QWebEngineUrlRequestInterceptor *interceptor); %End void setRequestInterceptor(QWebEngineUrlRequestInterceptor *interceptor); const QWebEngineUrlSchemeHandler *urlSchemeHandler(const QByteArray &) const; void installUrlSchemeHandler(const QByteArray &scheme, QWebEngineUrlSchemeHandler *); void removeUrlScheme(const QByteArray &scheme); void removeUrlSchemeHandler(QWebEngineUrlSchemeHandler *); void removeAllUrlSchemeHandlers(); %If (QtWebEngine_5_7_0 -) void clearHttpCache(); %End static QQuickWebEngineProfile *defaultProfile() /Transfer/; signals: void storageNameChanged(); void offTheRecordChanged(); void persistentStoragePathChanged(); void cachePathChanged(); void httpUserAgentChanged(); void httpCacheTypeChanged(); void persistentCookiesPolicyChanged(); void httpCacheMaximumSizeChanged(); void httpAcceptLanguageChanged(); public: %If (QtWebEngine_5_8_0 -) void setSpellCheckLanguages(const QStringList &languages); %End %If (QtWebEngine_5_8_0 -) QStringList spellCheckLanguages() const; %End %If (QtWebEngine_5_8_0 -) void setSpellCheckEnabled(bool enabled); %End %If (QtWebEngine_5_8_0 -) bool isSpellCheckEnabled() const; %End signals: %If (QtWebEngine_5_8_0 -) void spellCheckLanguagesChanged(); %End %If (QtWebEngine_5_8_0 -) void spellCheckEnabledChanged(); %End public: %If (QtWebEngine_5_13_0 -) void setUseForGlobalCertificateVerification(bool b); %End %If (QtWebEngine_5_13_0 -) bool isUsedForGlobalCertificateVerification() const; %End %If (QtWebEngine_5_13_0 -) QString downloadPath() const; %End %If (QtWebEngine_5_13_0 -) void setDownloadPath(const QString &path); %End %If (QtWebEngine_5_13_0 -) %If (PyQt_SSL) QWebEngineClientCertificateStore *clientCertificateStore(); %End %End signals: %If (QtWebEngine_5_13_0 -) void useForGlobalCertificateVerificationChanged(); %End %If (QtWebEngine_5_13_0 -) void downloadPathChanged(); %End %If (QtWebEngine_5_13_0 -) void presentNotification(QWebEngineNotification *notification); %End }; %End ././@PaxHeader0000000000000000000000000000003300000000000011451 xustar000000000000000027 mtime=1720864268.084816 PyQtWebEngine-5.15.7/sip/QtWebEngine/qquickwebenginescript.sip0000644000076500000240000000464700000000000024453 0ustar00philstaff00000000000000// qquickwebenginescript.sip generated by MetaSIP // // This file is part of the QtWebEngine Python extension module. // // Copyright (c) 2024 Riverbank Computing Limited // // This file is part of PyQtWebEngine. // // This file may be used under the terms of the GNU General Public License // version 3.0 as published by the Free Software Foundation and appearing in // the file LICENSE included in the packaging of this file. Please review the // following information to ensure the GNU General Public License version 3.0 // requirements will be met: http://www.gnu.org/copyleft/gpl.html. // // If you do not wish to use this file under the terms of the GPL version 3.0 // then you may purchase a commercial license. For more information contact // info@riverbankcomputing.com. // // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. %If (QtWebEngine_5_9_0 -) class QQuickWebEngineScript : public QObject { %TypeHeaderCode #include %End public: enum InjectionPoint { Deferred, DocumentReady, DocumentCreation, }; enum ScriptWorldId { MainWorld, ApplicationWorld, UserWorld, }; explicit QQuickWebEngineScript(QObject *parent /TransferThis/ = 0); virtual ~QQuickWebEngineScript(); QString toString() const; QString name() const; QUrl sourceUrl() const; QString sourceCode() const; QQuickWebEngineScript::InjectionPoint injectionPoint() const; QQuickWebEngineScript::ScriptWorldId worldId() const; bool runOnSubframes() const; void setName(const QString &name); void setSourceUrl(const QUrl &url); void setSourceCode(const QString &code); void setInjectionPoint(QQuickWebEngineScript::InjectionPoint injectionPoint); void setWorldId(QQuickWebEngineScript::ScriptWorldId scriptWorldId); void setRunOnSubframes(bool on); signals: void nameChanged(const QString &name); void sourceUrlChanged(const QUrl &url); void sourceCodeChanged(const QString &code); void injectionPointChanged(QQuickWebEngineScript::InjectionPoint injectionPoint /ScopesStripped=1/); void worldIdChanged(QQuickWebEngineScript::ScriptWorldId scriptWorldId /ScopesStripped=1/); void runOnSubframesChanged(bool on); protected: virtual void timerEvent(QTimerEvent *e); }; %End ././@PaxHeader0000000000000000000000000000003400000000000011452 xustar000000000000000028 mtime=1720864268.0844903 PyQtWebEngine-5.15.7/sip/QtWebEngine/qtwebengineglobal.sip0000644000076500000240000000246500000000000023532 0ustar00philstaff00000000000000// qtwebengineglobal.sip generated by MetaSIP // // This file is part of the QtWebEngine Python extension module. // // Copyright (c) 2024 Riverbank Computing Limited // // This file is part of PyQtWebEngine. // // This file may be used under the terms of the GNU General Public License // version 3.0 as published by the Free Software Foundation and appearing in // the file LICENSE included in the packaging of this file. Please review the // following information to ensure the GNU General Public License version 3.0 // requirements will be met: http://www.gnu.org/copyleft/gpl.html. // // If you do not wish to use this file under the terms of the GPL version 3.0 // then you may purchase a commercial license. For more information contact // info@riverbankcomputing.com. // // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. // PyQtWebEngine version information. int PYQT_WEBENGINE_VERSION; const char *PYQT_WEBENGINE_VERSION_STR; %ModuleCode static int PYQT_WEBENGINE_VERSION = 0x050f07; static const char *PYQT_WEBENGINE_VERSION_STR = "5.15.7"; %End %If (QtWebEngine_5_6_0 -) namespace QtWebEngine { %TypeHeaderCode #include %End void initialize(); }; %End ././@PaxHeader0000000000000000000000000000003400000000000011452 xustar000000000000000028 mtime=1720864268.1916747 PyQtWebEngine-5.15.7/sip/QtWebEngineCore/0000755000076500000240000000000000000000000020126 5ustar00philstaff00000000000000././@PaxHeader0000000000000000000000000000003100000000000011447 xustar000000000000000025 mtime=1720864268.0873 PyQtWebEngine-5.15.7/sip/QtWebEngineCore/QtWebEngineCoremod.sip0000644000076500000240000000632300000000000024330 0ustar00philstaff00000000000000// QtWebEngineCoremod.sip generated by MetaSIP // // This file is part of the QtWebEngineCore Python extension module. // // Copyright (c) 2024 Riverbank Computing Limited // // This file is part of PyQtWebEngine. // // This file may be used under the terms of the GNU General Public License // version 3.0 as published by the Free Software Foundation and appearing in // the file LICENSE included in the packaging of this file. Please review the // following information to ensure the GNU General Public License version 3.0 // requirements will be met: http://www.gnu.org/copyleft/gpl.html. // // If you do not wish to use this file under the terms of the GPL version 3.0 // then you may purchase a commercial license. For more information contact // info@riverbankcomputing.com. // // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. %Module(name=PyQt5.QtWebEngineCore, keyword_arguments="Optional", use_limited_api=True) %Import QtCore/QtCoremod.sip %Import QtGui/QtGuimod.sip %Import QtNetwork/QtNetworkmod.sip %Timeline {QtWebEngine_5_4_0 QtWebEngine_5_4_1 QtWebEngine_5_4_2 QtWebEngine_5_5_0 QtWebEngine_5_5_1 QtWebEngine_5_6_0 QtWebEngine_5_6_1 QtWebEngine_5_6_2 QtWebEngine_5_6_3 QtWebEngine_5_6_4 QtWebEngine_5_6_5 QtWebEngine_5_6_6 QtWebEngine_5_6_7 QtWebEngine_5_6_8 QtWebEngine_5_6_9 QtWebEngine_5_7_0 QtWebEngine_5_7_1 QtWebEngine_5_8_0 QtWebEngine_5_8_1 QtWebEngine_5_9_0 QtWebEngine_5_9_1 QtWebEngine_5_9_2 QtWebEngine_5_9_3 QtWebEngine_5_9_4 QtWebEngine_5_9_5 QtWebEngine_5_9_6 QtWebEngine_5_9_7 QtWebEngine_5_9_8 QtWebEngine_5_9_9 QtWebEngine_5_10_0 QtWebEngine_5_10_1 QtWebEngine_5_11_0 QtWebEngine_5_11_1 QtWebEngine_5_11_2 QtWebEngine_5_11_3 QtWebEngine_5_12_0 QtWebEngine_5_12_1 QtWebEngine_5_12_2 QtWebEngine_5_12_3 QtWebEngine_5_12_4 QtWebEngine_5_13_0 QtWebEngine_5_14_0 QtWebEngine_5_15_0} %Copying Copyright (c) 2024 Riverbank Computing Limited This file is part of PyQtWebEngine. This file may be used under the terms of the GNU General Public License version 3.0 as published by the Free Software Foundation and appearing in the file LICENSE included in the packaging of this file. Please review the following information to ensure the GNU General Public License version 3.0 requirements will be met: http://www.gnu.org/copyleft/gpl.html. If you do not wish to use this file under the terms of the GPL version 3.0 then you may purchase a commercial license. For more information contact info@riverbankcomputing.com. This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. %End %DefaultSupertype sip.simplewrapper %Include qwebengineclientcertificatestore.sip %Include qwebenginecookiestore.sip %Include qwebenginefindtextresult.sip %Include qwebenginehttprequest.sip %Include qwebenginenotification.sip %Include qwebenginequotarequest.sip %Include qwebengineregisterprotocolhandlerrequest.sip %Include qwebengineurlrequestinfo.sip %Include qwebengineurlrequestinterceptor.sip %Include qwebengineurlrequestjob.sip %Include qwebengineurlscheme.sip %Include qwebengineurlschemehandler.sip ././@PaxHeader0000000000000000000000000000003400000000000011452 xustar000000000000000028 mtime=1720864268.0853043 PyQtWebEngine-5.15.7/sip/QtWebEngineCore/qwebengineclientcertificatestore.sip0000644000076500000240000000262500000000000027453 0ustar00philstaff00000000000000// qwebengineclientcertificatestore.sip generated by MetaSIP // // This file is part of the QtWebEngineCore Python extension module. // // Copyright (c) 2024 Riverbank Computing Limited // // This file is part of PyQtWebEngine. // // This file may be used under the terms of the GNU General Public License // version 3.0 as published by the Free Software Foundation and appearing in // the file LICENSE included in the packaging of this file. Please review the // following information to ensure the GNU General Public License version 3.0 // requirements will be met: http://www.gnu.org/copyleft/gpl.html. // // If you do not wish to use this file under the terms of the GPL version 3.0 // then you may purchase a commercial license. For more information contact // info@riverbankcomputing.com. // // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. %If (QtWebEngine_5_13_0 -) %If (PyQt_SSL) class QWebEngineClientCertificateStore /NoDefaultCtors/ { %TypeHeaderCode #include %End public: void add(const QSslCertificate &certificate, const QSslKey &privateKey); QVector certificates() const; void remove(const QSslCertificate &certificate); void clear(); private: ~QWebEngineClientCertificateStore(); }; %End %End ././@PaxHeader0000000000000000000000000000003300000000000011451 xustar000000000000000027 mtime=1720864268.088669 PyQtWebEngine-5.15.7/sip/QtWebEngineCore/qwebenginecookiestore.sip0000644000076500000240000001066400000000000025245 0ustar00philstaff00000000000000// qwebenginecookiestore.sip generated by MetaSIP // // This file is part of the QtWebEngineCore Python extension module. // // Copyright (c) 2024 Riverbank Computing Limited // // This file is part of PyQtWebEngine. // // This file may be used under the terms of the GNU General Public License // version 3.0 as published by the Free Software Foundation and appearing in // the file LICENSE included in the packaging of this file. Please review the // following information to ensure the GNU General Public License version 3.0 // requirements will be met: http://www.gnu.org/copyleft/gpl.html. // // If you do not wish to use this file under the terms of the GPL version 3.0 // then you may purchase a commercial license. For more information contact // info@riverbankcomputing.com. // // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. %If (QtWebEngine_5_6_0 -) class QWebEngineCookieStore : public QObject { %TypeHeaderCode #include %End %ConvertToSubClassCode static struct class_graph { const char *name; sipTypeDef **type; int yes, no; } graph[] = { {sipName_QWebEngineCookieStore, &sipType_QWebEngineCookieStore, -1, 1}, #if QT_VERSION >= 0x050d00 {sipName_QWebEngineNotification, &sipType_QWebEngineNotification, -1, 2}, #else {0, 0, -1, 2}, #endif {sipName_QWebEngineUrlRequestInterceptor, &sipType_QWebEngineUrlRequestInterceptor, -1, 3}, {sipName_QWebEngineUrlRequestJob, &sipType_QWebEngineUrlRequestJob, -1, 4}, {sipName_QWebEngineUrlSchemeHandler, &sipType_QWebEngineUrlSchemeHandler, -1, -1}, }; int i = 0; sipType = NULL; do { struct class_graph *cg = &graph[i]; if (cg->name != NULL && sipCpp->inherits(cg->name)) { sipType = *cg->type; i = cg->yes; } else i = cg->no; } while (i >= 0); %End public: virtual ~QWebEngineCookieStore(); void setCookie(const QNetworkCookie &cookie, const QUrl &origin = QUrl()); void deleteCookie(const QNetworkCookie &cookie, const QUrl &origin = QUrl()); void deleteSessionCookies(); void deleteAllCookies(); void loadAllCookies(); signals: void cookieAdded(const QNetworkCookie &cookie); void cookieRemoved(const QNetworkCookie &cookie); private: explicit QWebEngineCookieStore(QObject *parent = 0); public: %If (QtWebEngine_5_11_0 -) struct FilterRequest { %TypeHeaderCode #include %End QUrl firstPartyUrl; QUrl origin; bool thirdParty; }; %End %If (QtWebEngine_5_11_0 -) void setCookieFilter(SIP_PYCALLABLE filterCallback /AllowNone,KeepReference,TypeHint="Callable[[FilterRequest], bool]"/ = 0); %MethodCode Py_BEGIN_ALLOW_THREADS sipCpp->setCookieFilter([a0](const QWebEngineCookieStore::FilterRequest &arg) { int res_int = 1; if (a0) { SIP_BLOCK_THREADS PyObject *res; res = sipCallMethod(NULL, a0, "N", new QWebEngineCookieStore::FilterRequest(arg), sipType_QWebEngineCookieStore_FilterRequest, NULL); if (!res) { res_int = -1; } else { res_int = sipConvertToBool(res); Py_DECREF(res); } if (res_int < 0) { pyqt5_qtwebenginecore_err_print(); res_int = 0; } SIP_UNBLOCK_THREADS } return res_int; }); Py_END_ALLOW_THREADS %End %End }; %End %ModuleHeaderCode // Imports from QtCore. typedef void (*pyqt5_qtwebenginecore_err_print_t)(); extern pyqt5_qtwebenginecore_err_print_t pyqt5_qtwebenginecore_err_print; %End %ModuleCode // Imports from QtCore. pyqt5_qtwebenginecore_err_print_t pyqt5_qtwebenginecore_err_print; %End %PostInitialisationCode // Imports from QtCore. pyqt5_qtwebenginecore_err_print = (pyqt5_qtwebenginecore_err_print_t)sipImportSymbol("pyqt5_err_print"); Q_ASSERT(pyqt5_qtwebenginecore_err_print); %End ././@PaxHeader0000000000000000000000000000003400000000000011452 xustar000000000000000028 mtime=1720864268.0864573 PyQtWebEngine-5.15.7/sip/QtWebEngineCore/qwebenginefindtextresult.sip0000644000076500000240000000244200000000000025776 0ustar00philstaff00000000000000// qwebenginefindtextresult.sip generated by MetaSIP // // This file is part of the QtWebEngineCore Python extension module. // // Copyright (c) 2024 Riverbank Computing Limited // // This file is part of PyQtWebEngine. // // This file may be used under the terms of the GNU General Public License // version 3.0 as published by the Free Software Foundation and appearing in // the file LICENSE included in the packaging of this file. Please review the // following information to ensure the GNU General Public License version 3.0 // requirements will be met: http://www.gnu.org/copyleft/gpl.html. // // If you do not wish to use this file under the terms of the GPL version 3.0 // then you may purchase a commercial license. For more information contact // info@riverbankcomputing.com. // // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. %If (QtWebEngine_5_14_0 -) class QWebEngineFindTextResult { %TypeHeaderCode #include %End public: int numberOfMatches() const; int activeMatch() const; QWebEngineFindTextResult(); QWebEngineFindTextResult(const QWebEngineFindTextResult &other); ~QWebEngineFindTextResult(); }; %End ././@PaxHeader0000000000000000000000000000003400000000000011452 xustar000000000000000028 mtime=1720864268.0878272 PyQtWebEngine-5.15.7/sip/QtWebEngineCore/qwebenginehttprequest.sip0000644000076500000240000000422500000000000025303 0ustar00philstaff00000000000000// qwebenginehttprequest.sip generated by MetaSIP // // This file is part of the QtWebEngineCore Python extension module. // // Copyright (c) 2024 Riverbank Computing Limited // // This file is part of PyQtWebEngine. // // This file may be used under the terms of the GNU General Public License // version 3.0 as published by the Free Software Foundation and appearing in // the file LICENSE included in the packaging of this file. Please review the // following information to ensure the GNU General Public License version 3.0 // requirements will be met: http://www.gnu.org/copyleft/gpl.html. // // If you do not wish to use this file under the terms of the GPL version 3.0 // then you may purchase a commercial license. For more information contact // info@riverbankcomputing.com. // // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. %If (QtWebEngine_5_9_0 -) class QWebEngineHttpRequest { %TypeHeaderCode #include %End public: enum Method { Get, Post, }; QWebEngineHttpRequest(const QUrl &url = QUrl(), const QWebEngineHttpRequest::Method &method = QWebEngineHttpRequest::Method::Get); QWebEngineHttpRequest(const QWebEngineHttpRequest &other); ~QWebEngineHttpRequest(); static QWebEngineHttpRequest postRequest(const QUrl &url, const QMap &postData); void swap(QWebEngineHttpRequest &other); bool operator==(const QWebEngineHttpRequest &other) const; bool operator!=(const QWebEngineHttpRequest &other) const; QWebEngineHttpRequest::Method method() const; void setMethod(QWebEngineHttpRequest::Method method); QUrl url() const; void setUrl(const QUrl &url); QByteArray postData() const; void setPostData(const QByteArray &postData); bool hasHeader(const QByteArray &headerName) const; QVector headers() const; QByteArray header(const QByteArray &headerName) const; void setHeader(const QByteArray &headerName, const QByteArray &value); void unsetHeader(const QByteArray &headerName); }; %End ././@PaxHeader0000000000000000000000000000003400000000000011452 xustar000000000000000028 mtime=1720864268.0880902 PyQtWebEngine-5.15.7/sip/QtWebEngineCore/qwebenginenotification.sip0000644000076500000240000000303500000000000025377 0ustar00philstaff00000000000000// qwebenginenotification.sip generated by MetaSIP // // This file is part of the QtWebEngineCore Python extension module. // // Copyright (c) 2024 Riverbank Computing Limited // // This file is part of PyQtWebEngine. // // This file may be used under the terms of the GNU General Public License // version 3.0 as published by the Free Software Foundation and appearing in // the file LICENSE included in the packaging of this file. Please review the // following information to ensure the GNU General Public License version 3.0 // requirements will be met: http://www.gnu.org/copyleft/gpl.html. // // If you do not wish to use this file under the terms of the GPL version 3.0 // then you may purchase a commercial license. For more information contact // info@riverbankcomputing.com. // // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. %If (QtWebEngine_5_13_0 -) class QWebEngineNotification : public QObject /NoDefaultCtors/ { %TypeHeaderCode #include %End public: virtual ~QWebEngineNotification(); bool matches(const QWebEngineNotification *other) const; QUrl origin() const; QImage icon() const; QString title() const; QString message() const; QString tag() const; QString language() const; Qt::LayoutDirection direction() const; public slots: void show() const; void click() const; void close() const; signals: void closed(); }; %End ././@PaxHeader0000000000000000000000000000003400000000000011452 xustar000000000000000028 mtime=1720864268.0870395 PyQtWebEngine-5.15.7/sip/QtWebEngineCore/qwebenginequotarequest.sip0000644000076500000240000000252500000000000025456 0ustar00philstaff00000000000000// qwebenginequotarequest.sip generated by MetaSIP // // This file is part of the QtWebEngineCore Python extension module. // // Copyright (c) 2024 Riverbank Computing Limited // // This file is part of PyQtWebEngine. // // This file may be used under the terms of the GNU General Public License // version 3.0 as published by the Free Software Foundation and appearing in // the file LICENSE included in the packaging of this file. Please review the // following information to ensure the GNU General Public License version 3.0 // requirements will be met: http://www.gnu.org/copyleft/gpl.html. // // If you do not wish to use this file under the terms of the GPL version 3.0 // then you may purchase a commercial license. For more information contact // info@riverbankcomputing.com. // // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. %If (QtWebEngine_5_11_0 -) class QWebEngineQuotaRequest { %TypeHeaderCode #include %End public: QWebEngineQuotaRequest(); void accept(); void reject(); QUrl origin() const; qint64 requestedSize() const; bool operator==(const QWebEngineQuotaRequest &that) const; bool operator!=(const QWebEngineQuotaRequest &that) const; }; %End ././@PaxHeader0000000000000000000000000000003400000000000011452 xustar000000000000000028 mtime=1720864268.0875354 PyQtWebEngine-5.15.7/sip/QtWebEngineCore/qwebengineregisterprotocolhandlerrequest.sip0000644000076500000240000000267300000000000031275 0ustar00philstaff00000000000000// qwebengineregisterprotocolhandlerrequest.sip generated by MetaSIP // // This file is part of the QtWebEngineCore Python extension module. // // Copyright (c) 2024 Riverbank Computing Limited // // This file is part of PyQtWebEngine. // // This file may be used under the terms of the GNU General Public License // version 3.0 as published by the Free Software Foundation and appearing in // the file LICENSE included in the packaging of this file. Please review the // following information to ensure the GNU General Public License version 3.0 // requirements will be met: http://www.gnu.org/copyleft/gpl.html. // // If you do not wish to use this file under the terms of the GPL version 3.0 // then you may purchase a commercial license. For more information contact // info@riverbankcomputing.com. // // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. %If (QtWebEngine_5_11_0 -) class QWebEngineRegisterProtocolHandlerRequest { %TypeHeaderCode #include %End public: QWebEngineRegisterProtocolHandlerRequest(); void accept(); void reject(); QUrl origin() const; QString scheme() const; bool operator==(const QWebEngineRegisterProtocolHandlerRequest &that) const; bool operator!=(const QWebEngineRegisterProtocolHandlerRequest &that) const; }; %End ././@PaxHeader0000000000000000000000000000003300000000000011451 xustar000000000000000027 mtime=1720864268.085939 PyQtWebEngine-5.15.7/sip/QtWebEngineCore/qwebengineurlrequestinfo.sip0000644000076500000240000000543400000000000026005 0ustar00philstaff00000000000000// qwebengineurlrequestinfo.sip generated by MetaSIP // // This file is part of the QtWebEngineCore Python extension module. // // Copyright (c) 2024 Riverbank Computing Limited // // This file is part of PyQtWebEngine. // // This file may be used under the terms of the GNU General Public License // version 3.0 as published by the Free Software Foundation and appearing in // the file LICENSE included in the packaging of this file. Please review the // following information to ensure the GNU General Public License version 3.0 // requirements will be met: http://www.gnu.org/copyleft/gpl.html. // // If you do not wish to use this file under the terms of the GPL version 3.0 // then you may purchase a commercial license. For more information contact // info@riverbankcomputing.com. // // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. %If (QtWebEngine_5_6_0 -) class QWebEngineUrlRequestInfo { %TypeHeaderCode #include %End public: enum ResourceType { ResourceTypeMainFrame, ResourceTypeSubFrame, ResourceTypeStylesheet, ResourceTypeScript, ResourceTypeImage, ResourceTypeFontResource, ResourceTypeSubResource, ResourceTypeObject, ResourceTypeMedia, ResourceTypeWorker, ResourceTypeSharedWorker, ResourceTypePrefetch, ResourceTypeFavicon, ResourceTypeXhr, ResourceTypePing, ResourceTypeServiceWorker, ResourceTypeUnknown, %If (QtWebEngine_5_7_0 -) ResourceTypeCspReport, %End %If (QtWebEngine_5_7_0 -) ResourceTypePluginResource, %End %If (QtWebEngine_5_14_0 -) ResourceTypeNavigationPreloadMainFrame, %End %If (QtWebEngine_5_14_0 -) ResourceTypeNavigationPreloadSubFrame, %End }; enum NavigationType { NavigationTypeLink, NavigationTypeTyped, NavigationTypeFormSubmitted, NavigationTypeBackForward, NavigationTypeReload, %If (QtWebEngine_5_14_0 -) NavigationTypeRedirect, %End NavigationTypeOther, }; QWebEngineUrlRequestInfo::ResourceType resourceType() const; QWebEngineUrlRequestInfo::NavigationType navigationType() const; QUrl requestUrl() const; QUrl firstPartyUrl() const; QByteArray requestMethod() const; void block(bool shouldBlock); void redirect(const QUrl &url); void setHttpHeader(const QByteArray &name, const QByteArray &value); %If (QtWebEngine_5_14_0 -) QUrl initiator() const; %End private: %If (QtWebEngine_5_14_0 -) QWebEngineUrlRequestInfo(); %End QWebEngineUrlRequestInfo(const QWebEngineUrlRequestInfo &); ~QWebEngineUrlRequestInfo(); }; %End ././@PaxHeader0000000000000000000000000000003400000000000011452 xustar000000000000000028 mtime=1720864268.0855353 PyQtWebEngine-5.15.7/sip/QtWebEngineCore/qwebengineurlrequestinterceptor.sip0000644000076500000240000000256400000000000027411 0ustar00philstaff00000000000000// qwebengineurlrequestinterceptor.sip generated by MetaSIP // // This file is part of the QtWebEngineCore Python extension module. // // Copyright (c) 2024 Riverbank Computing Limited // // This file is part of PyQtWebEngine. // // This file may be used under the terms of the GNU General Public License // version 3.0 as published by the Free Software Foundation and appearing in // the file LICENSE included in the packaging of this file. Please review the // following information to ensure the GNU General Public License version 3.0 // requirements will be met: http://www.gnu.org/copyleft/gpl.html. // // If you do not wish to use this file under the terms of the GPL version 3.0 // then you may purchase a commercial license. For more information contact // info@riverbankcomputing.com. // // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. %If (QtWebEngine_5_6_0 -) class QWebEngineUrlRequestInterceptor : public QObject { %TypeHeaderCode #include %End public: explicit QWebEngineUrlRequestInterceptor(QObject *parent /TransferThis/ = 0); virtual void interceptRequest(QWebEngineUrlRequestInfo &info) = 0; private: QWebEngineUrlRequestInterceptor(const QWebEngineUrlRequestInterceptor &); }; %End ././@PaxHeader0000000000000000000000000000003400000000000011452 xustar000000000000000028 mtime=1720864268.0862198 PyQtWebEngine-5.15.7/sip/QtWebEngineCore/qwebengineurlrequestjob.sip0000644000076500000240000000326500000000000025624 0ustar00philstaff00000000000000// qwebengineurlrequestjob.sip generated by MetaSIP // // This file is part of the QtWebEngineCore Python extension module. // // Copyright (c) 2024 Riverbank Computing Limited // // This file is part of PyQtWebEngine. // // This file may be used under the terms of the GNU General Public License // version 3.0 as published by the Free Software Foundation and appearing in // the file LICENSE included in the packaging of this file. Please review the // following information to ensure the GNU General Public License version 3.0 // requirements will be met: http://www.gnu.org/copyleft/gpl.html. // // If you do not wish to use this file under the terms of the GPL version 3.0 // then you may purchase a commercial license. For more information contact // info@riverbankcomputing.com. // // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. %If (QtWebEngine_5_6_0 -) class QWebEngineUrlRequestJob : public QObject /NoDefaultCtors/ { %TypeHeaderCode #include %End public: virtual ~QWebEngineUrlRequestJob(); enum Error { NoError, UrlNotFound, UrlInvalid, RequestAborted, RequestDenied, RequestFailed, }; QUrl requestUrl() const; QByteArray requestMethod() const; void reply(const QByteArray &contentType, QIODevice *device); void fail(QWebEngineUrlRequestJob::Error error); void redirect(const QUrl &url); %If (QtWebEngine_5_11_0 -) QUrl initiator() const; %End %If (QtWebEngine_5_13_0 -) QMap requestHeaders() const; %End }; %End ././@PaxHeader0000000000000000000000000000003400000000000011452 xustar000000000000000028 mtime=1720864268.0868032 PyQtWebEngine-5.15.7/sip/QtWebEngineCore/qwebengineurlscheme.sip0000644000076500000240000000474500000000000024711 0ustar00philstaff00000000000000// qwebengineurlscheme.sip generated by MetaSIP // // This file is part of the QtWebEngineCore Python extension module. // // Copyright (c) 2024 Riverbank Computing Limited // // This file is part of PyQtWebEngine. // // This file may be used under the terms of the GNU General Public License // version 3.0 as published by the Free Software Foundation and appearing in // the file LICENSE included in the packaging of this file. Please review the // following information to ensure the GNU General Public License version 3.0 // requirements will be met: http://www.gnu.org/copyleft/gpl.html. // // If you do not wish to use this file under the terms of the GPL version 3.0 // then you may purchase a commercial license. For more information contact // info@riverbankcomputing.com. // // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. %If (QtWebEngine_5_12_0 -) class QWebEngineUrlScheme { %TypeHeaderCode #include %End public: enum class Syntax { HostPortAndUserInformation, HostAndPort, Host, Path, }; enum SpecialPort { PortUnspecified, }; enum Flag { SecureScheme, LocalScheme, LocalAccessAllowed, NoAccessAllowed, ServiceWorkersAllowed, ViewSourceAllowed, ContentSecurityPolicyIgnored, %If (QtWebEngine_5_14_0 -) CorsEnabled, %End }; typedef QFlags Flags; QWebEngineUrlScheme(); explicit QWebEngineUrlScheme(const QByteArray &name); QWebEngineUrlScheme(const QWebEngineUrlScheme &that); ~QWebEngineUrlScheme(); bool operator==(const QWebEngineUrlScheme &that) const; bool operator!=(const QWebEngineUrlScheme &that) const; QByteArray name() const; void setName(const QByteArray &newValue); QWebEngineUrlScheme::Syntax syntax() const; void setSyntax(QWebEngineUrlScheme::Syntax newValue); int defaultPort() const; void setDefaultPort(int newValue); QWebEngineUrlScheme::Flags flags() const; void setFlags(QWebEngineUrlScheme::Flags newValue); static void registerScheme(const QWebEngineUrlScheme &scheme); static QWebEngineUrlScheme schemeByName(const QByteArray &name); }; %End %If (QtWebEngine_5_12_0 -) QFlags operator|(QWebEngineUrlScheme::Flag f1, QFlags f2); %End ././@PaxHeader0000000000000000000000000000003400000000000011452 xustar000000000000000028 mtime=1720864268.0889082 PyQtWebEngine-5.15.7/sip/QtWebEngineCore/qwebengineurlschemehandler.sip0000644000076500000240000000256100000000000026241 0ustar00philstaff00000000000000// qwebengineurlschemehandler.sip generated by MetaSIP // // This file is part of the QtWebEngineCore Python extension module. // // Copyright (c) 2024 Riverbank Computing Limited // // This file is part of PyQtWebEngine. // // This file may be used under the terms of the GNU General Public License // version 3.0 as published by the Free Software Foundation and appearing in // the file LICENSE included in the packaging of this file. Please review the // following information to ensure the GNU General Public License version 3.0 // requirements will be met: http://www.gnu.org/copyleft/gpl.html. // // If you do not wish to use this file under the terms of the GPL version 3.0 // then you may purchase a commercial license. For more information contact // info@riverbankcomputing.com. // // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. %If (QtWebEngine_5_6_0 -) class QWebEngineUrlSchemeHandler : public QObject { %TypeHeaderCode #include %End public: QWebEngineUrlSchemeHandler(QObject *parent /TransferThis/ = 0); virtual ~QWebEngineUrlSchemeHandler(); virtual void requestStarted(QWebEngineUrlRequestJob *) = 0; private: QWebEngineUrlSchemeHandler(const QWebEngineUrlSchemeHandler &); }; %End ././@PaxHeader0000000000000000000000000000003300000000000011451 xustar000000000000000027 mtime=1720864268.188633 PyQtWebEngine-5.15.7/sip/QtWebEngineWidgets/0000755000076500000240000000000000000000000020644 5ustar00philstaff00000000000000././@PaxHeader0000000000000000000000000000003300000000000011451 xustar000000000000000027 mtime=1720864268.082973 PyQtWebEngine-5.15.7/sip/QtWebEngineWidgets/QtWebEngineWidgetsmod.sip0000644000076500000240000000656600000000000025575 0ustar00philstaff00000000000000// QtWebEngineWidgetsmod.sip generated by MetaSIP // // This file is part of the QtWebEngineWidgets Python extension module. // // Copyright (c) 2024 Riverbank Computing Limited // // This file is part of PyQtWebEngine. // // This file may be used under the terms of the GNU General Public License // version 3.0 as published by the Free Software Foundation and appearing in // the file LICENSE included in the packaging of this file. Please review the // following information to ensure the GNU General Public License version 3.0 // requirements will be met: http://www.gnu.org/copyleft/gpl.html. // // If you do not wish to use this file under the terms of the GPL version 3.0 // then you may purchase a commercial license. For more information contact // info@riverbankcomputing.com. // // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. %Module(name=PyQt5.QtWebEngineWidgets, keyword_arguments="Optional", use_limited_api=True) %Import QtCore/QtCoremod.sip %Import QtNetwork/QtNetworkmod.sip %Import QtPrintSupport/QtPrintSupportmod.sip %Import QtWidgets/QtWidgetsmod.sip %Timeline {QtWebEngine_5_4_0 QtWebEngine_5_4_1 QtWebEngine_5_4_2 QtWebEngine_5_5_0 QtWebEngine_5_5_1 QtWebEngine_5_6_0 QtWebEngine_5_6_1 QtWebEngine_5_6_2 QtWebEngine_5_6_3 QtWebEngine_5_6_4 QtWebEngine_5_6_5 QtWebEngine_5_6_6 QtWebEngine_5_6_7 QtWebEngine_5_6_8 QtWebEngine_5_6_9 QtWebEngine_5_7_0 QtWebEngine_5_7_1 QtWebEngine_5_8_0 QtWebEngine_5_8_1 QtWebEngine_5_9_0 QtWebEngine_5_9_1 QtWebEngine_5_9_2 QtWebEngine_5_9_3 QtWebEngine_5_9_4 QtWebEngine_5_9_5 QtWebEngine_5_9_6 QtWebEngine_5_9_7 QtWebEngine_5_9_8 QtWebEngine_5_9_9 QtWebEngine_5_10_0 QtWebEngine_5_10_1 QtWebEngine_5_11_0 QtWebEngine_5_11_1 QtWebEngine_5_11_2 QtWebEngine_5_11_3 QtWebEngine_5_12_0 QtWebEngine_5_12_1 QtWebEngine_5_12_2 QtWebEngine_5_12_3 QtWebEngine_5_12_4 QtWebEngine_5_13_0 QtWebEngine_5_14_0 QtWebEngine_5_15_0} %Copying Copyright (c) 2024 Riverbank Computing Limited This file is part of PyQtWebEngine. This file may be used under the terms of the GNU General Public License version 3.0 as published by the Free Software Foundation and appearing in the file LICENSE included in the packaging of this file. Please review the following information to ensure the GNU General Public License version 3.0 requirements will be met: http://www.gnu.org/copyleft/gpl.html. If you do not wish to use this file under the terms of the GPL version 3.0 then you may purchase a commercial license. For more information contact info@riverbankcomputing.com. This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. %End %DefaultSupertype sip.simplewrapper %If (QtWebEngine_5_6_0 -) %Import QtWebEngineCore/QtWebEngineCoremod.sip %End %If (PyQt_WebChannel) %Import QtWebChannel/QtWebChannelmod.sip %End %Include qwebenginecertificateerror.sip %Include qwebengineclientcertificateselection.sip %Include qwebenginecontextmenudata.sip %Include qwebenginedownloaditem.sip %Include qwebenginefullscreenrequest.sip %Include qwebenginehistory.sip %Include qwebenginepage.sip %Include qwebengineprofile.sip %Include qwebenginescript.sip %Include qwebenginescriptcollection.sip %Include qwebenginesettings.sip %Include qwebengineview.sip ././@PaxHeader0000000000000000000000000000003400000000000011452 xustar000000000000000028 mtime=1720864268.0788453 PyQtWebEngine-5.15.7/sip/QtWebEngineWidgets/qwebenginecertificateerror.sip0000644000076500000240000000502600000000000026765 0ustar00philstaff00000000000000// qwebenginecertificateerror.sip generated by MetaSIP // // This file is part of the QtWebEngineWidgets Python extension module. // // Copyright (c) 2024 Riverbank Computing Limited // // This file is part of PyQtWebEngine. // // This file may be used under the terms of the GNU General Public License // version 3.0 as published by the Free Software Foundation and appearing in // the file LICENSE included in the packaging of this file. Please review the // following information to ensure the GNU General Public License version 3.0 // requirements will be met: http://www.gnu.org/copyleft/gpl.html. // // If you do not wish to use this file under the terms of the GPL version 3.0 // then you may purchase a commercial license. For more information contact // info@riverbankcomputing.com. // // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. class QWebEngineCertificateError /NoDefaultCtors/ { %TypeHeaderCode #include %End public: enum Error { SslPinnedKeyNotInCertificateChain, CertificateCommonNameInvalid, CertificateDateInvalid, CertificateAuthorityInvalid, CertificateContainsErrors, CertificateNoRevocationMechanism, CertificateUnableToCheckRevocation, CertificateRevoked, CertificateInvalid, CertificateWeakSignatureAlgorithm, CertificateNonUniqueName, CertificateWeakKey, CertificateNameConstraintViolation, %If (QtWebEngine_5_7_1 -) CertificateValidityTooLong, %End %If (QtWebEngine_5_8_0 -) CertificateTransparencyRequired, %End %If (QtWebEngine_5_15_0 -) CertificateKnownInterceptionBlocked, %End }; QWebEngineCertificateError::Error error() const; QUrl url() const; bool isOverridable() const; QString errorDescription() const; %If (QtWebEngine_5_14_0 -) QWebEngineCertificateError(const QWebEngineCertificateError &other); %End private: %If (- QtWebEngine_5_14_0) QWebEngineCertificateError(const QWebEngineCertificateError &); %End public: %If (QtWebEngine_5_14_0 -) void defer(); %End %If (QtWebEngine_5_14_0 -) bool deferred() const; %End %If (QtWebEngine_5_14_0 -) void rejectCertificate(); %End %If (QtWebEngine_5_14_0 -) void ignoreCertificateError(); %End %If (QtWebEngine_5_14_0 -) bool answered() const; %End %If (QtWebEngine_5_14_0 -) QList certificateChain() const; %End }; ././@PaxHeader0000000000000000000000000000003300000000000011451 xustar000000000000000027 mtime=1720864268.077829 PyQtWebEngine-5.15.7/sip/QtWebEngineWidgets/qwebengineclientcertificateselection.sip0000644000076500000240000000266400000000000031025 0ustar00philstaff00000000000000// qwebengineclientcertificateselection.sip generated by MetaSIP // // This file is part of the QtWebEngineWidgets Python extension module. // // Copyright (c) 2024 Riverbank Computing Limited // // This file is part of PyQtWebEngine. // // This file may be used under the terms of the GNU General Public License // version 3.0 as published by the Free Software Foundation and appearing in // the file LICENSE included in the packaging of this file. Please review the // following information to ensure the GNU General Public License version 3.0 // requirements will be met: http://www.gnu.org/copyleft/gpl.html. // // If you do not wish to use this file under the terms of the GPL version 3.0 // then you may purchase a commercial license. For more information contact // info@riverbankcomputing.com. // // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. %If (QtWebEngine_5_12_0 -) %If (PyQt_SSL) class QWebEngineClientCertificateSelection { %TypeHeaderCode #include %End public: QWebEngineClientCertificateSelection(const QWebEngineClientCertificateSelection &); ~QWebEngineClientCertificateSelection(); QUrl host() const; void select(const QSslCertificate &certificate); void selectNone(); QVector certificates() const; }; %End %End ././@PaxHeader0000000000000000000000000000003400000000000011452 xustar000000000000000028 mtime=1720864268.0826812 PyQtWebEngine-5.15.7/sip/QtWebEngineWidgets/qwebenginecontextmenudata.sip0000644000076500000240000000611400000000000026633 0ustar00philstaff00000000000000// qwebenginecontextmenudata.sip generated by MetaSIP // // This file is part of the QtWebEngineWidgets Python extension module. // // Copyright (c) 2024 Riverbank Computing Limited // // This file is part of PyQtWebEngine. // // This file may be used under the terms of the GNU General Public License // version 3.0 as published by the Free Software Foundation and appearing in // the file LICENSE included in the packaging of this file. Please review the // following information to ensure the GNU General Public License version 3.0 // requirements will be met: http://www.gnu.org/copyleft/gpl.html. // // If you do not wish to use this file under the terms of the GPL version 3.0 // then you may purchase a commercial license. For more information contact // info@riverbankcomputing.com. // // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. %If (QtWebEngine_5_7_0 -) class QWebEngineContextMenuData { %TypeHeaderCode #include %End public: QWebEngineContextMenuData(); QWebEngineContextMenuData(const QWebEngineContextMenuData &other); ~QWebEngineContextMenuData(); enum MediaType { MediaTypeNone, MediaTypeImage, MediaTypeVideo, MediaTypeAudio, MediaTypeCanvas, MediaTypeFile, MediaTypePlugin, }; bool isValid() const; QPoint position() const; QString selectedText() const; QString linkText() const; QUrl linkUrl() const; QUrl mediaUrl() const; QWebEngineContextMenuData::MediaType mediaType() const; bool isContentEditable() const; %If (QtWebEngine_5_8_0 -) QString misspelledWord() const; %End %If (QtWebEngine_5_8_0 -) QStringList spellCheckerSuggestions() const; %End %If (QtWebEngine_5_11_0 -) enum MediaFlag { MediaInError, MediaPaused, MediaMuted, MediaLoop, MediaCanSave, MediaHasAudio, MediaCanToggleControls, MediaControls, MediaCanPrint, MediaCanRotate, }; %End %If (QtWebEngine_5_11_0 -) typedef QFlags MediaFlags; %End %If (QtWebEngine_5_11_0 -) enum EditFlag { CanUndo, CanRedo, CanCut, CanCopy, CanPaste, CanDelete, CanSelectAll, CanTranslate, CanEditRichly, }; %End %If (QtWebEngine_5_11_0 -) typedef QFlags EditFlags; %End %If (QtWebEngine_5_11_0 -) QWebEngineContextMenuData::MediaFlags mediaFlags() const; %End %If (QtWebEngine_5_11_0 -) QWebEngineContextMenuData::EditFlags editFlags() const; %End }; %End %If (QtWebEngine_5_11_0 -) QFlags operator|(QWebEngineContextMenuData::MediaFlag f1, QFlags f2); %End %If (QtWebEngine_5_11_0 -) QFlags operator|(QWebEngineContextMenuData::EditFlag f1, QFlags f2); %End ././@PaxHeader0000000000000000000000000000003400000000000011452 xustar000000000000000028 mtime=1720864268.0784566 PyQtWebEngine-5.15.7/sip/QtWebEngineWidgets/qwebenginedownloaditem.sip0000644000076500000240000001014000000000000026110 0ustar00philstaff00000000000000// qwebenginedownloaditem.sip generated by MetaSIP // // This file is part of the QtWebEngineWidgets Python extension module. // // Copyright (c) 2024 Riverbank Computing Limited // // This file is part of PyQtWebEngine. // // This file may be used under the terms of the GNU General Public License // version 3.0 as published by the Free Software Foundation and appearing in // the file LICENSE included in the packaging of this file. Please review the // following information to ensure the GNU General Public License version 3.0 // requirements will be met: http://www.gnu.org/copyleft/gpl.html. // // If you do not wish to use this file under the terms of the GPL version 3.0 // then you may purchase a commercial license. For more information contact // info@riverbankcomputing.com. // // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. %If (QtWebEngine_5_5_0 -) class QWebEngineDownloadItem : public QObject /NoDefaultCtors/ { %TypeHeaderCode #include %End public: virtual ~QWebEngineDownloadItem(); enum DownloadState { DownloadRequested, DownloadInProgress, DownloadCompleted, DownloadCancelled, DownloadInterrupted, }; quint32 id() const; QWebEngineDownloadItem::DownloadState state() const; qint64 totalBytes() const; qint64 receivedBytes() const; QUrl url() const; QString path() const; void setPath(QString path); bool isFinished() const; public slots: void accept(); void cancel(); signals: void finished(); void stateChanged(QWebEngineDownloadItem::DownloadState state); void downloadProgress(qint64 bytesReceived, qint64 bytesTotal); public: %If (QtWebEngine_5_6_0 -) QString mimeType() const; %End %If (QtWebEngine_5_7_0 -) enum SavePageFormat { UnknownSaveFormat, SingleHtmlSaveFormat, CompleteHtmlSaveFormat, MimeHtmlSaveFormat, }; %End %If (QtWebEngine_5_7_0 -) QWebEngineDownloadItem::SavePageFormat savePageFormat() const; %End %If (QtWebEngine_5_7_0 -) void setSavePageFormat(QWebEngineDownloadItem::SavePageFormat format); %End %If (QtWebEngine_5_8_0 -) enum DownloadType { Attachment, DownloadAttribute, UserRequested, SavePage, }; %End %If (QtWebEngine_5_8_0 -) QWebEngineDownloadItem::DownloadType type() const; %End %If (QtWebEngine_5_9_0 -) enum DownloadInterruptReason { NoReason, FileFailed, FileAccessDenied, FileNoSpace, FileNameTooLong, FileTooLarge, FileVirusInfected, FileTransientError, FileBlocked, FileSecurityCheckFailed, FileTooShort, FileHashMismatch, NetworkFailed, NetworkTimeout, NetworkDisconnected, NetworkServerDown, NetworkInvalidRequest, ServerFailed, ServerBadContent, ServerUnauthorized, ServerCertProblem, ServerForbidden, ServerUnreachable, UserCanceled, }; %End %If (QtWebEngine_5_9_0 -) QWebEngineDownloadItem::DownloadInterruptReason interruptReason() const; %End %If (QtWebEngine_5_9_0 -) QString interruptReasonString() const; %End %If (QtWebEngine_5_10_0 -) bool isPaused() const; %End public slots: %If (QtWebEngine_5_10_0 -) void pause(); %End %If (QtWebEngine_5_10_0 -) void resume(); %End signals: %If (QtWebEngine_5_10_0 -) void isPausedChanged(bool isPaused); %End public: %If (QtWebEngine_5_11_0 -) bool isSavePageDownload() const; %End %If (QtWebEngine_5_12_0 -) QWebEnginePage *page() const; %End %If (QtWebEngine_5_14_0 -) QString suggestedFileName() const; %End %If (QtWebEngine_5_14_0 -) QString downloadDirectory() const; %End %If (QtWebEngine_5_14_0 -) void setDownloadDirectory(const QString &directory); %End %If (QtWebEngine_5_14_0 -) QString downloadFileName() const; %End %If (QtWebEngine_5_14_0 -) void setDownloadFileName(const QString &fileName); %End }; %End ././@PaxHeader0000000000000000000000000000003400000000000011452 xustar000000000000000028 mtime=1720864268.0822227 PyQtWebEngine-5.15.7/sip/QtWebEngineWidgets/qwebenginefullscreenrequest.sip0000644000076500000240000000256400000000000027210 0ustar00philstaff00000000000000// qwebenginefullscreenrequest.sip generated by MetaSIP // // This file is part of the QtWebEngineWidgets Python extension module. // // Copyright (c) 2024 Riverbank Computing Limited // // This file is part of PyQtWebEngine. // // This file may be used under the terms of the GNU General Public License // version 3.0 as published by the Free Software Foundation and appearing in // the file LICENSE included in the packaging of this file. Please review the // following information to ensure the GNU General Public License version 3.0 // requirements will be met: http://www.gnu.org/copyleft/gpl.html. // // If you do not wish to use this file under the terms of the GPL version 3.0 // then you may purchase a commercial license. For more information contact // info@riverbankcomputing.com. // // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. %If (QtWebEngine_5_6_0 -) class QWebEngineFullScreenRequest { %TypeHeaderCode #include %End public: void reject(); void accept(); bool toggleOn() const; const QUrl &origin() const; private: QWebEngineFullScreenRequest(QWebEnginePage *page, const QUrl &origin, bool toggleOn); QWebEngineFullScreenRequest(const QWebEngineFullScreenRequest &); }; %End ././@PaxHeader0000000000000000000000000000003400000000000011452 xustar000000000000000028 mtime=1720864268.0772357 PyQtWebEngine-5.15.7/sip/QtWebEngineWidgets/qwebenginehistory.sip0000644000076500000240000000473100000000000025134 0ustar00philstaff00000000000000// qwebenginehistory.sip generated by MetaSIP // // This file is part of the QtWebEngineWidgets Python extension module. // // Copyright (c) 2024 Riverbank Computing Limited // // This file is part of PyQtWebEngine. // // This file may be used under the terms of the GNU General Public License // version 3.0 as published by the Free Software Foundation and appearing in // the file LICENSE included in the packaging of this file. Please review the // following information to ensure the GNU General Public License version 3.0 // requirements will be met: http://www.gnu.org/copyleft/gpl.html. // // If you do not wish to use this file under the terms of the GPL version 3.0 // then you may purchase a commercial license. For more information contact // info@riverbankcomputing.com. // // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. %If (QtWebEngine_5_4_0 -) class QWebEngineHistoryItem { %TypeHeaderCode #include %End public: QWebEngineHistoryItem(const QWebEngineHistoryItem &other); ~QWebEngineHistoryItem(); QUrl originalUrl() const; QUrl url() const; QString title() const; QDateTime lastVisited() const; QUrl iconUrl() const; bool isValid() const; %If (QtWebEngine_5_6_0 -) void swap(QWebEngineHistoryItem &other /Constrained/); %End }; %End %If (QtWebEngine_5_4_0 -) class QWebEngineHistory /NoDefaultCtors/ { %TypeHeaderCode #include %End public: void clear(); QList items() const; QList backItems(int maxItems) const; QList forwardItems(int maxItems) const; bool canGoBack() const; bool canGoForward() const; void back(); void forward(); void goToItem(const QWebEngineHistoryItem &item); QWebEngineHistoryItem backItem() const; QWebEngineHistoryItem currentItem() const; QWebEngineHistoryItem forwardItem() const; QWebEngineHistoryItem itemAt(int i) const; int currentItemIndex() const; int count() const /__len__/; private: ~QWebEngineHistory(); QWebEngineHistory(const QWebEngineHistory &); }; %End %If (QtWebEngine_5_4_0 -) QDataStream &operator<<(QDataStream &, const QWebEngineHistory & /Constrained/) /ReleaseGIL/; %End %If (QtWebEngine_5_4_0 -) QDataStream &operator>>(QDataStream &, QWebEngineHistory & /Constrained/) /ReleaseGIL/; %End ././@PaxHeader0000000000000000000000000000003400000000000011452 xustar000000000000000028 mtime=1720864268.0819366 PyQtWebEngine-5.15.7/sip/QtWebEngineWidgets/qwebenginepage.sip0000644000076500000240000004362400000000000024353 0ustar00philstaff00000000000000// qwebenginepage.sip generated by MetaSIP // // This file is part of the QtWebEngineWidgets Python extension module. // // Copyright (c) 2024 Riverbank Computing Limited // // This file is part of PyQtWebEngine. // // This file may be used under the terms of the GNU General Public License // version 3.0 as published by the Free Software Foundation and appearing in // the file LICENSE included in the packaging of this file. Please review the // following information to ensure the GNU General Public License version 3.0 // requirements will be met: http://www.gnu.org/copyleft/gpl.html. // // If you do not wish to use this file under the terms of the GPL version 3.0 // then you may purchase a commercial license. For more information contact // info@riverbankcomputing.com. // // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. class QWebEnginePage : public QObject { %TypeHeaderCode #include %End public: enum WebAction { NoWebAction, Back, Forward, Stop, Reload, Cut, Copy, Paste, Undo, Redo, SelectAll, ReloadAndBypassCache, PasteAndMatchStyle, %If (QtWebEngine_5_6_0 -) OpenLinkInThisWindow, %End %If (QtWebEngine_5_6_0 -) OpenLinkInNewWindow, %End %If (QtWebEngine_5_6_0 -) OpenLinkInNewTab, %End %If (QtWebEngine_5_6_0 -) CopyLinkToClipboard, %End %If (QtWebEngine_5_6_0 -) DownloadLinkToDisk, %End %If (QtWebEngine_5_6_0 -) CopyImageToClipboard, %End %If (QtWebEngine_5_6_0 -) CopyImageUrlToClipboard, %End %If (QtWebEngine_5_6_0 -) DownloadImageToDisk, %End %If (QtWebEngine_5_6_0 -) CopyMediaUrlToClipboard, %End %If (QtWebEngine_5_6_0 -) ToggleMediaControls, %End %If (QtWebEngine_5_6_0 -) ToggleMediaLoop, %End %If (QtWebEngine_5_6_0 -) ToggleMediaPlayPause, %End %If (QtWebEngine_5_6_0 -) ToggleMediaMute, %End %If (QtWebEngine_5_6_0 -) DownloadMediaToDisk, %End %If (QtWebEngine_5_6_0 -) InspectElement, %End %If (QtWebEngine_5_6_0 -) ExitFullScreen, %End %If (QtWebEngine_5_6_0 -) RequestClose, %End %If (QtWebEngine_5_7_0 -) Unselect, %End %If (QtWebEngine_5_7_0 -) SavePage, %End %If (QtWebEngine_5_7_0 -) OpenLinkInNewBackgroundTab, %End %If (QtWebEngine_5_8_0 -) ViewSource, %End %If (QtWebEngine_5_10_0 -) ToggleBold, %End %If (QtWebEngine_5_10_0 -) ToggleItalic, %End %If (QtWebEngine_5_10_0 -) ToggleUnderline, %End %If (QtWebEngine_5_10_0 -) ToggleStrikethrough, %End %If (QtWebEngine_5_10_0 -) AlignLeft, %End %If (QtWebEngine_5_10_0 -) AlignCenter, %End %If (QtWebEngine_5_10_0 -) AlignRight, %End %If (QtWebEngine_5_10_0 -) AlignJustified, %End %If (QtWebEngine_5_10_0 -) Indent, %End %If (QtWebEngine_5_10_0 -) Outdent, %End %If (QtWebEngine_5_10_0 -) InsertOrderedList, %End %If (QtWebEngine_5_10_0 -) InsertUnorderedList, %End }; enum FindFlag { FindBackward, FindCaseSensitively, }; typedef QFlags FindFlags; enum WebWindowType { WebBrowserWindow, WebBrowserTab, WebDialog, %If (QtWebEngine_5_7_0 -) WebBrowserBackgroundTab, %End }; enum PermissionPolicy { PermissionUnknown, PermissionGrantedByUser, PermissionDeniedByUser, }; enum Feature { %If (QtWebEngine_5_13_0 -) Notifications, %End Geolocation, MediaAudioCapture, MediaVideoCapture, MediaAudioVideoCapture, %If (QtWebEngine_5_5_0 -) MouseLock, %End %If (QtWebEngine_5_10_0 -) DesktopVideoCapture, %End %If (QtWebEngine_5_10_0 -) DesktopAudioVideoCapture, %End }; enum FileSelectionMode { FileSelectOpen, FileSelectOpenMultiple, }; enum JavaScriptConsoleMessageLevel { InfoMessageLevel, WarningMessageLevel, ErrorMessageLevel, }; explicit QWebEnginePage(QObject *parent /TransferThis/ = 0); %If (QtWebEngine_5_5_0 -) QWebEnginePage(QWebEngineProfile *profile, QObject *parent /TransferThis/ = 0); %End virtual ~QWebEnginePage(); QWebEngineHistory *history() const; void setView(QWidget *view); QWidget *view() const; bool hasSelection() const; QString selectedText() const; QAction *action(QWebEnginePage::WebAction action) const; virtual void triggerAction(QWebEnginePage::WebAction action, bool checked = false); virtual bool event(QEvent *); void findText(const QString &subString, QWebEnginePage::FindFlags options = QWebEnginePage::FindFlags(), SIP_PYCALLABLE resultCallback /AllowNone,TypeHint="Callable[[bool], None]"/ = 0); %MethodCode // Make sure any callable doesn't get garbage collected until it is invoked. Py_XINCREF(a2); Py_BEGIN_ALLOW_THREADS sipCpp->findText(*a0, *a1, [a2](bool arg) { if (a2) { SIP_BLOCK_THREADS PyObject *res; res = PyObject_CallFunctionObjArgs(a2, (arg ? Py_True : Py_False), NULL); Py_DECREF(a2); if (!res) pyqt5_qtwebenginewidgets_err_print(); else Py_DECREF(res); SIP_UNBLOCK_THREADS } }); Py_END_ALLOW_THREADS %End QMenu *createStandardContextMenu() /Factory/; void setFeaturePermission(const QUrl &securityOrigin, QWebEnginePage::Feature feature, QWebEnginePage::PermissionPolicy policy); void load(const QUrl &url); %If (QtWebEngine_5_9_0 -) void load(const QWebEngineHttpRequest &request); %End void setHtml(const QString &html, const QUrl &baseUrl = QUrl()); void setContent(const QByteArray &data, const QString &mimeType = QString(), const QUrl &baseUrl = QUrl()); void toHtml(SIP_PYCALLABLE resultCallback /TypeHint="Callable[[QString], None]"/) const; %MethodCode // Make sure the callable doesn't get garbage collected until it is invoked. Py_INCREF(a0); Py_BEGIN_ALLOW_THREADS sipCpp->toHtml([a0](const QString &arg) { SIP_BLOCK_THREADS PyObject *res; res = sipCallMethod(NULL, a0, "N", new QString(arg), sipType_QString, NULL); Py_DECREF(a0); if (!res) pyqt5_qtwebenginewidgets_err_print(); else Py_DECREF(res); SIP_UNBLOCK_THREADS }); Py_END_ALLOW_THREADS %End void toPlainText(SIP_PYCALLABLE resultCallback /TypeHint="Callable[[QString], None]"/) const; %MethodCode // Make sure the callable doesn't get garbage collected until it is invoked. Py_INCREF(a0); Py_BEGIN_ALLOW_THREADS sipCpp->toPlainText([a0](const QString &arg) { SIP_BLOCK_THREADS PyObject *res; res = sipCallMethod(NULL, a0, "N", new QString(arg), sipType_QString, NULL); Py_DECREF(a0); if (!res) pyqt5_qtwebenginewidgets_err_print(); else Py_DECREF(res); SIP_UNBLOCK_THREADS }); Py_END_ALLOW_THREADS %End QString title() const; void setUrl(const QUrl &url); QUrl url() const; QUrl requestedUrl() const; QUrl iconUrl() const; qreal zoomFactor() const; void setZoomFactor(qreal factor); %If (QtWebEngine_5_7_0 -) void runJavaScript(const QString &scriptSource, quint32 worldId); %End %If (QtWebEngine_5_7_0 -) void runJavaScript(const QString &scriptSource, quint32 worldId, SIP_PYCALLABLE resultCallback); %MethodCode // Make sure the callable doesn't get garbage collected until it is invoked. Py_INCREF(a2); Py_BEGIN_ALLOW_THREADS sipCpp->runJavaScript(*a0, a1, [a2](const QVariant &arg) { SIP_BLOCK_THREADS PyObject *res; res = sipCallMethod(NULL, a2, "N", new QVariant(arg), sipType_QVariant, NULL); Py_DECREF(a2); if (!res) pyqt5_qtwebenginewidgets_err_print(); else Py_DECREF(res); SIP_UNBLOCK_THREADS }); Py_END_ALLOW_THREADS %End %End void runJavaScript(const QString &scriptSource); void runJavaScript(const QString &scriptSource, SIP_PYCALLABLE resultCallback /TypeHint="Callable[[Any], None]"/); %MethodCode // Make sure the callable doesn't get garbage collected until it is invoked. Py_INCREF(a1); Py_BEGIN_ALLOW_THREADS sipCpp->runJavaScript(*a0, [a1](const QVariant &arg) { SIP_BLOCK_THREADS PyObject *res; res = sipCallMethod(NULL, a1, "N", new QVariant(arg), sipType_QVariant, NULL); Py_DECREF(a1); if (!res) pyqt5_qtwebenginewidgets_err_print(); else Py_DECREF(res); SIP_UNBLOCK_THREADS }); Py_END_ALLOW_THREADS %End QWebEngineSettings *settings() const; signals: void loadStarted(); void loadProgress(int progress); void loadFinished(bool ok); void linkHovered(const QString &url); void selectionChanged(); void geometryChangeRequested(const QRect &geom); void windowCloseRequested(); void featurePermissionRequested(const QUrl &securityOrigin, QWebEnginePage::Feature feature); void featurePermissionRequestCanceled(const QUrl &securityOrigin, QWebEnginePage::Feature feature); void authenticationRequired(const QUrl &requestUrl, QAuthenticator *authenticator); void proxyAuthenticationRequired(const QUrl &requestUrl, QAuthenticator *authenticator, const QString &proxyHost); void titleChanged(const QString &title); void urlChanged(const QUrl &url); void iconUrlChanged(const QUrl &url); protected: virtual QWebEnginePage *createWindow(QWebEnginePage::WebWindowType type); virtual QStringList chooseFiles(QWebEnginePage::FileSelectionMode mode, const QStringList &oldFiles, const QStringList &acceptedMimeTypes); virtual void javaScriptAlert(const QUrl &securityOrigin, const QString &msg); virtual bool javaScriptConfirm(const QUrl &securityOrigin, const QString &msg); virtual bool javaScriptPrompt(const QUrl &securityOrigin, const QString &msg, const QString &defaultValue, QString *result /Out/); virtual void javaScriptConsoleMessage(QWebEnginePage::JavaScriptConsoleMessageLevel level, const QString &message, int lineNumber, const QString &sourceID); virtual bool certificateError(const QWebEngineCertificateError &certificateError /NoCopy/); public: %If (QtWebEngine_5_5_0 -) enum NavigationType { NavigationTypeLinkClicked, NavigationTypeTyped, NavigationTypeFormSubmitted, NavigationTypeBackForward, NavigationTypeReload, %If (QtWebEngine_5_14_0 -) NavigationTypeRedirect, %End NavigationTypeOther, }; %End %If (QtWebEngine_5_5_0 -) QWebEngineProfile *profile() const; %End %If (QtWebEngine_5_5_0 -) QWebEngineScriptCollection &scripts(); %End %If (QtWebEngine_5_5_0 -) %If (PyQt_WebChannel) QWebChannel *webChannel() const; %End %End %If (QtWebEngine_5_5_0 -) %If (PyQt_WebChannel) void setWebChannel(QWebChannel *); %End %End %If (QtWebEngine_5_7_0 -) %If (PyQt_WebChannel) void setWebChannel(QWebChannel *, uint worldId); %End %End protected: %If (QtWebEngine_5_5_0 -) virtual bool acceptNavigationRequest(const QUrl &url, QWebEnginePage::NavigationType type, bool isMainFrame); %End public: %If (QtWebEngine_5_6_0 -) enum RenderProcessTerminationStatus { NormalTerminationStatus, AbnormalTerminationStatus, CrashedTerminationStatus, KilledTerminationStatus, }; %End %If (QtWebEngine_5_6_0 -) QColor backgroundColor() const; %End %If (QtWebEngine_5_6_0 -) void setBackgroundColor(const QColor &color); %End signals: %If (QtWebEngine_5_6_0 -) void fullScreenRequested(QWebEngineFullScreenRequest fullScreenRequest); %End %If (QtWebEngine_5_6_0 -) void renderProcessTerminated(QWebEnginePage::RenderProcessTerminationStatus terminationStatus /ScopesStripped=1/, int exitCode); %End public: %If (QtWebEngine_5_7_0 -) QIcon icon() const; %End %If (QtWebEngine_5_7_0 -) QPointF scrollPosition() const; %End %If (QtWebEngine_5_7_0 -) QSizeF contentsSize() const; %End %If (QtWebEngine_5_7_0 -) bool isAudioMuted() const; %End %If (QtWebEngine_5_7_0 -) void setAudioMuted(bool muted); %End %If (QtWebEngine_5_7_0 -) bool recentlyAudible() const; %End %If (QtWebEngine_5_7_0 -) void printToPdf(const QString &filePath, const QPageLayout &pageLayout = QPageLayout(QPageSize(QPageSize::PageSizeId::A4), QPageLayout::Orientation::Portrait, QMarginsF())); %End %If (QtWebEngine_5_7_0 -) void printToPdf(SIP_PYCALLABLE resultCallback /TypeHint="Callable[[QByteArray], None]"/, const QPageLayout &pageLayout = QPageLayout(QPageSize(QPageSize::PageSizeId::A4), QPageLayout::Orientation::Portrait, QMarginsF())); %MethodCode // Make sure the callable doesn't get garbage collected until it is invoked. Py_INCREF(a0); Py_BEGIN_ALLOW_THREADS sipCpp->printToPdf([a0](const QByteArray &arg) { SIP_BLOCK_THREADS PyObject *res; res = sipCallMethod(NULL, a0, "N", new QByteArray(arg), sipType_QByteArray, NULL); Py_DECREF(a0); if (!res) pyqt5_qtwebenginewidgets_err_print(); else Py_DECREF(res); SIP_UNBLOCK_THREADS }, *a1); Py_END_ALLOW_THREADS %End %End %If (QtWebEngine_5_7_0 -) const QWebEngineContextMenuData &contextMenuData() const; %End signals: %If (QtWebEngine_5_7_0 -) void iconChanged(const QIcon &icon); %End %If (QtWebEngine_5_7_0 -) void scrollPositionChanged(const QPointF &position); %End %If (QtWebEngine_5_7_0 -) void contentsSizeChanged(const QSizeF &size); %End %If (QtWebEngine_5_7_0 -) void audioMutedChanged(bool muted); %End %If (QtWebEngine_5_7_0 -) void recentlyAudibleChanged(bool recentlyAudible); %End %If (QtWebEngine_5_9_0 -) void pdfPrintingFinished(const QString &filePath, bool success); %End public: %If (QtWebEngine_5_8_0 -) void replaceMisspelledWord(const QString &replacement); %End %If (QtWebEngine_5_8_0 -) void save(const QString &filePath, QWebEngineDownloadItem::SavePageFormat format = QWebEngineDownloadItem::MimeHtmlSaveFormat) const /ReleaseGIL/; %End %If (QtWebEngine_5_8_0 -) %If (Py_v3) %If (PyQt_Printer) void print(QPrinter *printer, SIP_PYCALLABLE resultCallback /TypeHint="Callable[[bool], None]"/); %MethodCode // Make sure the callable doesn't get garbage collected until it is invoked. Py_INCREF(a1); Py_BEGIN_ALLOW_THREADS sipCpp->print(a0, [a1](bool arg) { SIP_BLOCK_THREADS PyObject *res; res = sipCallMethod(NULL, a1, "b", arg); Py_DECREF(a1); if (!res) pyqt5_qtwebenginewidgets_err_print(); else Py_DECREF(res); SIP_UNBLOCK_THREADS }); Py_END_ALLOW_THREADS %End %End %End %End %If (QtWebEngine_5_10_0 -) void download(const QUrl &url, const QString &filename = QString()); %End %If (QtWebEngine_5_11_0 -) void setInspectedPage(QWebEnginePage *page); %End %If (QtWebEngine_5_11_0 -) QWebEnginePage *inspectedPage() const; %End %If (QtWebEngine_5_11_0 -) void setDevToolsPage(QWebEnginePage *page); %End %If (QtWebEngine_5_11_0 -) QWebEnginePage *devToolsPage() const; %End signals: %If (QtWebEngine_5_11_0 -) void quotaRequested(QWebEngineQuotaRequest quotaRequest); %End %If (QtWebEngine_5_11_0 -) void registerProtocolHandlerRequested(QWebEngineRegisterProtocolHandlerRequest request); %End %If (QtWebEngine_5_12_0 -) %If (PyQt_SSL) void selectClientCertificate(QWebEngineClientCertificateSelection clientCertSelection); %End %End %If (QtWebEngine_5_12_0 -) void printRequested(); %End public: %If (QtWebEngine_5_13_0 -) void setUrlRequestInterceptor(QWebEngineUrlRequestInterceptor *interceptor); %End %If (QtWebEngine_5_14_0 -) enum class LifecycleState { Active, Frozen, Discarded, }; %End %If (QtWebEngine_5_14_0 -) QWebEnginePage::LifecycleState lifecycleState() const; %End %If (QtWebEngine_5_14_0 -) void setLifecycleState(QWebEnginePage::LifecycleState state); %End %If (QtWebEngine_5_14_0 -) QWebEnginePage::LifecycleState recommendedState() const; %End %If (QtWebEngine_5_14_0 -) bool isVisible() const; %End %If (QtWebEngine_5_14_0 -) void setVisible(bool visible); %End signals: %If (QtWebEngine_5_14_0 -) void visibleChanged(bool visible); %End %If (QtWebEngine_5_14_0 -) void lifecycleStateChanged(QWebEnginePage::LifecycleState state); %End %If (QtWebEngine_5_14_0 -) void recommendedStateChanged(QWebEnginePage::LifecycleState state); %End %If (QtWebEngine_5_14_0 -) void findTextFinished(const QWebEngineFindTextResult &result); %End public: %If (QtWebEngine_5_15_0 -) qint64 renderProcessPid() const; %End signals: %If (QtWebEngine_5_15_0 -) void renderProcessPidChanged(qint64 pid); %End }; %If (QtWebEngine_5_11_0 -) QFlags operator|(QWebEnginePage::FindFlag f1, QFlags f2); %End ././@PaxHeader0000000000000000000000000000003300000000000011451 xustar000000000000000027 mtime=1720864268.076793 PyQtWebEngine-5.15.7/sip/QtWebEngineWidgets/qwebengineprofile.sip0000644000076500000240000001356000000000000025073 0ustar00philstaff00000000000000// qwebengineprofile.sip generated by MetaSIP // // This file is part of the QtWebEngineWidgets Python extension module. // // Copyright (c) 2024 Riverbank Computing Limited // // This file is part of PyQtWebEngine. // // This file may be used under the terms of the GNU General Public License // version 3.0 as published by the Free Software Foundation and appearing in // the file LICENSE included in the packaging of this file. Please review the // following information to ensure the GNU General Public License version 3.0 // requirements will be met: http://www.gnu.org/copyleft/gpl.html. // // If you do not wish to use this file under the terms of the GPL version 3.0 // then you may purchase a commercial license. For more information contact // info@riverbankcomputing.com. // // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. %If (QtWebEngine_5_5_0 -) class QWebEngineProfile : public QObject { %TypeHeaderCode #include %End %TypeCode #if QT_VERSION >= 0x050d00 // For QWebEngineProfile.setNotificationPresenter(). #include #endif %End public: explicit QWebEngineProfile(QObject *parent /TransferThis/ = 0); QWebEngineProfile(const QString &name, QObject *parent /TransferThis/ = 0); virtual ~QWebEngineProfile(); enum HttpCacheType { MemoryHttpCache, DiskHttpCache, %If (QtWebEngine_5_7_0 -) NoCache, %End }; enum PersistentCookiesPolicy { NoPersistentCookies, AllowPersistentCookies, ForcePersistentCookies, }; QString storageName() const; bool isOffTheRecord() const; QString persistentStoragePath() const; void setPersistentStoragePath(const QString &path); QString cachePath() const; void setCachePath(const QString &path); QString httpUserAgent() const; void setHttpUserAgent(const QString &userAgent); QWebEngineProfile::HttpCacheType httpCacheType() const; void setHttpCacheType(QWebEngineProfile::HttpCacheType); QWebEngineProfile::PersistentCookiesPolicy persistentCookiesPolicy() const; void setPersistentCookiesPolicy(QWebEngineProfile::PersistentCookiesPolicy); int httpCacheMaximumSize() const; void setHttpCacheMaximumSize(int maxSize); void clearAllVisitedLinks(); void clearVisitedLinks(const QList &urls); bool visitedLinksContainsUrl(const QUrl &url) const; QWebEngineSettings *settings() const; QWebEngineScriptCollection *scripts() const; static QWebEngineProfile *defaultProfile() /Transfer/; signals: void downloadRequested(QWebEngineDownloadItem *download); public: %If (QtWebEngine_5_6_0 -) void setHttpAcceptLanguage(const QString &httpAcceptLanguage); %End %If (QtWebEngine_5_6_0 -) QString httpAcceptLanguage() const; %End %If (QtWebEngine_5_6_0 -) QWebEngineCookieStore *cookieStore() /Transfer/; %End %If (QtWebEngine_5_13_0 -) void setUrlRequestInterceptor(QWebEngineUrlRequestInterceptor *interceptor); %End %If (QtWebEngine_5_6_0 -) void setRequestInterceptor(QWebEngineUrlRequestInterceptor *interceptor); %End %If (QtWebEngine_5_6_0 -) const QWebEngineUrlSchemeHandler *urlSchemeHandler(const QByteArray &) const; %End %If (QtWebEngine_5_6_0 -) void installUrlSchemeHandler(const QByteArray &scheme, QWebEngineUrlSchemeHandler *); %End %If (QtWebEngine_5_6_0 -) void removeUrlScheme(const QByteArray &scheme); %End %If (QtWebEngine_5_6_0 -) void removeUrlSchemeHandler(QWebEngineUrlSchemeHandler *); %End %If (QtWebEngine_5_6_0 -) void removeAllUrlSchemeHandlers(); %End %If (QtWebEngine_5_7_0 -) void clearHttpCache(); %End %If (QtWebEngine_5_8_0 -) void setSpellCheckLanguages(const QStringList &languages); %End %If (QtWebEngine_5_8_0 -) QStringList spellCheckLanguages() const; %End %If (QtWebEngine_5_8_0 -) void setSpellCheckEnabled(bool enabled); %End %If (QtWebEngine_5_8_0 -) bool isSpellCheckEnabled() const; %End private: %If (QtWebEngine_5_6_0 -) QWebEngineProfile(const QWebEngineProfile &); %End public: %If (QtWebEngine_5_13_0 -) void setUseForGlobalCertificateVerification(bool enabled = true); %End %If (QtWebEngine_5_13_0 -) bool isUsedForGlobalCertificateVerification() const; %End %If (QtWebEngine_5_13_0 -) QString downloadPath() const; %End %If (QtWebEngine_5_13_0 -) void setDownloadPath(const QString &path); %End %If (QtWebEngine_5_13_0 -) void setNotificationPresenter(SIP_PYCALLABLE /AllowNone, KeepReference, TypeHint="Callable[[QWebEngineNotification], None]"/); %MethodCode Py_BEGIN_ALLOW_THREADS sipCpp->setNotificationPresenter([a0](std::unique_ptr arg) { if (a0) { SIP_BLOCK_THREADS // We have to find the generated type structure because a name isn't // automatically generated as it isn't used anywhere else in the // module. PyObject *arg_obj = sipConvertFromNewType(arg.release(), sipFindType("QWebEngineNotification"), NULL); if (arg_obj) { PyObject *res = PyObject_CallFunctionObjArgs(a0, arg_obj, NULL); Py_DECREF(arg_obj); if (!res) pyqt5_qtwebenginewidgets_err_print(); else Py_DECREF(res); } else { pyqt5_qtwebenginewidgets_err_print(); } SIP_UNBLOCK_THREADS } }); Py_END_ALLOW_THREADS %End %End %If (QtWebEngine_5_13_0 -) %If (PyQt_SSL) QWebEngineClientCertificateStore *clientCertificateStore(); %End %End }; %End ././@PaxHeader0000000000000000000000000000003400000000000011452 xustar000000000000000028 mtime=1720864268.0775707 PyQtWebEngine-5.15.7/sip/QtWebEngineWidgets/qwebenginescript.sip0000644000076500000240000000370300000000000024735 0ustar00philstaff00000000000000// qwebenginescript.sip generated by MetaSIP // // This file is part of the QtWebEngineWidgets Python extension module. // // Copyright (c) 2024 Riverbank Computing Limited // // This file is part of PyQtWebEngine. // // This file may be used under the terms of the GNU General Public License // version 3.0 as published by the Free Software Foundation and appearing in // the file LICENSE included in the packaging of this file. Please review the // following information to ensure the GNU General Public License version 3.0 // requirements will be met: http://www.gnu.org/copyleft/gpl.html. // // If you do not wish to use this file under the terms of the GPL version 3.0 // then you may purchase a commercial license. For more information contact // info@riverbankcomputing.com. // // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. %If (QtWebEngine_5_5_0 -) class QWebEngineScript { %TypeHeaderCode #include %End public: enum InjectionPoint { Deferred, DocumentReady, DocumentCreation, }; enum ScriptWorldId { MainWorld, ApplicationWorld, UserWorld, }; QWebEngineScript(); QWebEngineScript(const QWebEngineScript &other); ~QWebEngineScript(); bool isNull() const; QString name() const; void setName(const QString &); QString sourceCode() const; void setSourceCode(const QString &); QWebEngineScript::InjectionPoint injectionPoint() const; void setInjectionPoint(QWebEngineScript::InjectionPoint); quint32 worldId() const; void setWorldId(quint32); bool runsOnSubFrames() const; void setRunsOnSubFrames(bool on); bool operator==(const QWebEngineScript &other) const; bool operator!=(const QWebEngineScript &other) const; void swap(QWebEngineScript &other /Constrained/); }; %End ././@PaxHeader0000000000000000000000000000003400000000000011452 xustar000000000000000028 mtime=1720864268.0791025 PyQtWebEngine-5.15.7/sip/QtWebEngineWidgets/qwebenginescriptcollection.sip0000644000076500000240000000322400000000000027007 0ustar00philstaff00000000000000// qwebenginescriptcollection.sip generated by MetaSIP // // This file is part of the QtWebEngineWidgets Python extension module. // // Copyright (c) 2024 Riverbank Computing Limited // // This file is part of PyQtWebEngine. // // This file may be used under the terms of the GNU General Public License // version 3.0 as published by the Free Software Foundation and appearing in // the file LICENSE included in the packaging of this file. Please review the // following information to ensure the GNU General Public License version 3.0 // requirements will be met: http://www.gnu.org/copyleft/gpl.html. // // If you do not wish to use this file under the terms of the GPL version 3.0 // then you may purchase a commercial license. For more information contact // info@riverbankcomputing.com. // // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. %If (QtWebEngine_5_5_0 -) class QWebEngineScriptCollection { %TypeHeaderCode #include %End public: ~QWebEngineScriptCollection(); bool isEmpty() const; int count() const /__len__/; bool contains(const QWebEngineScript &value) const; QWebEngineScript findScript(const QString &name) const; QList findScripts(const QString &name) const; void insert(const QWebEngineScript &); void insert(const QList &list); bool remove(const QWebEngineScript &); void clear(); QList toList() const; private: QWebEngineScriptCollection(const QWebEngineScriptCollection &); }; %End ././@PaxHeader0000000000000000000000000000003400000000000011452 xustar000000000000000028 mtime=1720864268.0835621 PyQtWebEngine-5.15.7/sip/QtWebEngineWidgets/qwebenginesettings.sip0000644000076500000240000001054000000000000025266 0ustar00philstaff00000000000000// qwebenginesettings.sip generated by MetaSIP // // This file is part of the QtWebEngineWidgets Python extension module. // // Copyright (c) 2024 Riverbank Computing Limited // // This file is part of PyQtWebEngine. // // This file may be used under the terms of the GNU General Public License // version 3.0 as published by the Free Software Foundation and appearing in // the file LICENSE included in the packaging of this file. Please review the // following information to ensure the GNU General Public License version 3.0 // requirements will be met: http://www.gnu.org/copyleft/gpl.html. // // If you do not wish to use this file under the terms of the GPL version 3.0 // then you may purchase a commercial license. For more information contact // info@riverbankcomputing.com. // // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. class QWebEngineSettings { %TypeHeaderCode #include %End public: enum FontFamily { StandardFont, FixedFont, SerifFont, SansSerifFont, CursiveFont, FantasyFont, %If (QtWebEngine_5_7_0 -) PictographFont, %End }; enum WebAttribute { AutoLoadImages, JavascriptEnabled, JavascriptCanOpenWindows, JavascriptCanAccessClipboard, LinksIncludedInFocusChain, LocalStorageEnabled, LocalContentCanAccessRemoteUrls, XSSAuditingEnabled, SpatialNavigationEnabled, LocalContentCanAccessFileUrls, HyperlinkAuditingEnabled, ScrollAnimatorEnabled, ErrorPageEnabled, %If (QtWebEngine_5_6_0 -) PluginsEnabled, %End %If (QtWebEngine_5_6_0 -) FullScreenSupportEnabled, %End %If (QtWebEngine_5_7_0 -) ScreenCaptureEnabled, %End %If (QtWebEngine_5_7_0 -) WebGLEnabled, %End %If (QtWebEngine_5_7_0 -) Accelerated2dCanvasEnabled, %End %If (QtWebEngine_5_7_0 -) AutoLoadIconsForPage, %End %If (QtWebEngine_5_7_0 -) TouchIconsEnabled, %End %If (QtWebEngine_5_8_0 -) FocusOnNavigationEnabled, %End %If (QtWebEngine_5_8_0 -) PrintElementBackgrounds, %End %If (QtWebEngine_5_8_0 -) AllowRunningInsecureContent, %End %If (QtWebEngine_5_9_0 -) AllowGeolocationOnInsecureOrigins, %End %If (QtWebEngine_5_10_0 -) AllowWindowActivationFromJavaScript, %End %If (QtWebEngine_5_10_0 -) ShowScrollBars, %End %If (QtWebEngine_5_11_0 -) PlaybackRequiresUserGesture, %End %If (QtWebEngine_5_11_0 -) WebRTCPublicInterfacesOnly, %End %If (QtWebEngine_5_11_0 -) JavascriptCanPaste, %End %If (QtWebEngine_5_12_0 -) DnsPrefetchEnabled, %End %If (QtWebEngine_5_13_0 -) PdfViewerEnabled, %End }; enum FontSize { MinimumFontSize, MinimumLogicalFontSize, DefaultFontSize, DefaultFixedFontSize, }; %If (QtWebEngine_5_5_0 -) static QWebEngineSettings *defaultSettings(); %End static QWebEngineSettings *globalSettings(); void setFontFamily(QWebEngineSettings::FontFamily which, const QString &family); QString fontFamily(QWebEngineSettings::FontFamily which) const; void resetFontFamily(QWebEngineSettings::FontFamily which); void setFontSize(QWebEngineSettings::FontSize type, int size); int fontSize(QWebEngineSettings::FontSize type) const; void resetFontSize(QWebEngineSettings::FontSize type); void setAttribute(QWebEngineSettings::WebAttribute attr, bool on); bool testAttribute(QWebEngineSettings::WebAttribute attr) const; void resetAttribute(QWebEngineSettings::WebAttribute attr); void setDefaultTextEncoding(const QString &encoding); QString defaultTextEncoding() const; %If (QtWebEngine_5_11_0 -) enum UnknownUrlSchemePolicy { DisallowUnknownUrlSchemes, AllowUnknownUrlSchemesFromUserInteraction, AllowAllUnknownUrlSchemes, }; %End %If (QtWebEngine_5_11_0 -) QWebEngineSettings::UnknownUrlSchemePolicy unknownUrlSchemePolicy() const; %End %If (QtWebEngine_5_11_0 -) void setUnknownUrlSchemePolicy(QWebEngineSettings::UnknownUrlSchemePolicy policy); %End %If (QtWebEngine_5_11_0 -) void resetUnknownUrlSchemePolicy(); %End private: QWebEngineSettings(const QWebEngineSettings &); ~QWebEngineSettings(); }; ././@PaxHeader0000000000000000000000000000003400000000000011452 xustar000000000000000028 mtime=1720864268.0798664 PyQtWebEngine-5.15.7/sip/QtWebEngineWidgets/qwebengineview.sip0000644000076500000240000001474300000000000024411 0ustar00philstaff00000000000000// qwebengineview.sip generated by MetaSIP // // This file is part of the QtWebEngineWidgets Python extension module. // // Copyright (c) 2024 Riverbank Computing Limited // // This file is part of PyQtWebEngine. // // This file may be used under the terms of the GNU General Public License // version 3.0 as published by the Free Software Foundation and appearing in // the file LICENSE included in the packaging of this file. Please review the // following information to ensure the GNU General Public License version 3.0 // requirements will be met: http://www.gnu.org/copyleft/gpl.html. // // If you do not wish to use this file under the terms of the GPL version 3.0 // then you may purchase a commercial license. For more information contact // info@riverbankcomputing.com. // // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. class QWebEngineView : public QWidget { %TypeHeaderCode #include %End %ConvertToSubClassCode static struct class_graph { const char *name; sipTypeDef **type; int yes, no; } graph[] = { #if QT_VERSION >= 0x050500 {sipName_QWebEngineProfile, &sipType_QWebEngineProfile, -1, 1}, #else {0, 0, -1, 1}, #endif {sipName_QWebEnginePage, &sipType_QWebEnginePage, -1, 2}, {sipName_QWebEngineView, &sipType_QWebEngineView, -1, 3}, #if QT_VERSION >= 0x050500 {sipName_QWebEngineDownloadItem, &sipType_QWebEngineDownloadItem, -1, -1}, #else {0, 0, -1, -1}, #endif }; int i = 0; sipType = NULL; do { struct class_graph *cg = &graph[i]; if (cg->name != NULL && sipCpp->inherits(cg->name)) { sipType = *cg->type; i = cg->yes; } else i = cg->no; } while (i >= 0); %End public: explicit QWebEngineView(QWidget *parent /TransferThis/ = 0); virtual ~QWebEngineView(); QWebEnginePage *page() const; void setPage(QWebEnginePage *page); void load(const QUrl &url); %If (QtWebEngine_5_9_0 -) void load(const QWebEngineHttpRequest &request); %End void setHtml(const QString &html, const QUrl &baseUrl = QUrl()); void setContent(const QByteArray &data, const QString &mimeType = QString(), const QUrl &baseUrl = QUrl()); QWebEngineHistory *history() const; QString title() const; void setUrl(const QUrl &url); QUrl url() const; QUrl iconUrl() const; bool hasSelection() const; QString selectedText() const; QAction *pageAction(QWebEnginePage::WebAction action) const; void triggerPageAction(QWebEnginePage::WebAction action, bool checked = false); qreal zoomFactor() const; void setZoomFactor(qreal factor); void findText(const QString &subString, QWebEnginePage::FindFlags options = QWebEnginePage::FindFlags(), SIP_PYCALLABLE resultCallback /AllowNone,TypeHint="Callable[[bool], None]"/ = 0); %MethodCode // Make sure any callable doesn't get garbage collected until it is invoked. Py_XINCREF(a2); Py_BEGIN_ALLOW_THREADS sipCpp->findText(*a0, *a1, [a2](bool arg) { if (a2) { SIP_BLOCK_THREADS PyObject *res; res = PyObject_CallFunctionObjArgs(a2, (arg ? Py_True : Py_False), NULL); Py_DECREF(a2); if (!res) pyqt5_qtwebenginewidgets_err_print(); else Py_DECREF(res); SIP_UNBLOCK_THREADS } }); Py_END_ALLOW_THREADS %End virtual QSize sizeHint() const; QWebEngineSettings *settings() const; public slots: void stop(); void back(); void forward(); void reload(); signals: void loadStarted(); void loadProgress(int progress); void loadFinished(bool); void titleChanged(const QString &title); void selectionChanged(); void urlChanged(const QUrl &); void iconUrlChanged(const QUrl &); %If (QtWebEngine_5_6_0 -) void renderProcessTerminated(QWebEnginePage::RenderProcessTerminationStatus terminationStatus, int exitCode); %End protected: virtual QWebEngineView *createWindow(QWebEnginePage::WebWindowType type); virtual void contextMenuEvent(QContextMenuEvent *); virtual bool event(QEvent *); %If (QtWebEngine_5_6_0 -) virtual void showEvent(QShowEvent *); %End %If (QtWebEngine_5_6_0 -) virtual void hideEvent(QHideEvent *); %End public: %If (QtWebEngine_5_7_0 -) QIcon icon() const; %End signals: %If (QtWebEngine_5_7_0 -) void iconChanged(const QIcon &); %End protected: %If (QtWebEngine_5_7_0 -) virtual void dragEnterEvent(QDragEnterEvent *e); %End %If (QtWebEngine_5_7_0 -) virtual void dragLeaveEvent(QDragLeaveEvent *e); %End %If (QtWebEngine_5_7_0 -) virtual void dragMoveEvent(QDragMoveEvent *e); %End %If (QtWebEngine_5_7_0 -) virtual void dropEvent(QDropEvent *e); %End %If (QtWebEngine_5_14_0 -) virtual void closeEvent(QCloseEvent *); %End }; %ModuleHeaderCode // Imports from QtCore. typedef void (*pyqt5_qtwebenginewidgets_err_print_t)(); extern pyqt5_qtwebenginewidgets_err_print_t pyqt5_qtwebenginewidgets_err_print; %End %ModuleCode // Imports from QtCore. pyqt5_qtwebenginewidgets_err_print_t pyqt5_qtwebenginewidgets_err_print; // Needed by the %PreInitialisationCode. #include %End %PreInitialisationCode // QtWebEngineWidgets uses Q_COREAPP_STARTUP_FUNCTION so, in order to make sure // things work (particularly on Windows) when we dynamically load the code, we // check things have been done in the right order. if (QCoreApplication::instance()) { #if QT_VERSION >= 0x050400 if (!QCoreApplication::testAttribute(Qt::AA_ShareOpenGLContexts)) { PyErr_SetString(PyExc_ImportError, "QtWebEngineWidgets must be imported or Qt.AA_ShareOpenGLContexts must be set before a QCoreApplication instance is created"); SIP_MODULE_RETURN(NULL); } #else PyErr_SetString(PyExc_ImportError, "QtWebEngineWidgets must be imported before a QCoreApplication instance is created"); SIP_MODULE_RETURN(NULL); #endif } %End %PostInitialisationCode // Imports from QtCore. pyqt5_qtwebenginewidgets_err_print = (pyqt5_qtwebenginewidgets_err_print_t)sipImportSymbol("pyqt5_err_print"); Q_ASSERT(pyqt5_qtwebenginewidgets_err_print); %End