#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 = 0 | ) |
|
◆ ~qSlicerScriptedLoadableModuleWidget()
virtual qSlicerScriptedLoadableModuleWidget::~qSlicerScriptedLoadableModuleWidget |
( |
| ) |
|
|
virtual |
◆ enter()
virtual void qSlicerScriptedLoadableModuleWidget::enter |
( |
| ) |
|
|
virtual |
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()
virtual void qSlicerScriptedLoadableModuleWidget::exit |
( |
| ) |
|
|
virtual |
◆ nodeEditable()
virtual double qSlicerScriptedLoadableModuleWidget::nodeEditable |
( |
vtkMRMLNode * |
node | ) |
|
|
virtual |
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()
virtual bool qSlicerScriptedLoadableModuleWidget::setEditedNode |
( |
vtkMRMLNode * |
node, |
|
|
QString |
role = QString() , |
|
|
QString |
context = QString() |
|
) |
| |
|
virtual |
◆ setPythonSource()
bool qSlicerScriptedLoadableModuleWidget::setPythonSource |
( |
const QString & |
newPythonSource, |
|
|
const QString & |
className = QLatin1String("") |
|
) |
| |
◆ setup()
virtual void qSlicerScriptedLoadableModuleWidget::setup |
( |
| ) |
|
|
protectedvirtual |
◆ d_ptr
QScopedPointer<qSlicerScriptedLoadableModuleWidgetPrivate> qSlicerScriptedLoadableModuleWidget::d_ptr |
|
protected |
The documentation for this class was generated from the following file: