Changeset fe76fba in sasview


Ignore:
Timestamp:
May 22, 2018 6:53:15 AM (3 months ago)
Author:
Piotr Rozyczko <rozyczko@…>
Branches:
ESS_GUI, ESS_GUI_beta_approx, ESS_GUI_iss957, ESS_GUI_iss959, ESS_GUI_iss971, ESS_GUI_iss976
Children:
db7d2c7
Parents:
0459591
git-author:
Piotr Rozyczko <rozyczko@…> (05/22/18 06:52:37)
git-committer:
Piotr Rozyczko <rozyczko@…> (05/22/18 06:53:15)
Message:

Minor change to the python shell docs.
Fixed doc call from main menu

Location:
src/sas/qtgui
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/Calculators/media/python_shell_help.rst

    r417c03f rfe76fba  
    1313----------- 
    1414 
    15 This is a Python shell/editor provided with WxPython. 
     15This is a Jupyter Python QtConsole shell. 
    1616 
    1717For the help about Python, visit the website http://docs.python.org/tutorial/ 
    1818 
    19 .. note:: This shell/editor has its own help, but the Help() and Credits() calls do not work on Macs. 
     19For the help about QtConsole, visit the website https://ipython.org/ipython-doc/3/interactive/qtconsole.html 
    2020 
    21 The NumPy, SciPy, and Matplotlib, etc, libraries are shipped with SasView and so functions from these can be imported into the shell/editor, however, some functionality may not work. 
     21The NumPy, SciPy, and Matplotlib, etc, libraries are shipped with SasView and so functions from these can be imported into the shell, however, some functionality may not work. 
    2222 
    2323.. image:: new_pycrust_example.png 
    2424   :align: center 
    2525 
    26 When a Python file, for example a fitting model, is created or loaded with the *New* or *Open* options from the menu, a new tab opens with an editing notebook. 
     26.. 
     27    When a Python file, for example a fitting model, is created or loaded with the *New* or *Open* options from the menu, a new tab opens with an editing notebook. 
    2728 
    28 .. image:: new_pycrust_example_2.png 
    29    :align: center 
     29    .. image:: new_pycrust_example_2.png 
     30    :align: center 
    3031 
    31 If a Python (.py) model has a linked C (.c) subroutine *in the same folder* then the shell/editor will open both! However input focus is usually transferred to the tab with the .c file. 
     32    If a Python (.py) model has a linked C (.c) subroutine *in the same folder* then the shell/editor will open both! However input focus is usually transferred to the tab with the .c file. 
    3233 
    33 To compile a model, select *Run* > *Check Model* from the shell/editor menu. If the model contains a unit test (which it should!!!) then this will also run and a popup window will report the success/failure of the test. 
     34    To compile a model, select *Run* > *Check Model* from the shell/editor menu. If the model contains a unit test (which it should!!!) then this will also run and a popup window will report the success/failure of the test. 
    3435 
    3536.. ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ 
    3637 
    37 .. note::  This help document was last changed by Steve King, 10Oct2015 
     38.. note::  This help document was last changed by Piotr Rozyczko, 22 May 2018 
  • src/sas/qtgui/MainWindow/GuiManager.py

    ra0ed202 rfe76fba  
    9494        # Set up the status bar 
    9595        self.statusBarSetup() 
    96  
    97         # Needs URL like path, so no path.join() here 
    98         self._helpLocation = GuiUtils.HELP_DIRECTORY_LOCATION + "/index.html" 
    9996 
    10097        # Current tutorial location 
     
    191188        Open a local url in the default browser 
    192189        """ 
    193         #location = os.path.join(GuiUtils.HELP_DIRECTORY_LOCATION, url) 
    194190        location = GuiUtils.HELP_DIRECTORY_LOCATION + url 
    195191        try: 
     
    814810        TODO: use QNetworkAccessManager to assure _helpLocation is valid 
    815811        """ 
    816         helpfile = "index.html" 
     812        helpfile = "/index.html" 
    817813        self.showHelp(helpfile) 
    818814 
Note: See TracChangeset for help on using the changeset viewer.