FPLModel module
Source file that holds the table view model of the window.
- Classes in the source file:
TableViewModel(): Class that holds all the logic of the application and the manipulation of the GUI elementsthat the
FPLViewersource file holds.
- class FPLModel.TableViewModel(data)
Bases:
QAbstractTableModelThe table view model that is used by the application to display the various dataframes.
- columnCount(parnet=None)
Return the column count of the dataframe to display.
- Parameters:
parnet – (Default value = None)
- data(index, role=0)
Return the data according to index passed.
- Parameters:
index –
role – (Default value = Qt.DisplayRole)
- headerData(col, orientation, role)
Return the header data.
- Parameters:
col –
orientation –
role –
- rowCount(parent=None)
Return the row count of the dataframe to display.
- Parameters:
parent – (Default value = None)