Model for read only tables.
|
__init__(self,
parentObject,
modelObject,
taskPath,
*args,
**kw)
Initializes the model |
source code
|
|
|
getColumnLabels(self)
Returns column labels according to current model object set to this
view model. |
source code
|
|
|
getColumnSizes(self)
Returns column sizes according to current model object set to this
view model. |
source code
|
|
|
setModelObjectProperties(self,
modelObject) |
source code
|
|
|
parent(self)
Original QAbstractTableModel parent() method does something different
than QWidget.parent() method. |
source code
|
|
|
|
|
initCache(self)
Initializes the structures related with cache structure. |
source code
|
|
|
|
|
|
|
headerData(self,
section,
orientation,
role=Qt.DisplayRole)
Overriden headerData method that feeds the view with vertical and
horizontal header information. |
source code
|
|
|
data(self,
index,
role=Qt.DisplayRole)
Overriden data method, called by QTableView to obtain data for the
passed index. |
source code
|
|
|
isBusy(self)
Returns True if model is busy, False otherwise. |
source code
|
|
|
|
|
rowCount(self,
parentModel=None)
Overriden rowCount method, returns the number of rows present in the
model |
source code
|
|
|
columnCount(self,
parentModel=None)
Returns the number of columns displayed in table, overriden Qt model
method. |
source code
|
|
|
|