Widget for managing segmentation task lists.
More...
#include <QmitkSegmentationTaskListWidget.h>
|
| void | ActiveTaskChanged (const std::optional< size_t > &index) |
| | Emitted when the active task changes. The index is std::nullopt when no task is active. More...
|
| |
| void | CurrentTaskChanged (const std::optional< size_t > &index) |
| | Emitted when the current (browsed) task changes. The index is std::nullopt when no task is current. More...
|
| |
Widget for managing segmentation task lists.
Provides navigation through a list of segmentation tasks, loading/unloading of task images and segmentations, saving results, and tracking task progress.
- See also
- mitk::SegmentationTaskList
Definition at line 44 of file QmitkSegmentationTaskListWidget.h.
◆ QmitkSegmentationTaskListWidget()
| QmitkSegmentationTaskListWidget::QmitkSegmentationTaskListWidget |
( |
QWidget * |
parent = nullptr | ) |
|
|
explicit |
Constructs the segmentation task list widget.
◆ ~QmitkSegmentationTaskListWidget()
| QmitkSegmentationTaskListWidget::~QmitkSegmentationTaskListWidget |
( |
| ) |
|
|
override |
◆ ActiveTaskChanged
| void QmitkSegmentationTaskListWidget::ActiveTaskChanged |
( |
const std::optional< size_t > & |
index | ) |
|
|
signal |
Emitted when the active task changes. The index is std::nullopt when no task is active.
◆ ActiveTaskIsShown()
| bool QmitkSegmentationTaskListWidget::ActiveTaskIsShown |
( |
| ) |
const |
Returns true if the currently active task is shown in the widget.
◆ CheckDataStorage()
| void QmitkSegmentationTaskListWidget::CheckDataStorage |
( |
const mitk::DataNode * |
removedNode = nullptr | ) |
|
Checks data storage consistency, optionally after a node removal.
◆ CurrentTaskChanged
| void QmitkSegmentationTaskListWidget::CurrentTaskChanged |
( |
const std::optional< size_t > & |
index | ) |
|
|
signal |
Emitted when the current (browsed) task changes. The index is std::nullopt when no task is current.
◆ LoadNextUnfinishedTask()
| void QmitkSegmentationTaskListWidget::LoadNextUnfinishedTask |
( |
| ) |
|
Loads the next unfinished task from the task list.
◆ OnPreShutdown()
| bool QmitkSegmentationTaskListWidget::OnPreShutdown |
( |
| ) |
|
Called during application shutdown; prompts for unsaved changes if needed. Returns false to cancel shutdown.
◆ SaveActiveTask()
| void QmitkSegmentationTaskListWidget::SaveActiveTask |
( |
bool |
saveAsInterimResult = false | ) |
|
Saves the currently active task, optionally as an interim result.
◆ SetDataStorage()
| void QmitkSegmentationTaskListWidget::SetDataStorage |
( |
mitk::DataStorage * |
dataStorage | ) |
|
Sets the data storage used for loading task data nodes.
The documentation for this class was generated from the following file: