Slicer  4.11
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
List of all members | Properties | Public Slots | Signals | Public Member Functions | Protected Slots | Protected Attributes
qMRMLSegmentationFileExportWidget Class Reference

Qt widget for selecting a single segment from a segmentation. If multiple segments are needed, then use. More...

#include <Modules/Loadable/Segmentations/Widgets/qMRMLSegmentationFileExportWidget.h>

Inheritance diagram for qMRMLSegmentationFileExportWidget:
Inheritance graph
Collaboration diagram for qMRMLSegmentationFileExportWidget:
Collaboration graph


QString settingsKey

Public Slots

void exportToFiles ()
void setSegmentationNode (vtkMRMLSegmentationNode *node)
 Set segmentation MRML node. More...
void setSegmentationNode (vtkMRMLNode *node)
void showDestinationFolder ()
void updateSettingsFromWidget ()
void updateWidgetFromSettings ()
- Public Slots inherited from qMRMLWidget
virtual void setMRMLScene (vtkMRMLScene *newScene)
 Set the MRML scene associated with the widget. More...


void exportToFilesDone ()
 Emitted when conversion is done. More...
- Signals inherited from qMRMLWidget
void mrmlSceneChanged (vtkMRMLScene *)

Public Member Functions

 qMRMLSegmentationFileExportWidget (QWidget *parent=nullptr)
 Constructor. More...
Q_INVOKABLE vtkMRMLSegmentationNodesegmentationNode () const
 Get current segmentation node. More...
Q_INVOKABLE QString segmentationNodeID ()
 Get current segmentation node's ID. More...
void setSettingsKey (const QString &key)
QString settingsKey () const
 ~qMRMLSegmentationFileExportWidget () override
 Destructor. More...
- Public Member Functions inherited from qMRMLWidget
Q_INVOKABLE vtkMRMLScenemrmlScene () const
 Return a pointer on the current MRML scene. More...
 qMRMLWidget (QWidget *parent=nullptr, Qt::WindowFlags f=nullptr)
 ~qMRMLWidget () override

Protected Slots

void setFileFormat (const QString &)

Protected Attributes

QScopedPointer< qMRMLSegmentationFileExportWidgetPrivate > d_ptr
- Protected Attributes inherited from qMRMLWidget
QScopedPointer< qMRMLWidgetPrivate > d_ptr

Additional Inherited Members

- Public Types inherited from qMRMLWidget
typedef QWidget Superclass
- Static Public Member Functions inherited from qMRMLWidget
static Q_INVOKABLE void postInitializeApplication ()
 Initialization that needs to be performed after application object is created. More...
static Q_INVOKABLE void preInitializeApplication ()

Detailed Description

Qt widget for selecting a single segment from a segmentation. If multiple segments are needed, then use.

See also
qMRMLSegmentsTableView instead in SimpleListMode

Definition at line 45 of file qMRMLSegmentationFileExportWidget.h.

Property Documentation

◆ settingsKey

QString qMRMLSegmentationFileExportWidget::settingsKey

Key for storing selected options in application settings. If an empty key string is given, then selections are not saved or loaded in settings. Empty by default.

Definition at line 53 of file qMRMLSegmentationFileExportWidget.h.

Constructor & Destructor Documentation

◆ qMRMLSegmentationFileExportWidget()

qMRMLSegmentationFileExportWidget::qMRMLSegmentationFileExportWidget ( QWidget *  parent = nullptr)


◆ ~qMRMLSegmentationFileExportWidget()

qMRMLSegmentationFileExportWidget::~qMRMLSegmentationFileExportWidget ( )


Member Function Documentation

◆ exportToFiles

void qMRMLSegmentationFileExportWidget::exportToFiles ( )

◆ exportToFilesDone

void qMRMLSegmentationFileExportWidget::exportToFilesDone ( )

Emitted when conversion is done.

◆ segmentationNode()

Q_INVOKABLE vtkMRMLSegmentationNode* qMRMLSegmentationFileExportWidget::segmentationNode ( ) const

Get current segmentation node.

◆ segmentationNodeID()

Q_INVOKABLE QString qMRMLSegmentationFileExportWidget::segmentationNodeID ( )

Get current segmentation node's ID.

◆ setFileFormat

void qMRMLSegmentationFileExportWidget::setFileFormat ( const QString &  )

◆ setSegmentationNode [1/2]

void qMRMLSegmentationFileExportWidget::setSegmentationNode ( vtkMRMLSegmentationNode node)

Set segmentation MRML node.

◆ setSegmentationNode [2/2]

void qMRMLSegmentationFileExportWidget::setSegmentationNode ( vtkMRMLNode node)

◆ setSettingsKey()

void qMRMLSegmentationFileExportWidget::setSettingsKey ( const QString &  key)

◆ settingsKey()

QString qMRMLSegmentationFileExportWidget::settingsKey ( ) const

◆ showDestinationFolder

void qMRMLSegmentationFileExportWidget::showDestinationFolder ( )

◆ updateSettingsFromWidget

void qMRMLSegmentationFileExportWidget::updateSettingsFromWidget ( )

◆ updateWidgetFromSettings

void qMRMLSegmentationFileExportWidget::updateWidgetFromSettings ( )

Member Data Documentation

◆ d_ptr

QScopedPointer<qMRMLSegmentationFileExportWidgetPrivate> qMRMLSegmentationFileExportWidget::d_ptr

Definition at line 90 of file qMRMLSegmentationFileExportWidget.h.

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