#include <Base/QTGUI/qSlicerScriptedLoadableModuleWidget.h>
|
QScopedPointer< qSlicerScriptedLoadableModuleWidgetPrivate > | d_ptr |
|
QScopedPointer< qSlicerAbstractModuleWidgetPrivate > | d_ptr |
|
QScopedPointer< qSlicerWidgetPrivate > | d_ptr |
|
QScopedPointer< qSlicerObjectPrivate > | d_ptr |
|
QScopedPointer< qSlicerAbstractModuleRepresentationPrivate > | d_ptr |
|
◆ Pimpl
◆ Superclass
◆ moduleName
QString qSlicerScriptedLoadableModuleWidget::moduleName |
|
read |
◆ qSlicerScriptedLoadableModuleWidget()
qSlicerScriptedLoadableModuleWidget::qSlicerScriptedLoadableModuleWidget |
( |
QWidget * |
parentWidget = nullptr | ) |
|
◆ ~qSlicerScriptedLoadableModuleWidget()
qSlicerScriptedLoadableModuleWidget::~qSlicerScriptedLoadableModuleWidget |
( |
| ) |
|
|
override |
◆ enter()
void qSlicerScriptedLoadableModuleWidget::enter |
( |
| ) |
|
|
overridevirtual |
The enter and exit methods are called when the module panel changes. These give the module a chance to do any setup or shutdown operations as it becomes active and inactive. It is the responsibility of the module's manager to call the methods. enter() and exit() must be called when reimplementing these methods in order to have isEntered() valid.
Reimplemented from qSlicerAbstractModuleWidget.
◆ exit()
void qSlicerScriptedLoadableModuleWidget::exit |
( |
| ) |
|
|
overridevirtual |
◆ nodeEditable()
double qSlicerScriptedLoadableModuleWidget::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 qSlicerAbstractModuleWidget.
◆ pythonSource()
QString qSlicerScriptedLoadableModuleWidget::pythonSource |
( |
| ) |
const |
◆ self()
Q_INVOKABLE PyObject* qSlicerScriptedLoadableModuleWidget::self |
( |
| ) |
const |
Convenience method allowing to retrieve the associated scripted instance.
◆ setEditedNode()
bool qSlicerScriptedLoadableModuleWidget::setEditedNode |
( |
vtkMRMLNode * |
node, |
|
|
QString |
role = QString() , |
|
|
QString |
context = QString() |
|
) |
| |
|
overridevirtual |
◆ setPythonSource()
bool qSlicerScriptedLoadableModuleWidget::setPythonSource |
( |
const QString & |
newPythonSource, |
|
|
const QString & |
className = QLatin1String("") |
|
) |
| |
◆ setup()
void qSlicerScriptedLoadableModuleWidget::setup |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ d_ptr
QScopedPointer<qSlicerScriptedLoadableModuleWidgetPrivate> qSlicerScriptedLoadableModuleWidget::d_ptr |
|
protected |
The documentation for this class was generated from the following file: