Package schrodinger :: Package application :: Package desmond :: Module fep_gui :: Class PathModel
[hide private]
[frames] | no frames]

Class PathModel

PyQt4.QtCore.QAbstractTableModel --+
                                   |
                                  PathModel

Class for storing table information.

Instance Methods [hide private]
 
__init__(self)
 
clear(self)
 
addRow(self, row)
 
rowCount(self, parent=QtCore.QModelIndex())
Returns number of rows
 
columnCount(self, parent=QtCore.QModelIndex())
Returns number of columns
 
data(self, index, role=Qt.DisplayRole)
Given a cell index, returns the data that should be displayed in that cell (text or check button state).
 
headerData(self, section, orientation, role)
Returns the string that should be displayed in the specified header cell.
Method Details [hide private]

data(self, index, role=Qt.DisplayRole)

 

Given a cell index, returns the data that should be displayed in that cell (text or check button state). Used by the view.

headerData(self, section, orientation, role)

 

Returns the string that should be displayed in the specified header cell. Used by the View.