ModalTaskHandler

Qualified name: mv::ModalTaskHandler

class ModalTaskHandler : public mv::AbstractTaskHandler

Modal task handler class.

Takes care of handling modal tasks (i.e. shows them in a modal tasks dialog).

Author

Thomas Kroes

Public Functions

ModalTaskHandler(QObject *parent)

Construct task handler with parent object.

Parameters:

parent – Pointer to parent object

TasksTreeModel &getModel()

Get the tasks model.

Returns:

Reference to the tasks tree model

TasksFilterModel &getFilterModel()

Get the tasks filter model.

Returns:

Reference to the tasks filter model

class ModalTasksDialog : public QDialog

Dialog for interaction with modal tasks.

Public Functions

ModalTasksDialog(ModalTaskHandler *modalTaskHandler, QWidget *parent = nullptr)

Construct with parent widget.

Parameters:
  • modalTaskHandler – Pointer to owning modal task handler

  • parent – Pointer to parent widget