Changeset fa762f4 in sasview for src/sas/qtgui/Utilities/GridPanel.py
- Timestamp:
- Sep 25, 2018 7:06:48 AM (6 years ago)
- 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:
- 624c8747
- Parents:
- 9b9ec10
- git-author:
- Piotr Rozyczko <piotr.rozyczko@…> (09/25/18 07:04:07)
- git-committer:
- Piotr Rozyczko <piotr.rozyczko@…> (09/25/18 07:06:48)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Utilities/GridPanel.py
r7879745 rfa762f4 18 18 ERROR_COLUMN_CAPTION = " (Err)" 19 19 IS_WIN = (sys.platform == 'win32') 20 windowClosedSignal = QtCore.pyqtSignal() 20 21 def __init__(self, parent = None, output_data=None): 21 22 … … 54 55 # Fill in the table from input data 55 56 self.setupTable(widget=self.tblParams, data=output_data) 56 #TODO: This is not what was inteded to be.57 57 if output_data is not None: 58 58 # Set a table tooltip describing the model … … 64 64 Overwrite QDialog close method to allow for custom widget close 65 65 """ 66 # Maybe we should just minimize67 self. setWindowState(QtCore.Qt.WindowMinimized)66 # notify the parent so it hides this window 67 self.windowClosedSignal.emit() 68 68 event.ignore() 69 69 … … 153 153 Create a new tab with batch fitting results 154 154 """ 155 self.addTabPage() 155 if self.has_data: 156 self.addTabPage() 156 157 # Update the new widget 157 158 # Fill in the table from input data in the last/newest page
Note: See TracChangeset
for help on using the changeset viewer.