Ignore:
Timestamp:
Dec 14, 2017 9:51:02 AM (7 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/MainWindow/DataExplorer.py

    rcb4d219 re90988c  
    88from PyQt5 import QtGui 
    99from PyQt5 import QtWidgets 
    10 from PyQt5 import QtWebKitWidgets 
    1110 
    1211from twisted.internet import threads 
     
    7069        self.cmdHelp_2.clicked.connect(self.displayHelp) 
    7170 
    72         # Display HTML content 
    73         self._helpView = QtWebKitWidgets.QWebView() 
    74  
    7571        # Fill in the perspectives combo 
    7672        self.initPerspectives() 
     
    141137        Show the "Loading data" section of help 
    142138        """ 
    143         tree_location = GuiUtils.HELP_DIRECTORY_LOCATION +\ 
    144             "/user/sasgui/guiframe/data_explorer_help.html" 
    145         self._helpView.load(QtCore.QUrl(tree_location)) 
    146         self._helpView.show() 
     139        tree_location = "/user/sasgui/guiframe/data_explorer_help.html" 
     140        self.parent.showHelp(tree_location) 
    147141 
    148142    def enableGraphCombo(self, combo_text): 
Note: See TracChangeset for help on using the changeset viewer.