eric7/WebBrowser/SafeBrowsing/SafeBrowsingDialog.py

branch
eric7
changeset 8358
144a6b854f70
parent 8356
68ec9c3d4de5
child 8881
54e42bc2437a
equal deleted inserted replaced
8357:a081458cc57b 8358:144a6b854f70
10 from PyQt6.QtCore import pyqtSlot, Qt, QUrl, QDateTime 10 from PyQt6.QtCore import pyqtSlot, Qt, QUrl, QDateTime
11 from PyQt6.QtWidgets import ( 11 from PyQt6.QtWidgets import (
12 QDialog, QDialogButtonBox, QAbstractButton 12 QDialog, QDialogButtonBox, QAbstractButton
13 ) 13 )
14 14
15 from E5Gui import EricMessageBox 15 from EricWidgets import EricMessageBox
16 from E5Gui.EricOverrideCursor import EricOverrideCursor 16 from EricGui.EricOverrideCursor import EricOverrideCursor
17 17
18 from .Ui_SafeBrowsingDialog import Ui_SafeBrowsingDialog 18 from .Ui_SafeBrowsingDialog import Ui_SafeBrowsingDialog
19 19
20 import UI.PixmapCache 20 import UI.PixmapCache
21 import Preferences 21 import Preferences
80 """ 80 """
81 Private slot to show some help text "How to create a safe 81 Private slot to show some help text "How to create a safe
82 browsing API key.". 82 browsing API key.".
83 """ 83 """
84 if self.__gsbHelpDialog is None: 84 if self.__gsbHelpDialog is None:
85 from E5Gui.EricSimpleHelpDialog import EricSimpleHelpDialog 85 from EricWidgets.EricSimpleHelpDialog import EricSimpleHelpDialog
86 from . import SafeBrowsingHelp 86 from . import SafeBrowsingHelp
87 87
88 helpStr = SafeBrowsingHelp() 88 helpStr = SafeBrowsingHelp()
89 self.__gsbHelpDialog = EricSimpleHelpDialog( 89 self.__gsbHelpDialog = EricSimpleHelpDialog(
90 title=self.tr("Google Safe Browsing API Help"), 90 title=self.tr("Google Safe Browsing API Help"),

eric ide

mercurial