mirror of
https://github.com/qgis/QGIS.git
synced 2025-12-15 00:07:25 -05:00
Add QtWebEngine re-exports to qgis.PyQt
This commit is contained in:
parent
cb59f7a2f9
commit
534926b46a
@ -10,6 +10,9 @@ set(PYQT_COMPAT_FILES
|
||||
QtPrintSupport.py
|
||||
QtWebKit.py
|
||||
QtWebKitWidgets.py
|
||||
QtWebEngineCore.py
|
||||
QtWebEngineQuick.py
|
||||
QtWebEngineWidgets.py
|
||||
QtNetwork.py
|
||||
QtXml.py
|
||||
QtSql.py
|
||||
|
||||
20
python/PyQt/PyQt/QtWebEngineCore.py.in
Normal file
20
python/PyQt/PyQt/QtWebEngineCore.py.in
Normal file
@ -0,0 +1,20 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
"""
|
||||
***************************************************************************
|
||||
QtWebEngineCore.py
|
||||
---------------------
|
||||
Date : April 2024
|
||||
Copyright : (C) 2024 David Koňařík
|
||||
Email : dvdkon at konarici dot cz
|
||||
***************************************************************************
|
||||
* *
|
||||
* 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 2 of the License, or *
|
||||
* (at your option) any later version. *
|
||||
* *
|
||||
***************************************************************************
|
||||
"""
|
||||
|
||||
from PyQt@QT_VERSION_MAJOR@.QtWebEngineCore import *
|
||||
23
python/PyQt/PyQt/QtWebEngineQuick.py.in
Normal file
23
python/PyQt/PyQt/QtWebEngineQuick.py.in
Normal file
@ -0,0 +1,23 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
"""
|
||||
***************************************************************************
|
||||
QtWebEngineQuick.py
|
||||
---------------------
|
||||
Date : April 2024
|
||||
Copyright : (C) 2024 David Koňařík
|
||||
Email : dvdkon at konarici dot cz
|
||||
***************************************************************************
|
||||
* *
|
||||
* 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 2 of the License, or *
|
||||
* (at your option) any later version. *
|
||||
* *
|
||||
***************************************************************************
|
||||
"""
|
||||
|
||||
if @QT_VERSION_MAJOR@ == 5:
|
||||
from PyQt5.QtWebEngine import *
|
||||
else:
|
||||
from PyQt@QT_VERSION_MAJOR@.QtWebEngineQuick import *
|
||||
20
python/PyQt/PyQt/QtWebEngineWidgets.py.in
Normal file
20
python/PyQt/PyQt/QtWebEngineWidgets.py.in
Normal file
@ -0,0 +1,20 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
"""
|
||||
***************************************************************************
|
||||
QtWebEngineWidgets.py
|
||||
---------------------
|
||||
Date : April 2024
|
||||
Copyright : (C) 2024 David Koňařík
|
||||
Email : dvdkon at konarici dot cz
|
||||
***************************************************************************
|
||||
* *
|
||||
* 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 2 of the License, or *
|
||||
* (at your option) any later version. *
|
||||
* *
|
||||
***************************************************************************
|
||||
"""
|
||||
|
||||
from PyQt@QT_VERSION_MAJOR@.QtWebEngineWidgets import *
|
||||
Loading…
x
Reference in New Issue
Block a user