The QueryTableProxy contains a limited copy of the data in the Elixir
model, which is fetched from the database to be used as the model for a
QTableView
|
|
| __init__(self,
admin,
query_getter,
columns_getter,
max_number_of_rows=10,
edits=None) |
source code
|
|
|
|
|
|
|
|
|
|
setQuery(self,
query_getter)
Set the query and refresh the view |
source code
|
|
|
|
append(self,
o)
Add an object to this collection, used when inserting a new row,
overwrite this method for specific behaviour in subclasses |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Inherited from collection_proxy.CollectionProxy:
__del__,
columnCount,
data,
flags,
getColumns,
getItemDelegate,
handleEntityCreate,
handleEntityDelete,
handleEntityUpdate,
handleRowUpdate,
hasUnflushedRows,
headerData,
insertEntityInstance,
insertRow,
refresh,
removeEntityInstance,
removeRow,
revertRow,
rowCount,
setCollectionGetter,
setColumns,
setData,
setRowCount
|