1968 |
1968 |
1969 def __about(self): |
1969 def __about(self): |
1970 """ |
1970 """ |
1971 Private slot to show the about information. |
1971 Private slot to show the about information. |
1972 """ |
1972 """ |
1973 E5MessageBox.about(self, self.trUtf8("eric5 Web Browser"), self.trUtf8( |
1973 E5MessageBox.about( |
1974 """<b>eric5 Web Browser - {0}</b>""" |
1974 self, |
1975 """<p>The eric5 Web Browser is a combined help file and HTML""" |
1975 self.trUtf8("eric5 Web Browser"), |
1976 """ browser. It is part of the eric5 development toolset.</p>""" |
1976 self.trUtf8( |
1977 ).format(Version)) |
1977 """<b>eric5 Web Browser - {0}</b>""" |
|
1978 """<p>The eric5 Web Browser is a combined help file and HTML""" |
|
1979 """ browser. It is part of the eric5 development""" |
|
1980 """ toolset.</p>""" |
|
1981 ).format(Version)) |
1978 |
1982 |
1979 def __aboutQt(self): |
1983 def __aboutQt(self): |
1980 """ |
1984 """ |
1981 Private slot to show info about Qt. |
1985 Private slot to show info about Qt. |
1982 """ |
1986 """ |
2765 """ |
2769 """ |
2766 Private slot to show installation errors. |
2770 Private slot to show installation errors. |
2767 |
2771 |
2768 @param message message to be shown (string) |
2772 @param message message to be shown (string) |
2769 """ |
2773 """ |
2770 E5MessageBox.warning(self, |
2774 E5MessageBox.warning( |
|
2775 self, |
2771 self.trUtf8("eric5 Web Browser"), |
2776 self.trUtf8("eric5 Web Browser"), |
2772 message) |
2777 message) |
2773 |
2778 |
2774 def __docsInstalled(self, installed): |
2779 def __docsInstalled(self, installed): |
2775 """ |
2780 """ |
2808 """ |
2813 """ |
2809 Private slot handling warnings from the help engine. |
2814 Private slot handling warnings from the help engine. |
2810 |
2815 |
2811 @param msg message sent by the help engine (string) |
2816 @param msg message sent by the help engine (string) |
2812 """ |
2817 """ |
2813 E5MessageBox.warning(self, |
2818 E5MessageBox.warning( |
|
2819 self, |
2814 self.trUtf8("Help Engine"), msg) |
2820 self.trUtf8("Help Engine"), msg) |
2815 |
2821 |
2816 def __aboutToShowSettingsMenu(self): |
2822 def __aboutToShowSettingsMenu(self): |
2817 """ |
2823 """ |
2818 Private slot to show the Settings menu. |
2824 Private slot to show the Settings menu. |
3522 """ |
3528 """ |
3523 Private slot to handle an URL scan submission error. |
3529 Private slot to handle an URL scan submission error. |
3524 |
3530 |
3525 @param msg error message (str) |
3531 @param msg error message (str) |
3526 """ |
3532 """ |
3527 E5MessageBox.critical(self, |
3533 E5MessageBox.critical( |
|
3534 self, |
3528 self.trUtf8("VirusTotal Scan"), |
3535 self.trUtf8("VirusTotal Scan"), |
3529 self.trUtf8("""<p>The VirusTotal scan could not be""" |
3536 self.trUtf8("""<p>The VirusTotal scan could not be""" |
3530 """ scheduled.<p>\n<p>Reason: {0}</p>""").format(msg)) |
3537 """ scheduled.<p>\n<p>Reason: {0}</p>""").format(msg)) |
3531 |
3538 |
3532 def __virusTotalUrlScanReport(self, url): |
3539 def __virusTotalUrlScanReport(self, url): |