Changeset b0c5e8c in sasview for src/sas/qtgui/MainWindow


Ignore:
Timestamp:
Jun 15, 2017 6:24:49 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:
72f4834
Parents:
144ec831
Message:

Unit tests for fitting options dialog SASVIEW-514

Location:
src/sas/qtgui/MainWindow
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/MainWindow/DataExplorer.py

    rdc5ef15 rb0c5e8c  
    138138        Show the "Loading data" section of help 
    139139        """ 
    140         tree_location = self.parent.HELP_DIRECTORY_LOCATION +\ 
     140        tree_location = GuiUtils.HELP_DIRECTORY_LOCATION +\ 
    141141            "/user/sasgui/guiframe/data_explorer_help.html" 
    142142        self._helpView.load(QtCore.QUrl(tree_location)) 
  • src/sas/qtgui/MainWindow/GuiManager.py

    r2d0e0c1 rb0c5e8c  
    4545    Main SasView window functionality 
    4646    """ 
    47     ## TODO: CHANGE FOR SHIPPED PATH IN RELEASE 
    48     HELP_DIRECTORY_LOCATION = "docs/sphinx-docs/build/html" 
    49  
    5047    def __init__(self, parent=None): 
    5148        """ 
     
    9996        self._helpView = QtWebKit.QWebView() 
    10097        # Needs URL like path, so no path.join() here 
    101         self._helpLocation = self.HELP_DIRECTORY_LOCATION + "/index.html" 
     98        self._helpLocation = GuiUtils.HELP_DIRECTORY_LOCATION + "/index.html" 
    10299 
    103100        # Current tutorial location 
    104         self._tutorialLocation = os.path.abspath(os.path.join(self.HELP_DIRECTORY_LOCATION, 
     101        self._tutorialLocation = os.path.abspath(os.path.join(GuiUtils.HELP_DIRECTORY_LOCATION, 
    105102                                              "_downloads", 
    106103                                              "Tutorial.pdf")) 
Note: See TracChangeset for help on using the changeset viewer.