Slicer  4.8
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=0)
 Constructors. More...
 
virtual QSize sizeHint () const
 
virtual ~qMRMLExpandingWebView ()
 

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 40 of file qMRMLExpandingWebView.h.

Member Typedef Documentation

◆ Superclass

typedef QWebEngineView qMRMLExpandingWebView::Superclass

Superclass typedef.

Definition at line 53 of file qMRMLExpandingWebView.h.

Constructor & Destructor Documentation

◆ qMRMLExpandingWebView()

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

Constructors.

◆ ~qMRMLExpandingWebView()

virtual qMRMLExpandingWebView::~qMRMLExpandingWebView ( )
virtual

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()

virtual QSize qMRMLExpandingWebView::sizeHint ( ) const
virtual

◆ 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 82 of file qMRMLExpandingWebView.h.


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