320 |
320 |
321 def __about(self): |
321 def __about(self): |
322 """ |
322 """ |
323 Private slot to show the about information. |
323 Private slot to show the about information. |
324 """ |
324 """ |
325 QMessageBox.about(self, self.trUtf8("TR Previewer"), self.trUtf8( |
325 E5MessageBox.about(self, self.trUtf8("TR Previewer"), self.trUtf8( |
326 """<h3> About TR Previewer </h3>""" |
326 """<h3> About TR Previewer </h3>""" |
327 """<p>The TR Previewer loads and displays Qt User-Interface files""" |
327 """<p>The TR Previewer loads and displays Qt User-Interface files""" |
328 """ and translation files and shows dialogs for a selected language.</p>""" |
328 """ and translation files and shows dialogs for a selected language.</p>""" |
329 )) |
329 )) |
330 |
330 |
331 def __aboutQt(self): |
331 def __aboutQt(self): |
332 """ |
332 """ |
333 Private slot to show info about Qt. |
333 Private slot to show info about Qt. |
334 """ |
334 """ |
335 QMessageBox.aboutQt(self, self.trUtf8("TR Previewer")) |
335 E5MessageBox.aboutQt(self, self.trUtf8("TR Previewer")) |
336 |
336 |
337 def __openWidget(self): |
337 def __openWidget(self): |
338 """ |
338 """ |
339 Private slot to handle the Open Dialog action. |
339 Private slot to handle the Open Dialog action. |
340 """ |
340 """ |