Template
forked from CEN-RA/Plugin_QGIS
Plugin PyQt5 and PyQt6 compatible & CenRa_Copie bug fix
This commit is contained in:
@@ -32,7 +32,10 @@ from .tools.resources import (
|
||||
from .canvas_editor import PageRender_Editor
|
||||
from .about_form import AboutDialog
|
||||
|
||||
from PyQt5.QtCore import *
|
||||
try:
|
||||
from PyQt5.QtCore import *
|
||||
except:
|
||||
from PyQt6.QtCore import *
|
||||
|
||||
class PgPageRender:
|
||||
def __init__(self):
|
||||
@@ -115,7 +118,7 @@ class PgPageRender:
|
||||
About dialog
|
||||
"""
|
||||
dialog = AboutDialog(iface)
|
||||
dialog.exec_()
|
||||
dialog.exec()
|
||||
def open_help():
|
||||
""" Open the online help. """
|
||||
QDesktopServices.openUrl(QUrl('https://plateformesig.cenra-outils.org/'))
|
||||
|
||||
Reference in New Issue
Block a user