Slicer  5.1
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
List of all members | Public Types | Properties | Public Slots | Public Member Functions | Protected Slots | Protected Attributes
qMRMLSequenceBrowserPlayWidget Class Reference

#include <Modules/Loadable/Sequences/Widgets/qMRMLSequenceBrowserPlayWidget.h>

Inheritance diagram for qMRMLSequenceBrowserPlayWidget:
Inheritance graph
Collaboration diagram for qMRMLSequenceBrowserPlayWidget:
Collaboration graph

Public Types

typedef qMRMLWidget Superclass
- Public Types inherited from qMRMLWidget
typedef QWidget Superclass


bool RecordingControlsVisible

Public Slots

void onRecordSnapshot ()
void onVcrFirst ()
void onVcrLast ()
void onVcrNext ()
void onVcrPlayPause ()
void onVcrPrevious ()
void setMRMLSequenceBrowserNode (vtkMRMLSequenceBrowserNode *browserNode)
void setMRMLSequenceBrowserNode (vtkMRMLNode *browserNode)
void setPlaybackEnabled (bool play)
void setPlaybackLoopEnabled (bool loopEnabled)
void setPlaybackRateFps (double playbackRateFps)
void setRecordingControlsVisible (bool show)
void setRecordingEnabled (bool play)
- Public Slots inherited from qMRMLWidget
virtual void setMRMLScene (vtkMRMLScene *newScene)
 Set the MRML scene associated with the widget. More...

Public Member Functions

 qMRMLSequenceBrowserPlayWidget (QWidget *newParent=0)
bool recordingControlsVisible () const
void setNextFrameShortcut (QString keySequence)
 Add a keyboard shortcut for next frame button. More...
void setPlayPauseShortcut (QString keySequence)
 Add a keyboard shortcut for play/pause button. More...
void setPreviousFrameShortcut (QString keySequence)
 Add a keyboard shortcut for previous frame button. More...
 ~qMRMLSequenceBrowserPlayWidget () override
- Public Member Functions inherited from qMRMLWidget
Q_INVOKABLE vtkMRMLScenemrmlScene () const
 Return a pointer on the current MRML scene. More...
 qMRMLWidget (QWidget *parent=nullptr, Qt::WindowFlags f=Qt::WindowFlags())
 ~qMRMLWidget () override

Protected Slots

void updateWidgetFromMRML ()

Protected Attributes

QScopedPointer< qMRMLSequenceBrowserPlayWidgetPrivate > d_ptr
- Protected Attributes inherited from qMRMLWidget
QScopedPointer< qMRMLWidgetPrivate > d_ptr

Additional Inherited Members

- Signals inherited from qMRMLWidget
void mrmlSceneChanged (vtkMRMLScene *)
- Static Public Member Functions inherited from qMRMLWidget
static Q_INVOKABLE QPixmap pixmapFromIcon (const QIcon &icon)
static Q_INVOKABLE void postInitializeApplication ()
 Initialization that needs to be performed after application object is created. More...
static Q_INVOKABLE void preInitializeApplication ()

Detailed Description

Definition at line 41 of file qMRMLSequenceBrowserPlayWidget.h.

Member Typedef Documentation

◆ Superclass

Definition at line 54 of file qMRMLSequenceBrowserPlayWidget.h.

Property Documentation

◆ RecordingControlsVisible

bool qMRMLSequenceBrowserPlayWidget::RecordingControlsVisible

Enable displaying recording control buttons (record and snapshot). The buttons are only visible if this flag is enabled and there is at least one sequence that has recording enabled.

Definition at line 50 of file qMRMLSequenceBrowserPlayWidget.h.

Constructor & Destructor Documentation

◆ qMRMLSequenceBrowserPlayWidget()

qMRMLSequenceBrowserPlayWidget::qMRMLSequenceBrowserPlayWidget ( QWidget *  newParent = 0)

◆ ~qMRMLSequenceBrowserPlayWidget()

qMRMLSequenceBrowserPlayWidget::~qMRMLSequenceBrowserPlayWidget ( )

Member Function Documentation

◆ onRecordSnapshot

void qMRMLSequenceBrowserPlayWidget::onRecordSnapshot ( )

◆ onVcrFirst

void qMRMLSequenceBrowserPlayWidget::onVcrFirst ( )

◆ onVcrLast

void qMRMLSequenceBrowserPlayWidget::onVcrLast ( )

◆ onVcrNext

void qMRMLSequenceBrowserPlayWidget::onVcrNext ( )

◆ onVcrPlayPause

void qMRMLSequenceBrowserPlayWidget::onVcrPlayPause ( )

◆ onVcrPrevious

void qMRMLSequenceBrowserPlayWidget::onVcrPrevious ( )

◆ recordingControlsVisible()

bool qMRMLSequenceBrowserPlayWidget::recordingControlsVisible ( ) const

Returns true if recording controls (record and snapshot buttons) are allowed to be shown.

Regardless of this flag, recording controls are not shown if recording is not enabled for any of the browsed sequences.

◆ setMRMLSequenceBrowserNode [1/2]

void qMRMLSequenceBrowserPlayWidget::setMRMLSequenceBrowserNode ( vtkMRMLSequenceBrowserNode browserNode)

◆ setMRMLSequenceBrowserNode [2/2]

void qMRMLSequenceBrowserPlayWidget::setMRMLSequenceBrowserNode ( vtkMRMLNode browserNode)

◆ setNextFrameShortcut()

void qMRMLSequenceBrowserPlayWidget::setNextFrameShortcut ( QString  keySequence)

Add a keyboard shortcut for next frame button.

◆ setPlaybackEnabled

void qMRMLSequenceBrowserPlayWidget::setPlaybackEnabled ( bool  play)

◆ setPlaybackLoopEnabled

void qMRMLSequenceBrowserPlayWidget::setPlaybackLoopEnabled ( bool  loopEnabled)

◆ setPlaybackRateFps

void qMRMLSequenceBrowserPlayWidget::setPlaybackRateFps ( double  playbackRateFps)

◆ setPlayPauseShortcut()

void qMRMLSequenceBrowserPlayWidget::setPlayPauseShortcut ( QString  keySequence)

Add a keyboard shortcut for play/pause button.

◆ setPreviousFrameShortcut()

void qMRMLSequenceBrowserPlayWidget::setPreviousFrameShortcut ( QString  keySequence)

Add a keyboard shortcut for previous frame button.

◆ setRecordingControlsVisible

void qMRMLSequenceBrowserPlayWidget::setRecordingControlsVisible ( bool  show)

◆ setRecordingEnabled

void qMRMLSequenceBrowserPlayWidget::setRecordingEnabled ( bool  play)

◆ updateWidgetFromMRML

void qMRMLSequenceBrowserPlayWidget::updateWidgetFromMRML ( )

Member Data Documentation

◆ d_ptr

QScopedPointer<qMRMLSequenceBrowserPlayWidgetPrivate> qMRMLSequenceBrowserPlayWidget::d_ptr

Definition at line 92 of file qMRMLSequenceBrowserPlayWidget.h.

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