Slicer 5.9
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
qSlicerCLIModuleUIHelper Class Reference

#include <Base/QTCLI/qSlicerCLIModuleUIHelper.h>

Inheritance diagram for qSlicerCLIModuleUIHelper:
Collaboration diagram for qSlicerCLIModuleUIHelper:

Signals

void valueChanged (const QString &tag, const QVariant &value)
 

Public Member Functions

QWidget * createTagWidget (const ModuleParameter &moduleParameter)
 
 qSlicerCLIModuleUIHelper (qSlicerCLIModuleWidget *cliModuleWidget)
 
void setCommandLineModuleParameter (vtkMRMLCommandLineModuleNode *node, const QString &name, const QVariant &value)
 Set parameter to the command line module node.
 
void setValue (const QString &name, const QVariant &type)
 
void updateMRMLCommandLineModuleNode (vtkMRMLCommandLineModuleNode *commandLineModuleNode)
 Update commandLineModuleNode properties using value entered from the UI.
 
void updateUi (vtkMRMLCommandLineModuleNode *commandLineModuleNode)
 Update user interface using the given commandLineModuleNode parameters.
 
 ~qSlicerCLIModuleUIHelper () override
 

Protected Slots

void onValueChanged ()
 

Protected Attributes

QScopedPointer< qSlicerCLIModuleUIHelperPrivate > d_ptr
 

Detailed Description

Definition at line 103 of file qSlicerCLIModuleUIHelper.h.

Constructor & Destructor Documentation

◆ qSlicerCLIModuleUIHelper()

qSlicerCLIModuleUIHelper::qSlicerCLIModuleUIHelper ( qSlicerCLIModuleWidget * cliModuleWidget)

◆ ~qSlicerCLIModuleUIHelper()

qSlicerCLIModuleUIHelper::~qSlicerCLIModuleUIHelper ( )
override

Member Function Documentation

◆ createTagWidget()

QWidget * qSlicerCLIModuleUIHelper::createTagWidget ( const ModuleParameter & moduleParameter)

Create the widget associated with the given moduleParameter The caller is responsible to delete the widget. Note also that if the widget is added to a layout, Qt will be responsible to delete the widget.

◆ onValueChanged

void qSlicerCLIModuleUIHelper::onValueChanged ( )
protectedslot

◆ setCommandLineModuleParameter()

void qSlicerCLIModuleUIHelper::setCommandLineModuleParameter ( vtkMRMLCommandLineModuleNode * node,
const QString & name,
const QVariant & value )

Set parameter to the command line module node.

◆ setValue()

void qSlicerCLIModuleUIHelper::setValue ( const QString & name,
const QVariant & type )

◆ updateMRMLCommandLineModuleNode()

void qSlicerCLIModuleUIHelper::updateMRMLCommandLineModuleNode ( vtkMRMLCommandLineModuleNode * commandLineModuleNode)

Update commandLineModuleNode properties using value entered from the UI.

◆ updateUi()

void qSlicerCLIModuleUIHelper::updateUi ( vtkMRMLCommandLineModuleNode * commandLineModuleNode)

Update user interface using the given commandLineModuleNode parameters.

◆ valueChanged

void qSlicerCLIModuleUIHelper::valueChanged ( const QString & tag,
const QVariant & value )
signal

Member Data Documentation

◆ d_ptr

QScopedPointer<qSlicerCLIModuleUIHelperPrivate> qSlicerCLIModuleUIHelper::d_ptr
protected

Definition at line 137 of file qSlicerCLIModuleUIHelper.h.


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