#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).
- See also
- setEditedNode
Reimplemented from qSlicerAbstractModuleWidget.
◆ 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 |
◆ 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: