Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
QmitkFindSegmentationTaskDialog Class Reference

Dialog for finding and selecting a segmentation task from a task list. More...

#include <QmitkFindSegmentationTaskDialog.h>

Inheritance diagram for QmitkFindSegmentationTaskDialog:
Collaboration diagram for QmitkFindSegmentationTaskDialog:

Public Member Functions

 QmitkFindSegmentationTaskDialog (QWidget *parent=nullptr)
 Construct the find task dialog. More...
 
 ~QmitkFindSegmentationTaskDialog () override
 
void SetTaskList (const mitk::SegmentationTaskList *taskList)
 Set the task list to display in the dialog. More...
 
std::optional< size_t > GetSelectedTask () const
 Return the index of the selected task, or std::nullopt if none is selected. More...
 
bool LoadSelectedTask () const
 Return true if the selected task should be loaded immediately. More...
 

Detailed Description

Dialog for finding and selecting a segmentation task from a task list.

Displays a table of tasks with columns for number, name, status, image, segmentation, result, and description. Supports filtering and selection.

Definition at line 33 of file QmitkFindSegmentationTaskDialog.h.

Constructor & Destructor Documentation

◆ QmitkFindSegmentationTaskDialog()

QmitkFindSegmentationTaskDialog::QmitkFindSegmentationTaskDialog ( QWidget *  parent = nullptr)
explicit

Construct the find task dialog.

Parameters
parentOptional parent widget.

◆ ~QmitkFindSegmentationTaskDialog()

QmitkFindSegmentationTaskDialog::~QmitkFindSegmentationTaskDialog ( )
override

Member Function Documentation

◆ GetSelectedTask()

std::optional<size_t> QmitkFindSegmentationTaskDialog::GetSelectedTask ( ) const

Return the index of the selected task, or std::nullopt if none is selected.

◆ LoadSelectedTask()

bool QmitkFindSegmentationTaskDialog::LoadSelectedTask ( ) const

Return true if the selected task should be loaded immediately.

◆ SetTaskList()

void QmitkFindSegmentationTaskDialog::SetTaskList ( const mitk::SegmentationTaskList *  taskList)

Set the task list to display in the dialog.

Parameters
taskListThe segmentation task list.

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