#include <Libs/MRML/Widgets/qMRMLLayoutViewFactory.h>
|
QScopedPointer< qMRMLLayoutViewFactoryPrivate > | d_ptr |
|
Definition at line 44 of file qMRMLLayoutViewFactory.h.
◆ Superclass
◆ viewClassName
QString qMRMLLayoutViewFactory::viewClassName |
|
read |
◆ qMRMLLayoutViewFactory()
qMRMLLayoutViewFactory::qMRMLLayoutViewFactory |
( |
QObject * |
parent = 0 | ) |
|
|
explicit |
◆ ~qMRMLLayoutViewFactory()
virtual qMRMLLayoutViewFactory::~qMRMLLayoutViewFactory |
( |
| ) |
|
|
virtual |
◆ activeRenderer()
virtual vtkRenderer* qMRMLLayoutViewFactory::activeRenderer |
( |
| ) |
const |
|
virtual |
◆ activeViewNode()
◆ activeViewNodeChanged
◆ beginSetupLayout()
virtual void qMRMLLayoutViewFactory::beginSetupLayout |
( |
| ) |
|
|
virtual |
◆ createViewFromNode()
Instantiate a QWidget for a given abstract view node. To be reimplemented
- See also
- createViewFromXML
◆ createViewFromXML()
virtual QWidget* qMRMLLayoutViewFactory::createViewFromXML |
( |
QDomElement |
layoutElement | ) |
|
|
protectedvirtual |
◆ createViewsFromXML()
virtual QList<QWidget*> qMRMLLayoutViewFactory::createViewsFromXML |
( |
QDomElement |
layoutElement | ) |
|
|
protectedvirtual |
Reimplemented to support.
◆ deleteView()
◆ isElementSupported()
virtual bool qMRMLLayoutViewFactory::isElementSupported |
( |
QDomElement |
layoutElement | ) |
const |
|
virtual |
◆ isViewNodeSupported()
◆ layoutManager()
Return the layout manager. It means the view factory can only be used in one layout manager.
- See also
- setLayoutManager()
◆ mrmlScene()
Q_INVOKABLE vtkMRMLScene* qMRMLLayoutViewFactory::mrmlScene |
( |
| ) |
const |
◆ onNodeAdded
virtual void qMRMLLayoutViewFactory::onNodeAdded |
( |
vtkObject * |
scene, |
|
|
vtkObject * |
node |
|
) |
| |
|
virtualslot |
◆ onNodeModified
virtual void qMRMLLayoutViewFactory::onNodeModified |
( |
vtkObject * |
node | ) |
|
|
virtualslot |
◆ onNodeRemoved
virtual void qMRMLLayoutViewFactory::onNodeRemoved |
( |
vtkObject * |
scene, |
|
|
vtkObject * |
node |
|
) |
| |
|
virtualslot |
◆ onSceneModified
virtual void qMRMLLayoutViewFactory::onSceneModified |
( |
| ) |
|
|
virtualslot |
Populate widgets from the scene. The widgets will then be used by viewFromXML()
- See also
- viewFromXML()
◆ onViewNodeAdded
◆ onViewNodeModified
◆ onViewNodeRemoved
◆ setActiveViewNode()
◆ setLayoutManager()
◆ setMRMLScene
virtual void qMRMLLayoutViewFactory::setMRMLScene |
( |
vtkMRMLScene * |
scene | ) |
|
|
virtualslot |
◆ setupView()
virtual void qMRMLLayoutViewFactory::setupView |
( |
QDomElement |
viewElement, |
|
|
QWidget * |
view |
|
) |
| |
|
protectedvirtual |
◆ viewClassName()
virtual QString qMRMLLayoutViewFactory::viewClassName |
( |
| ) |
const |
|
virtual |
Returns the viewClassName property value. Returns QString() by default.
- Note
- To be reimplemented in derived classes.
- See also
- viewClassName
◆ viewCount()
Q_INVOKABLE int qMRMLLayoutViewFactory::viewCount |
( |
| ) |
const |
◆ viewCreated
void qMRMLLayoutViewFactory::viewCreated |
( |
QWidget * |
createdView | ) |
|
|
signal |
This signal emitted whenever a new view is created.
◆ viewNode()
◆ viewNodeFromXML()
◆ viewNodeNames()
QStringList qMRMLLayoutViewFactory::viewNodeNames |
( |
| ) |
const |
Return all the names of the created view nodes.
◆ viewNodesFromXML()
◆ viewWidget() [1/3]
Q_INVOKABLE QWidget* qMRMLLayoutViewFactory::viewWidget |
( |
int |
id | ) |
const |
◆ viewWidget() [2/3]
◆ viewWidget() [3/3]
Q_INVOKABLE QWidget* qMRMLLayoutViewFactory::viewWidget |
( |
const QString & |
name | ) |
const |
◆ viewWidgetByLayoutLabel()
Q_INVOKABLE QWidget* qMRMLLayoutViewFactory::viewWidgetByLayoutLabel |
( |
const QString & |
layoutLabel | ) |
const |
◆ d_ptr
QScopedPointer<qMRMLLayoutViewFactoryPrivate> qMRMLLayoutViewFactory::d_ptr |
|
protected |
The documentation for this class was generated from the following file: