Changeset 8eea1b1 in sasview for src/sas/qtgui/Utilities


Ignore:
Timestamp:
Sep 26, 2018 4:47:30 AM (6 years ago)
Author:
Laura Forster <Awork@…>
Branches:
ESS_GUI, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
Children:
428c3b2, a80e182
Parents:
20f4857 (diff), 6d87082 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'ESS_GUI' of https://github.com/SasView/sasview into ESS_GUI

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

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/Utilities/GridPanel.py

    r7879745 rfa762f4  
    1818    ERROR_COLUMN_CAPTION = " (Err)" 
    1919    IS_WIN = (sys.platform == 'win32') 
     20    windowClosedSignal = QtCore.pyqtSignal() 
    2021    def __init__(self, parent = None, output_data=None): 
    2122 
     
    5455        # Fill in the table from input data 
    5556        self.setupTable(widget=self.tblParams, data=output_data) 
    56         #TODO: This is not what was inteded to be. 
    5757        if output_data is not None: 
    5858            # Set a table tooltip describing the model 
     
    6464        Overwrite QDialog close method to allow for custom widget close 
    6565        """ 
    66         # Maybe we should just minimize 
    67         self.setWindowState(QtCore.Qt.WindowMinimized) 
     66        # notify the parent so it hides this window 
     67        self.windowClosedSignal.emit() 
    6868        event.ignore() 
    6969 
     
    153153        Create a new tab with batch fitting results 
    154154        """ 
    155         self.addTabPage() 
     155        if self.has_data: 
     156            self.addTabPage() 
    156157        # Update the new widget 
    157158        # Fill in the table from input data in the last/newest page 
  • src/sas/qtgui/Utilities/GuiUtils.py

    r20f4857 r8eea1b1  
    2929from sas.qtgui.Utilities import CustomDir 
    3030 
    31 ## TODO: CHANGE FOR SHIPPED PATH IN RELEASE 
    3231if os.path.splitext(sys.argv[0])[1].lower() != ".py": 
    3332        HELP_DIRECTORY_LOCATION = "doc" 
  • src/sas/qtgui/Utilities/LocalConfig.py

    rb764ae5 r6d87082  
    7373_nsf_logo = os.path.join(icon_path, "nsf_logo.png") 
    7474_danse_logo = os.path.join(icon_path, "danse_logo.png") 
    75 _inst_logo = os.path.join(icon_path, "utlogo.gif") 
     75_inst_logo = os.path.join(icon_path, "utlogo.png") 
    7676_nist_url = "http://www.nist.gov/" 
    7777_umd_url = "http://www.umd.edu/" 
Note: See TracChangeset for help on using the changeset viewer.