Slicer  5.2
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
[legend]
Collaboration diagram for qMRMLSequenceBrowserPlayWidget:
Collaboration graph
[legend]

Public Types

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

Properties

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
readwrite

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

Member Function Documentation

◆ onRecordSnapshot

void qMRMLSequenceBrowserPlayWidget::onRecordSnapshot ( )
slot

◆ onVcrFirst

void qMRMLSequenceBrowserPlayWidget::onVcrFirst ( )
slot

◆ onVcrLast

void qMRMLSequenceBrowserPlayWidget::onVcrLast ( )
slot

◆ onVcrNext

void qMRMLSequenceBrowserPlayWidget::onVcrNext ( )
slot

◆ onVcrPlayPause

void qMRMLSequenceBrowserPlayWidget::onVcrPlayPause ( )
slot

◆ onVcrPrevious

void qMRMLSequenceBrowserPlayWidget::onVcrPrevious ( )
slot

◆ recordingControlsVisible()

bool qMRMLSequenceBrowserPlayWidget::recordingControlsVisible ( ) const

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

Note
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)
slot

◆ setMRMLSequenceBrowserNode [2/2]

void qMRMLSequenceBrowserPlayWidget::setMRMLSequenceBrowserNode ( vtkMRMLNode browserNode)
slot

◆ setNextFrameShortcut()

void qMRMLSequenceBrowserPlayWidget::setNextFrameShortcut ( QString  keySequence)

Add a keyboard shortcut for next frame button.

◆ setPlaybackEnabled

void qMRMLSequenceBrowserPlayWidget::setPlaybackEnabled ( bool  play)
slot

◆ setPlaybackLoopEnabled

void qMRMLSequenceBrowserPlayWidget::setPlaybackLoopEnabled ( bool  loopEnabled)
slot

◆ setPlaybackRateFps

void qMRMLSequenceBrowserPlayWidget::setPlaybackRateFps ( double  playbackRateFps)
slot

◆ 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)
slot

◆ setRecordingEnabled

void qMRMLSequenceBrowserPlayWidget::setRecordingEnabled ( bool  play)
slot

◆ updateWidgetFromMRML

void qMRMLSequenceBrowserPlayWidget::updateWidgetFromMRML ( )
protectedslot

Member Data Documentation

◆ d_ptr

QScopedPointer<qMRMLSequenceBrowserPlayWidgetPrivate> qMRMLSequenceBrowserPlayWidget::d_ptr
protected

Definition at line 92 of file qMRMLSequenceBrowserPlayWidget.h.


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