Slicer  4.10
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
[legend]
Collaboration diagram for qMRMLSegmentationFileExportWidget:
Collaboration graph
[legend]

Properties

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...
 

Signals

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

Public Member Functions

 qMRMLSegmentationFileExportWidget (QWidget *parent=0)
 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
 
virtual ~qMRMLSegmentationFileExportWidget ()
 Destructor. More...
 
- Public Member Functions inherited from qMRMLWidget
Q_INVOKABLE vtkMRMLScenemrmlScene () const
 Return a pointer on the current MRML scene. More...
 
 qMRMLWidget (QWidget *parent=0, Qt::WindowFlags f=0)
 
virtual ~qMRMLWidget ()
 

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
 

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
readwrite

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 = 0)
explicit

Constructor.

◆ ~qMRMLSegmentationFileExportWidget()

virtual qMRMLSegmentationFileExportWidget::~qMRMLSegmentationFileExportWidget ( )
virtual

Destructor.

Member Function Documentation

◆ exportToFiles

void qMRMLSegmentationFileExportWidget::exportToFiles ( )
slot

◆ exportToFilesDone

void qMRMLSegmentationFileExportWidget::exportToFilesDone ( )
signal

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 &  )
protectedslot

◆ setSegmentationNode [1/2]

void qMRMLSegmentationFileExportWidget::setSegmentationNode ( vtkMRMLSegmentationNode node)
slot

Set segmentation MRML node.

◆ setSegmentationNode [2/2]

void qMRMLSegmentationFileExportWidget::setSegmentationNode ( vtkMRMLNode node)
slot

◆ setSettingsKey()

void qMRMLSegmentationFileExportWidget::setSettingsKey ( const QString &  key)

◆ settingsKey()

QString qMRMLSegmentationFileExportWidget::settingsKey ( ) const

◆ showDestinationFolder

void qMRMLSegmentationFileExportWidget::showDestinationFolder ( )
slot

◆ updateSettingsFromWidget

void qMRMLSegmentationFileExportWidget::updateSettingsFromWidget ( )
slot

◆ updateWidgetFromSettings

void qMRMLSegmentationFileExportWidget::updateWidgetFromSettings ( )
slot

Member Data Documentation

◆ d_ptr

QScopedPointer<qMRMLSegmentationFileExportWidgetPrivate> qMRMLSegmentationFileExportWidget::d_ptr
protected

Definition at line 90 of file qMRMLSegmentationFileExportWidget.h.


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