An extension of the ListTableModel for keeping a task list in a TaskRunner.
More...
|
|
def | __init__ (self, kwargs) |
| |
| def | data (self, index, role) |
| | Get data from model for a given cell. More...
|
| |
| def | append (self, data) |
| | Add a task to the end of the storage list and listen to its signals. More...
|
| |
|
def | __init__ (self) |
| |
| def | rowCount (self, parent=QtCore.QModelIndex()) |
| | Gives the number of stored items. More...
|
| |
| def | columnCount (self, parent=QtCore.QModelIndex()) |
| | Gives the number of data fields. More...
|
| |
| def | flags (self, index) |
| | Determines what can be done with entry cells in the table view. More...
|
| |
| def | data (self, index, role) |
| | Get data from model for a given cell. More...
|
| |
| def | headerData (self, section, orientation, role=QtCore.Qt.DisplayRole) |
| | Data for the table view headers. More...
|
| |
| def | insert (self, n, data) |
| | Insert a row into table. More...
|
| |
| def | append (self, data) |
| | Append row to table. More...
|
| |
| def | pop (self, n) |
| | Remove nth row from table. More...
|
| |
|
|
| headers |
| |
|
| lock |
| |
|
| headers |
| |
|
| storage |
| |
An extension of the ListTableModel for keeping a task list in a TaskRunner.
◆ append()
| def taskrunner.TaskListTableModel.append |
( |
|
self, |
|
|
|
data |
|
) |
| |
Add a task to the end of the storage list and listen to its signals.
- Parameters
-
| object | data: PrePostTask or InterruptableTask to add to list. |
◆ data()
| def taskrunner.TaskListTableModel.data |
( |
|
self, |
|
|
|
index, |
|
|
|
role |
|
) |
| |
Get data from model for a given cell.
Data can have a role that affects display.
- Parameters
-
| QModelIndex | index: cell for which data is requested |
| ItemDataRole | role: role for which data is requested |
- Returns
- QVariant: data for given cell and role
The documentation for this class was generated from the following file: