Changeset def64a0 in sasview for src/sas/qtgui/Perspectives/Fitting/FittingWidget.py
- Timestamp:
- Oct 24, 2017 8:27:24 AM (7 years ago)
- Branches:
- ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
- Children:
- b0b09b9, 5d1440e1
- Parents:
- 814a253 (diff), d0dfcb2 (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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Perspectives/Fitting/FittingWidget.py
r88e1f57 rdef64a0 52 52 53 53 class ToolTippedItemModel(QtGui.QStandardItemModel): 54 55 def __init__(self, parent = None): 54 """ 55 Subclass from QStandardItemModel to allow displaying tooltips in 56 QTableView model. 57 """ 58 def __init__(self, parent=None): 56 59 QtGui.QStandardItemModel.__init__(self,parent) 57 60 58 61 def headerData(self, section, orientation, role): 59 62 """ 63 Displays tooltip for each column's header 64 :param section: 65 :param orientation: 66 :param role: 67 :return: 68 """ 60 69 if role == QtCore.Qt.ToolTipRole: 61 70 if orientation == QtCore.Qt.Horizontal:
Note: See TracChangeset
for help on using the changeset viewer.