Changeset aed0532 in sasview for src/sas/qtgui


Ignore:
Timestamp:
May 1, 2018 6:45:08 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:
b5cc06e
Parents:
417c03f
Message:

Updated references to help files

Location:
src/sas/qtgui
Files:
24 edited

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/Calculators/DataOperationUtilityPanel.py

    re90988c raed0532  
    110110        documentation tree (after /doc/ ....". 
    111111        """ 
    112         location = "/user/sasgui/perspectives/calculator/data_operator_help.html" 
     112        location = "/user/qtgui/Calculators/data_operator_help.html" 
    113113        self.manager.showHelp(location) 
    114114 
  • src/sas/qtgui/Calculators/DensityPanel.py

    re90988c raed0532  
    146146 
    147147    def displayHelp(self): 
    148         location =  "/user/sasgui/perspectives/calculator/density_calculator_help.html" 
     148        location = "/user/qtgui/Calculators/density_calculator_help.html" 
    149149        self.manager.showHelp(location) 
    150150 
  • src/sas/qtgui/Calculators/GenericScatteringCalculator.py

    re90988c raed0532  
    382382        documentation tree (after /doc/ ....". 
    383383        """ 
    384         location = "/user/sasgui/perspectives/calculator/sas_calculator_help.html" 
     384        location = "/user/qtgui/Calculators/sas_calculator_help.html" 
    385385        self.manager.showHelp(location) 
    386386 
  • src/sas/qtgui/Calculators/KiessigPanel.py

    re90988c raed0532  
    3838        documentation tree (after /doc/ ....". 
    3939        """ 
    40         location = "/user/sasgui/perspectives/calculator/kiessig_calculator_help.html" 
     40        location = "/user/qtgui/Calculators/kiessig_calculator_help.html" 
    4141        self.manager.showHelp(location) 
    4242 
  • src/sas/qtgui/Calculators/ResolutionCalculatorPanel.py

    re90988c raed0532  
    366366        documentation tree (after /doc/ ....". 
    367367        """ 
    368         location = "/user/sasgui/perspectives/calculator/resolution_calculator_help.html" 
     368        location = "/user/qtgui/Calculators/resolution_calculator_help.html" 
    369369        self.manager.showHelp(location) 
    370370 
  • src/sas/qtgui/Calculators/SldPanel.py

    re90988c raed0532  
    213213 
    214214    def displayHelp(self): 
    215         location = "/user/sasgui/perspectives/calculator/sld_calculator_help.html" 
     215        location = "/user/qtgui/Calculators/sld_calculator_help.html" 
    216216        self.manager.showHelp(location) 
    217217 
  • src/sas/qtgui/Calculators/SlitSizeCalculator.py

    re90988c raed0532  
    4747        documentation tree (after /doc/ ....". 
    4848        """ 
    49         location = "/user/sasgui/perspectives/calculator/slit_calculator_help.html" 
     49        location = "/user/qtgui/Calculators/slit_calculator_help.html" 
    5050        self._parent.showHelp(location) 
    5151 
  • src/sas/qtgui/MainWindow/DataExplorer.py

    rd4dac80 raed0532  
    137137        Show the "Loading data" section of help 
    138138        """ 
    139         tree_location = "/user/sasgui/guiframe/data_explorer_help.html" 
     139        tree_location = "/user/qtgui/MainWindow/data_explorer_help.html" 
    140140        self.parent.showHelp(tree_location) 
    141141 
  • src/sas/qtgui/MainWindow/GuiManager.py

    rd4dac80 raed0532  
    172172        Open a local url in the default browser 
    173173        """ 
     174        #location = os.path.join(GuiUtils.HELP_DIRECTORY_LOCATION, url) 
    174175        location = GuiUtils.HELP_DIRECTORY_LOCATION + url 
    175176        try: 
     
    779780        TODO: use QNetworkAccessManager to assure _helpLocation is valid 
    780781        """ 
    781         self.showHelp(self._helpLocation) 
     782        helpfile = "index.html" 
     783        self.showHelp(helpfile) 
    782784 
    783785    def actionTutorial(self): 
  • src/sas/qtgui/MainWindow/UnitTesting/DataExplorerTest.py

    rc6fb57c raed0532  
    437437        Test that the Help window gets shown correctly 
    438438        """ 
    439         partial_url = "sasgui/guiframe/data_explorer_help.html" 
     439        partial_url = "qtgui/MainWindow/data_explorer_help.html" 
    440440        button1 = self.form.cmdHelp 
    441441        button2 = self.form.cmdHelp_2 
  • src/sas/qtgui/Perspectives/Corfunc/CorfuncPerspective.py

    re90988c raed0532  
    312312        """ 
    313313        """ Display help when clicking on Help button """ 
    314         treeLocation = "/user/sasgui/perspectives/corfunc/corfunc_help.html" 
     314        treeLocation = "/user/qtgui/Perspectives/Corfunc/corfunc_help.html" 
    315315        self.parent.showHelp(treeLocation) 
    316316 
  • src/sas/qtgui/Perspectives/Fitting/ComplexConstraint.py

    r725d9c06 raed0532  
    202202        try: 
    203203            help_location = GuiUtils.HELP_DIRECTORY_LOCATION + \ 
    204             "/user/sasgui/perspectives/fitting/fitting_help.html#simultaneous-fits-with-constraints" 
     204            "/user/qtgui/Perspectives/Fitting/fitting_help.html#simultaneous-fits-with-constraints" 
    205205            webbrowser.open('file://' + os.path.realpath(help_location)) 
    206206        except AttributeError: 
  • src/sas/qtgui/Perspectives/Fitting/ConstraintWidget.py

    rd4dac80 raed0532  
    230230        Show the "Fitting" section of help 
    231231        """ 
    232         tree_location = "/user/sasgui/perspectives/fitting/" 
     232        tree_location = "/user/qtgui/Perspectives/Fitting/" 
    233233 
    234234        helpfile = "fitting_help.html#simultaneous-fit-mode" 
  • src/sas/qtgui/Perspectives/Fitting/FittingOptions.py

    re90988c raed0532  
    158158        """ 
    159159        tree_location = GuiUtils.HELP_DIRECTORY_LOCATION 
    160         tree_location += "/user/sasgui/perspectives/fitting/" 
     160        tree_location += "/user/qtgui/Perspectives/Fitting/" 
    161161 
    162162        # Actual file anchor will depend on the combo box index 
  • src/sas/qtgui/Perspectives/Fitting/FittingWidget.py

    rd4dac80 raed0532  
    11801180        Show the "Fitting" section of help 
    11811181        """ 
    1182         tree_location = "/user/sasgui/perspectives/fitting/" 
     1182        tree_location = "/user/qtgui/Perspectives/Fitting/" 
    11831183 
    11841184        # Actual file will depend on the current tab 
  • src/sas/qtgui/Perspectives/Fitting/GPUOptions.py

    re90988c raed0532  
    170170        """ 
    171171        help_location = GuiUtils.HELP_DIRECTORY_LOCATION 
    172         help_location += "/user/sasgui/perspectives/fitting/gpu_setup.html" 
     172        help_location += "/user/qtgui/Perspectives/Fitting/gpu_setup.html" 
    173173        help_location += "#device-selection" 
    174174        # Display the page in default browser 
  • src/sas/qtgui/Perspectives/Fitting/MultiConstraint.py

    r3b3b40b raed0532  
    142142        try: 
    143143            help_location = GuiUtils.HELP_DIRECTORY_LOCATION + \ 
    144             "/user/sasgui/perspectives/fitting/fitting_help.html#simultaneous-fits-with-constraints" 
     144            "/user/qtgui/Perspectives/Fitting/fitting_help.html#simultaneous-fits-with-constraints" 
    145145            webbrowser.open('file://' + os.path.realpath(help_location)) 
    146146        except AttributeError: 
  • src/sas/qtgui/Perspectives/Invariant/InvariantPerspective.py

    re90988c raed0532  
    429429    def onHelp(self): 
    430430        """ Display help when clicking on Help button """ 
    431         treeLocation = "/user/sasgui/perspectives/invariant/invariant_help.html" 
     431        treeLocation = "/user/qtgui/Perspectives/Invariant/invariant_help.html" 
    432432        self.parent.showHelp(treeLocation) 
    433433 
  • src/sas/qtgui/Perspectives/Inversion/InversionPerspective.py

    re90988c raed0532  
    372372        Open the P(r) Inversion help browser 
    373373        """ 
    374         tree_location = "/user/sasgui/perspectives/pr/pr_help.html" 
     374        tree_location = "/user/qtgui/Perspectives/Inversion/pr_help.html" 
    375375 
    376376        # Actual file anchor will depend on the combo box index 
  • src/sas/qtgui/Plotting/SlicerParameters.py

    re90988c raed0532  
    8686        Display generic data averaging help 
    8787        """ 
    88         location = "/user/sasgui/guiframe/graph_help.html#d-data-averaging" 
     88        location = "/user/qtgui/MainWindow/graph_help.html#d-data-averaging" 
    8989        self.parent.showHelp(location) 
    9090 
  • src/sas/qtgui/Utilities/AddMultEditor.py

    r017b285 raed0532  
    273273        try: 
    274274            help_location = GuiUtils.HELP_DIRECTORY_LOCATION + \ 
    275                             "/user/sasgui/perspectives/fitting/fitting_help.html#sum-multi-p1-p2" 
     275                            "/user/qtgui/Perspectives/Fitting/fitting_help.html#sum-multi-p1-p2" 
    276276            webbrowser.open('file://' + os.path.realpath(help_location)) 
    277277        except AttributeError: 
  • src/sas/qtgui/Utilities/GridPanel.py

    rd4dac80 raed0532  
    170170        """ 
    171171        location = GuiUtils.HELP_DIRECTORY_LOCATION 
    172         url = "/user/sasgui/perspectives/fitting/fitting_help.html#batch-fit-mode" 
     172        url = "/user/qtgui/Perspectives/Fitting/fitting_help.html#batch-fit-mode" 
    173173        try: 
    174174            webbrowser.open('file://' + os.path.realpath(location+url)) 
  • src/sas/qtgui/Utilities/PluginManager.py

    r3b8cc00 raed0532  
    136136        Show the help page in the default browser 
    137137        """ 
    138         location = "/user/sasgui/perspectives/fitting/fitting_help.html#new-plugin-model" 
     138        location = "/user/qtgui/Perspectives/Fitting/fitting_help.html#new-plugin-model" 
    139139        self.parent.showHelp(location) 
    140140                 
  • src/sas/qtgui/Utilities/TabbedModelEditor.py

    rd4dac80 raed0532  
    329329        documentation tree (after /doc/ ....". 
    330330        """ 
    331         location = "/user/sasgui/perspectives/fitting/plugin.html" 
     331        location = "/user/qtgui/Perspectives/Fitting/plugin.html" 
    332332        self.parent.showHelp(location) 
    333333 
Note: See TracChangeset for help on using the changeset viewer.