cut 3.3.0
Loading...
Searching...
No Matches
task.taskview.TaskView Class Reference

Provides a Table to visualize the different Tasks under async execution. More...

Public Member Functions

 __init__ (self, QWidget parent=None)
 Initializes the QTableView with some graphical preferences.
 
 setModel (self, TaskModel model)
 Sets a TaskModel as the source of data for this view.
 
 rowsInserted (self, parent, start, end)
 Forwards rowInserted() method to its ancestors implementation, and forces the view to scroll to the last inserted row.
 

Detailed Description

Provides a Table to visualize the different Tasks under async execution.

Constructor & Destructor Documentation

◆ __init__()

task.taskview.TaskView.__init__ ( self,
QWidget parent = None )

Initializes the QTableView with some graphical preferences.

Parameters
[in]parentParent to this widget. Used by Qt to set parent/children relations.

Member Function Documentation

◆ setModel()

task.taskview.TaskView.setModel ( self,
TaskModel model )

Sets a TaskModel as the source of data for this view.

It also updates the size of the columns, which is affected every time a developer executes setModel().

Parameters
[in]modeA TaskModel object to be used as model.

The documentation for this class was generated from the following file: