Esempio n. 1
0
 def helpViewBasic(self):
     """Display basic usage instructions.
     """
     if not self.basicHelpView:
         path = self.findResourceFile('basichelp.html', 'doc', docPath)
         if not path:
             QMessageBox.warning(QApplication.activeWindow(), 'TreeLine',
                                 _('Error - basic help file not found'))
             return
         self.basicHelpView = helpview.HelpView(path,
                                                _('TreeLine Basic Usage'),
                                                globalref.toolIcons)
     self.basicHelpView.show()
Esempio n. 2
0
 def help(self):
     """View the ReadMe file.
     """
     if not self.helpView:
         path = self.findHelpFile()
         if not path:
             QMessageBox.warning(self, 'ConvertAll',
                                 _('Read Me file not found'))
             return
         self.helpView = helpview.HelpView(path,
                                           _('ConvertAll README File'),
                                           self.icons)
     self.helpView.show()
Esempio n. 3
0
 def help(self):
     """View the ReadMe file.
     """
     if self.optDlg:
         self.optDlg.reject()  # unfortunately necessary?
     if not self.helpView:
         path = self.findHelpFile()
         if not path:
             QMessageBox.warning(self, 'rpCalc', 'Read Me file not found')
             return
         self.helpView = helpview.HelpView(path, 'rpCalc README File',
                                           self.icons, self)
     self.helpView.show()