Changeset f54ce30 in sasview for src/sas/qtgui/Perspectives/Fitting/FittingWidget.py
- Timestamp:
- Oct 16, 2017 6:10:48 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:
- d0dfcb2
- Parents:
- c7358b2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Perspectives/Fitting/FittingWidget.py
ra95c44b rf54ce30 52 52 53 53 class ToolTippedItemModel(QtGui.QStandardItemModel): 54 54 """ 55 Subclass from QStandardItemModel to allow displaying tooltips in 56 QTableView model. 57 """ 55 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.