17 from PyQt6.QtWidgets import ( |
17 from PyQt6.QtWidgets import ( |
18 QHeaderView, QLineEdit, QDialog, QInputDialog, QDialogButtonBox, |
18 QHeaderView, QLineEdit, QDialog, QInputDialog, QDialogButtonBox, |
19 QTreeWidgetItem |
19 QTreeWidgetItem |
20 ) |
20 ) |
21 |
21 |
22 from E5Gui import EricMessageBox, EricFileDialog |
22 from EricWidgets import EricMessageBox, EricFileDialog |
23 from E5Gui.EricOverrideCursor import EricOverrideCursor |
23 from EricGui.EricOverrideCursor import EricOverrideCursor |
24 |
24 |
25 from .Ui_EmailDialog import Ui_EmailDialog |
25 from .Ui_EmailDialog import Ui_EmailDialog |
26 |
26 |
27 from .Info import BugAddress, FeatureAddress |
27 from .Info import BugAddress, FeatureAddress |
28 import Preferences |
28 import Preferences |
153 helpStr = self.tr( |
153 helpStr = self.tr( |
154 "<p>The Google Mail Client API is not installed." |
154 "<p>The Google Mail Client API is not installed." |
155 " Use <code>{0}</code> to install it.</p>" |
155 " Use <code>{0}</code> to install it.</p>" |
156 ).format(getInstallCommand()) |
156 ).format(getInstallCommand()) |
157 |
157 |
158 from E5Gui.EricSimpleHelpDialog import EricSimpleHelpDialog |
158 from EricWidgets.EricSimpleHelpDialog import EricSimpleHelpDialog |
159 self.__helpDialog = EricSimpleHelpDialog( |
159 self.__helpDialog = EricSimpleHelpDialog( |
160 title=self.tr("Gmail API Help"), |
160 title=self.tr("Gmail API Help"), |
161 helpStr=helpStr, parent=self) |
161 helpStr=helpStr, parent=self) |
162 |
162 |
163 self.__helpDialog.show() |
163 self.__helpDialog.show() |