Class for storing table information.
|
__init__(self,
header,
view=None,
view_callback=None,
reset_callback=None) |
|
|
|
|
|
|
|
|
|
rowCount(self,
parent=QtCore.QModelIndex())
Returns number of rows |
|
|
|
columnCount(self,
parent=QtCore.QModelIndex())
Returns number of columns |
|
|
|
flags(self,
index)
Returns flags for the specified cell. |
|
|
|
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). |
|
|
|
setData(self,
index,
value,
role=Qt.EditRole)
Called by the view to modify the model when the user changes the data
in the table. |
|
|
|
headerData(self,
section,
orientation,
role)
Returns the string that should be displayed in the specified header
cell. |
|
|
|
getRowTarget(self,
rownum) |
|
|
|
getRowName(self,
rownum)
Returns the name of the item associated with the specified row. |
|
|
|
setShownRow(self,
rownum) |
|
|
|
|