Slicer  5.0
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
List of all members | Public Types | Public Slots | Signals | Public Member Functions | Protected Attributes
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:
Inheritance graph
[legend]
Collaboration diagram for qMRMLExpandingWebView:
Collaboration graph
[legend]

Public Types

typedef QWebEngineView Superclass
 Superclass typedef. More...
 

Public Slots

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

Signals

void mrmlSceneChanged (vtkMRMLScene *)
 

Public Member Functions

vtkMRMLScenemrmlScene () const
 Return a pointer on the current MRML scene. More...
 
 qMRMLExpandingWebView (QWidget *parent=nullptr)
 Constructors. More...
 
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: