Ignore:
Timestamp:
Dec 14, 2017 7:51:02 AM (6 years ago)
Author:
Piotr Rozyczko <rozyczko@…>
Branches:
ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
Children:
7fd20fc, 626c7c5
Parents:
8353d90
Message:

Show help pages in default browser. Fixed some help links and modified unit tests. SASVIEW-800

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/Perspectives/Inversion/InversionPerspective.py

    r50bfab0 re90988c  
    5151        self._manager = parent 
    5252        self._model_item = QtGui.QStandardItem() 
    53         #self._helpView = QtWebKit.QWebView() 
    54  
    5553        self.communicate = GuiUtils.Communicate() 
    5654 
     
    374372        Open the P(r) Inversion help browser 
    375373        """ 
    376         tree_location = (GuiUtils.HELP_DIRECTORY_LOCATION + 
    377                          "user/sasgui/perspectives/pr/pr_help.html") 
     374        tree_location = "/user/sasgui/perspectives/pr/pr_help.html" 
    378375 
    379376        # Actual file anchor will depend on the combo box index 
    380377        # Note that we can be clusmy here, since bad current_fitter_id 
    381378        # will just make the page displayed from the top 
    382         #self._helpView.load(QtCore.QUrl(tree_location)) 
    383         #self._helpView.show() 
     379        self._manager.showHelp(tree_location) 
    384380 
    385381    def toggleBgd(self): 
Note: See TracChangeset for help on using the changeset viewer.