511 self.exitAct = E5Action(self.trUtf8('Quit'), |
511 self.exitAct = E5Action(self.trUtf8('Quit'), |
512 UI.PixmapCache.getIcon("exit.png"), |
512 UI.PixmapCache.getIcon("exit.png"), |
513 self.trUtf8('&Quit'), |
513 self.trUtf8('&Quit'), |
514 QKeySequence(self.trUtf8("Ctrl+Q", "File|Quit")), |
514 QKeySequence(self.trUtf8("Ctrl+Q", "File|Quit")), |
515 0, self, 'help_file_quit') |
515 0, self, 'help_file_quit') |
516 self.exitAct.setStatusTip(self.trUtf8('Quit the web browser')) |
516 self.exitAct.setStatusTip(self.trUtf8('Quit the eric5 Web Browser')) |
517 self.exitAct.setWhatsThis(self.trUtf8( |
517 self.exitAct.setWhatsThis(self.trUtf8( |
518 """<b>Quit</b>""" |
518 """<b>Quit</b>""" |
519 """<p>Quit the web browser.</p>""" |
519 """<p>Quit the eric5 Web Browser.</p>""" |
520 )) |
520 )) |
521 if not self.initShortcutsOnly: |
521 if not self.initShortcutsOnly: |
522 if self.fromEric: |
522 if self.fromEric: |
523 self.exitAct.triggered[()].connect(self.close) |
523 self.exitAct.triggered[()].connect(self.close) |
524 else: |
524 else: |
1614 |
1614 |
1615 def __about(self): |
1615 def __about(self): |
1616 """ |
1616 """ |
1617 Private slot to show the about information. |
1617 Private slot to show the about information. |
1618 """ |
1618 """ |
1619 E5MessageBox.about(self, self.trUtf8("Eric Web Browser"), self.trUtf8( |
1619 E5MessageBox.about(self, self.trUtf8("eric5 Web Browser"), self.trUtf8( |
1620 """<h3>About Eric Web Browser</h3>""" |
1620 """<h3>About eric5 Web Browser</h3>""" |
1621 """<p>The Eric Web Browser is a combined help file and HTML browser.</p>""" |
1621 """<p>The eric5 Web Browser is a combined help file and HTML browser.</p>""" |
1622 )) |
1622 )) |
1623 |
1623 |
1624 def __aboutQt(self): |
1624 def __aboutQt(self): |
1625 """ |
1625 """ |
1626 Private slot to show info about Qt. |
1626 Private slot to show info about Qt. |
1627 """ |
1627 """ |
1628 E5MessageBox.aboutQt(self, self.trUtf8("Eric Web Browser")) |
1628 E5MessageBox.aboutQt(self, self.trUtf8("eric5 Web Browser")) |
1629 |
1629 |
1630 def setBackwardAvailable(self, b): |
1630 def setBackwardAvailable(self, b): |
1631 """ |
1631 """ |
1632 Public slot called when backward references are available. |
1632 Public slot called when backward references are available. |
1633 |
1633 |