Changes in / [1dc1d431:54398d5] in sasview


Ignore:
Location:
src/sas/qtgui
Files:
3 edited

Legend:

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

    r3e314e6 rccdee50  
    3030        self.deltaq_in.textChanged.connect(self.onCompute) 
    3131        self.deltaq_in.setText("0.05") 
     32 
     33        # Set focus away from Close 
     34        self.computeButton.setFocus() 
    3235 
    3336        # no reason to have this widget resizable 
  • src/sas/qtgui/Calculators/UI/KiessigPanel.ui

    r457d961 rccdee50  
    88    <y>0</y> 
    99    <width>365</width> 
    10     <height>193</height> 
     10    <height>197</height> 
    1111   </rect> 
     12  </property> 
     13  <property name="focusPolicy"> 
     14   <enum>Qt::TabFocus</enum> 
    1215  </property> 
    1316  <property name="windowTitle"> 
  • src/sas/qtgui/Utilities/GridPanel.py

    ra8e6394 re03d56f  
    187187        """ 
    188188        url = "/user/qtgui/Perspectives/Fitting/fitting_help.html#batch-fit-mode" 
    189         location = GuiUtils.HELP_DIRECTORY_LOCATION + url 
    190         if os.path.isdir(location) == False: 
    191             sas_path = os.path.abspath(os.path.dirname(sys.argv[0])) 
    192             location = sas_path + "/" + location 
    193         try: 
    194             webbrowser.open('file://' + os.path.realpath(location)) 
    195         except webbrowser.Error as ex: 
    196             logging.warning("Cannot display help. %s" % ex) 
     189        GuiUtils.showHelp(url) 
     190 
    197191 
    198192    def onPlot(self): 
Note: See TracChangeset for help on using the changeset viewer.