Changeset 0d72cac in sasview
- Timestamp:
- Sep 4, 2018 3:49:47 AM (6 years ago)
- Branches:
- ESS_GUI, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
- Children:
- ef3494b3
- Parents:
- c0a3b22e
- git-author:
- Torin Cooper-Bennun <torin.cooper-bennun@…> (07/23/18 04:25:14)
- git-committer:
- Torin Cooper-Bennun <torin.cooper-bennun@…> (09/04/18 03:49:47)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Perspectives/Fitting/FittingWidget.py
r6dbff18 r0d72cac 2031 2031 self.shell_names = self.shellNamesList() 2032 2032 2033 # Add a header 2034 header_row = [QtGui.QStandardItem() for i in range(5)] 2035 header_row[0].setText(self.kernel_module.name) 2036 font = header_row[0].font() 2037 font.setBold(True) 2038 header_row[0].setFont(font) 2039 for item in header_row: 2040 item.setEditable(False) 2041 item.setCheckable(False) 2042 item.setSelectable(False) 2043 2044 self._model_model.appendRow(header_row) 2045 2033 2046 # Update the QModel 2034 2047 new_rows = FittingUtilities.addParametersToModel(self.model_parameters, self.kernel_module, self.is2D) … … 2050 2063 2051 2064 self.kernel_module = MultiplicationModel(form_kernel, structure_kernel) 2065 2066 # Add a header 2067 header_row = [QtGui.QStandardItem() for i in range(5)] 2068 header_row[0].setText(self.kernel_module._model_info.composition[1][1].name) 2069 font = header_row[0].font() 2070 font.setBold(True) 2071 header_row[0].setFont(font) 2072 for item in header_row: 2073 item.setEditable(False) 2074 item.setCheckable(False) 2075 item.setSelectable(False) 2076 2077 self._model_model.appendRow(header_row) 2052 2078 2053 2079 new_rows = FittingUtilities.addSimpleParametersToModel(structure_parameters, self.is2D)
Note: See TracChangeset
for help on using the changeset viewer.