예제 #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()
예제 #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()
예제 #3
0
파일: calcdlg.py 프로젝트: doug-101/rpCalc
 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()