Slicer 5.9
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
qMRMLExpandingWebView Class Reference

qMRMLExpandingWebView is the display canvas for some or all of a MRML scene. More...

#include <Libs/MRML/Widgets/qMRMLExpandingWebView.h>

Inheritance diagram for qMRMLExpandingWebView:
Collaboration diagram for qMRMLExpandingWebView:

Public Types

typedef QWebEngineView Superclass
 Superclass typedef.
 

Public Slots

void setMRMLScene (vtkMRMLScene *newScene)
 Set the MRML scene that should be listened for events.
 
virtual void updateWidgetFromMRML ()
 subclasses reimplement this to handle updates in the mrml scene
 

Signals

void mrmlSceneChanged (vtkMRMLScene *)
 

Public Member Functions

vtkMRMLScenemrmlScene () const
 Return a pointer on the current MRML scene.
 
 qMRMLExpandingWebView (QWidget *parent=nullptr)
 Constructors.
 
QSize sizeHint () const override
 
 ~qMRMLExpandingWebView () override
 

Protected Attributes

QScopedPointer< qMRMLExpandingWebViewPrivate > d_ptr
 

Detailed Description

qMRMLExpandingWebView is the display canvas for some or all of a MRML scene.

qMRMLExpandingWebView is currently implemented as a subclass of QWebView

Definition at line 34 of file qMRMLExpandingWebView.h.

Member Typedef Documentation

◆ Superclass

typedef QWebEngineView qMRMLExpandingWebView::Superclass

Superclass typedef.

Definition at line 40 of file qMRMLExpandingWebView.h.

Constructor & Destructor Documentation

◆ qMRMLExpandingWebView()

qMRMLExpandingWebView::qMRMLExpandingWebView ( QWidget * parent = nullptr)
explicit

Constructors.

◆ ~qMRMLExpandingWebView()

qMRMLExpandingWebView::~qMRMLExpandingWebView ( )
override

Member Function Documentation

◆ mrmlScene()

vtkMRMLScene * qMRMLExpandingWebView::mrmlScene ( ) const

Return a pointer on the current MRML scene.

◆ mrmlSceneChanged

void qMRMLExpandingWebView::mrmlSceneChanged ( vtkMRMLScene * )
signal

When designing custom qMRMLWidget in the designer, you can connect the mrmlSceneChanged signal directly to the aggregated MRML widgets that have a setMRMLScene slot.

◆ setMRMLScene

void qMRMLExpandingWebView::setMRMLScene ( vtkMRMLScene * newScene)
slot

Set the MRML scene that should be listened for events.

◆ sizeHint()

QSize qMRMLExpandingWebView::sizeHint ( ) const
override

◆ updateWidgetFromMRML

virtual void qMRMLExpandingWebView::updateWidgetFromMRML ( )
virtualslot

subclasses reimplement this to handle updates in the mrml scene

Member Data Documentation

◆ d_ptr

QScopedPointer<qMRMLExpandingWebViewPrivate> qMRMLExpandingWebView::d_ptr
protected

Definition at line 68 of file qMRMLExpandingWebView.h.


The documentation for this class was generated from the following file: