#include <Base/QTCLI/qSlicerCLIModuleWidget.h>
|
QScopedPointer< qSlicerCLIModuleWidgetPrivate > | d_ptr |
|
QScopedPointer< qSlicerAbstractModuleWidgetPrivate > | d_ptr |
|
QScopedPointer< qSlicerWidgetPrivate > | d_ptr |
|
QScopedPointer< qSlicerObjectPrivate > | d_ptr |
|
QScopedPointer< qSlicerAbstractModuleRepresentationPrivate > | d_ptr |
|
Definition at line 38 of file qSlicerCLIModuleWidget.h.
◆ Superclass
◆ qSlicerCLIModuleWidget()
qSlicerCLIModuleWidget::qSlicerCLIModuleWidget |
( |
QWidget * |
parent = nullptr | ) |
|
◆ ~qSlicerCLIModuleWidget()
qSlicerCLIModuleWidget::~qSlicerCLIModuleWidget |
( |
| ) |
|
|
override |
◆ apply
void qSlicerCLIModuleWidget::apply |
( |
bool |
wait = false | ) |
|
|
slot |
◆ cancel [1/2]
void qSlicerCLIModuleWidget::cancel |
( |
| ) |
|
|
slot |
◆ cancel() [2/2]
Abort the execution of the module associated with node.
◆ currentCommandLineModuleNode()
Get the current commandLineModuleNode.
◆ enter()
void qSlicerCLIModuleWidget::enter |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ nodeEditable()
double qSlicerCLIModuleWidget::nodeEditable |
( |
vtkMRMLNode * |
node | ) |
|
|
overridevirtual |
Returns a confidence value (between 0.0 and 1.0) that defines how much this widget is suitable for editing the provided node. In general value of 0.5 should be used. If the returned value is 0 then it means the node should not be attempted to set as edited node. This node has to be overridden in child classes that want to use a non-default confidence value (for example, they look into the node contents and decide based on that if the node belongs to this module).
Reimplemented from qSlicerAbstractModuleRepresentation.
◆ reset
void qSlicerCLIModuleWidget::reset |
( |
| ) |
|
|
slot |
◆ run()
Run a command line module given parameterNode If waitForCompletion is True, the call will return only upon completion of the module execution.
◆ setAutoRun
void qSlicerCLIModuleWidget::setAutoRun |
( |
bool |
enable | ) |
|
|
slot |
◆ setAutoRunCancelsRunningProcess
void qSlicerCLIModuleWidget::setAutoRunCancelsRunningProcess |
( |
bool |
enable | ) |
|
|
slot |
◆ setAutoRunOnOtherInputEvents
void qSlicerCLIModuleWidget::setAutoRunOnOtherInputEvents |
( |
bool |
enable | ) |
|
|
slot |
◆ setAutoRunWhenInputModified
void qSlicerCLIModuleWidget::setAutoRunWhenInputModified |
( |
bool |
enable | ) |
|
|
slot |
◆ setAutoRunWhenParameterChanged
void qSlicerCLIModuleWidget::setAutoRunWhenParameterChanged |
( |
bool |
enable | ) |
|
|
slot |
◆ setCurrentCommandLineModuleNode
void qSlicerCLIModuleWidget::setCurrentCommandLineModuleNode |
( |
vtkMRMLNode * |
commandLineModuleNode | ) |
|
|
slot |
Set the current commandLineModuleNode.
◆ setEditedNode()
bool qSlicerCLIModuleWidget::setEditedNode |
( |
vtkMRMLNode * |
node, |
|
|
QString |
role = QString() , |
|
|
QString |
context = QString() |
|
) |
| |
|
overridevirtual |
Allows other modules to select input and output nodes in the module's GUI. There may be multiple node selectors in a module widget, you can select between them using the role argument. Context can be specified to make a selection within that node (for example, a markup list node may contain multiple markups; context can be used to select a specific item). Returns true if the selection was successful. This node has to be overridden in child classes that support editing certain node types. Preferably each module that defines a new MRML node class should also make sure there is a module widget that can edit that node. If setEditedNode method is overridden then nodeEditable method can be overridden to specify a non-default confidence value that the module can handle a specific node instance.
Reimplemented from qSlicerAbstractModuleRepresentation.
◆ setup()
void qSlicerCLIModuleWidget::setup |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ translate()
QString qSlicerCLIModuleWidget::translate |
( |
const std::string & |
sourceText | ) |
const |
Translate string from source language to current application language.
◆ d_ptr
QScopedPointer<qSlicerCLIModuleWidgetPrivate> qSlicerCLIModuleWidget::d_ptr |
|
protected |
The documentation for this class was generated from the following file: