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 | Public Slots | Signals | Public Member Functions | Protected Attributes
qMRMLEventLogger Class Reference

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

Inheritance diagram for qMRMLEventLogger:
Inheritance graph
[legend]
Collaboration diagram for qMRMLEventLogger:
Collaboration graph
[legend]

Public Types

typedef QObject Superclass
 

Public Slots

void listenImportProgressFeedbackEvent (bool listen)
 
void listenMetadataAddedEvent (bool listen)
 
void listenNewSceneEvent (bool listen)
 
void listenNodeAddedEvent (bool listen)
 
Allow to enable or disable the listening of specific event More...
 
void listenNodeRemovedEvent (bool listen)
 
void listenSaveProgressFeedbackEvent (bool listen)
 
void listenSceneAboutToBeClosedEvent (bool listen)
 
void listenSceneAboutToBeImportedEvent (bool listen)
 
void listenSceneClosedEvent (bool listen)
 
void listenSceneImportedEvent (bool listen)
 
void listenSceneRestoredEvent (bool listen)
 
virtual void onImportProgressFeedbackEvent ()
 
virtual void onMetadataAddedEvent ()
 
virtual void onNewSceneEvent ()
 
virtual void onNodeAddedEvent (vtkObject *caller, vtkObject *call_data)
 
virtual void onNodeRemovedEvent (vtkObject *caller, vtkObject *call_data)
 
virtual void onSaveProgressFeedbackEvent ()
 
virtual void onSceneAboutToBeClosedEvent ()
 
virtual void onSceneAboutToBeImportedEvent ()
 
virtual void onSceneClosedEvent ()
 
virtual void onSceneImportedEvent ()
 
virtual void onSceneRestoredEvent ()
 
void setConsoleOutputEnabled (bool enabled)
 Enable / Disable console output. More...
 

Signals

void signalImportProgressFeedbackEvent ()
 
void signalMetadataAddedEvent ()
 
void signalNewSceneEvent ()
 
void signalNodeAddedEvent (vtkObject *caller, vtkObject *call_data)
 
Emitted when the associated MRML scene event is fired More...
 
void signalNodeRemovedEvent (vtkObject *caller, vtkObject *call_data)
 
void signalSaveProgressFeedbackEvent ()
 
void signalSceneAboutToBeClosedEvent ()
 
void signalSceneAboutToBeImportedEvent ()
 
void signalSceneClosedEvent ()
 
void signalSceneImportedEvent ()
 
void signalSceneRestoredEvent ()
 

Public Member Functions

bool listeningImportProgressFeedbackEvent ()
 
bool listeningMetadataAddedEvent ()
 
bool listeningNewSceneEvent ()
 
bool listeningNodeAddedEvent ()
 
Return true if the corresponding event if listened by the eventLogger More...
 
bool listeningNodeRemovedEvent ()
 
bool listeningSaveProgressFeedbackEvent ()
 
bool listeningSceneAboutToBeClosedEvent ()
 
bool listeningSceneAboutToBeImportedEvent ()
 
bool listeningSceneClosedEvent ()
 
bool listeningSceneImportedEvent ()
 
bool listeningSceneRestoredEvent ()
 
 qMRMLEventLogger (QObject *parent=nullptr)
 
void setMRMLScene (vtkMRMLScene *scene)
 
Set the MRML scene that should be listened for events More...
 
 ~qMRMLEventLogger () override
 

Protected Attributes

QScopedPointer< qMRMLEventLoggerPrivate > d_ptr
 

Detailed Description

Definition at line 36 of file qMRMLEventLogger.h.

Member Typedef Documentation

◆ Superclass

Definition at line 40 of file qMRMLEventLogger.h.

Constructor & Destructor Documentation

◆ qMRMLEventLogger()

qMRMLEventLogger::qMRMLEventLogger ( QObject *  parent = nullptr)
explicit

◆ ~qMRMLEventLogger()

qMRMLEventLogger::~qMRMLEventLogger ( )
override

Member Function Documentation

◆ listenImportProgressFeedbackEvent

void qMRMLEventLogger::listenImportProgressFeedbackEvent ( bool  listen)
slot

◆ listeningImportProgressFeedbackEvent()

bool qMRMLEventLogger::listeningImportProgressFeedbackEvent ( )

◆ listeningMetadataAddedEvent()

bool qMRMLEventLogger::listeningMetadataAddedEvent ( )

◆ listeningNewSceneEvent()

bool qMRMLEventLogger::listeningNewSceneEvent ( )

◆ listeningNodeAddedEvent()

bool qMRMLEventLogger::listeningNodeAddedEvent ( )


Return true if the corresponding event if listened by the eventLogger

◆ listeningNodeRemovedEvent()

bool qMRMLEventLogger::listeningNodeRemovedEvent ( )

◆ listeningSaveProgressFeedbackEvent()

bool qMRMLEventLogger::listeningSaveProgressFeedbackEvent ( )

◆ listeningSceneAboutToBeClosedEvent()

bool qMRMLEventLogger::listeningSceneAboutToBeClosedEvent ( )

◆ listeningSceneAboutToBeImportedEvent()

bool qMRMLEventLogger::listeningSceneAboutToBeImportedEvent ( )

◆ listeningSceneClosedEvent()

bool qMRMLEventLogger::listeningSceneClosedEvent ( )

◆ listeningSceneImportedEvent()

bool qMRMLEventLogger::listeningSceneImportedEvent ( )

◆ listeningSceneRestoredEvent()

bool qMRMLEventLogger::listeningSceneRestoredEvent ( )

◆ listenMetadataAddedEvent

void qMRMLEventLogger::listenMetadataAddedEvent ( bool  listen)
slot

◆ listenNewSceneEvent

void qMRMLEventLogger::listenNewSceneEvent ( bool  listen)
slot

◆ listenNodeAddedEvent

void qMRMLEventLogger::listenNodeAddedEvent ( bool  listen)
slot


Allow to enable or disable the listening of specific event

◆ listenNodeRemovedEvent

void qMRMLEventLogger::listenNodeRemovedEvent ( bool  listen)
slot

◆ listenSaveProgressFeedbackEvent

void qMRMLEventLogger::listenSaveProgressFeedbackEvent ( bool  listen)
slot

◆ listenSceneAboutToBeClosedEvent

void qMRMLEventLogger::listenSceneAboutToBeClosedEvent ( bool  listen)
slot

◆ listenSceneAboutToBeImportedEvent

void qMRMLEventLogger::listenSceneAboutToBeImportedEvent ( bool  listen)
slot

◆ listenSceneClosedEvent

void qMRMLEventLogger::listenSceneClosedEvent ( bool  listen)
slot

◆ listenSceneImportedEvent

void qMRMLEventLogger::listenSceneImportedEvent ( bool  listen)
slot

◆ listenSceneRestoredEvent

void qMRMLEventLogger::listenSceneRestoredEvent ( bool  listen)
slot

◆ onImportProgressFeedbackEvent

virtual void qMRMLEventLogger::onImportProgressFeedbackEvent ( )
virtualslot

◆ onMetadataAddedEvent

virtual void qMRMLEventLogger::onMetadataAddedEvent ( )
virtualslot

◆ onNewSceneEvent

virtual void qMRMLEventLogger::onNewSceneEvent ( )
virtualslot

◆ onNodeAddedEvent

virtual void qMRMLEventLogger::onNodeAddedEvent ( vtkObject *  caller,
vtkObject *  call_data 
)
virtualslot

◆ onNodeRemovedEvent

virtual void qMRMLEventLogger::onNodeRemovedEvent ( vtkObject *  caller,
vtkObject *  call_data 
)
virtualslot

◆ onSaveProgressFeedbackEvent

virtual void qMRMLEventLogger::onSaveProgressFeedbackEvent ( )
virtualslot

◆ onSceneAboutToBeClosedEvent

virtual void qMRMLEventLogger::onSceneAboutToBeClosedEvent ( )
virtualslot

◆ onSceneAboutToBeImportedEvent

virtual void qMRMLEventLogger::onSceneAboutToBeImportedEvent ( )
virtualslot

◆ onSceneClosedEvent

virtual void qMRMLEventLogger::onSceneClosedEvent ( )
virtualslot

◆ onSceneImportedEvent

virtual void qMRMLEventLogger::onSceneImportedEvent ( )
virtualslot

◆ onSceneRestoredEvent

virtual void qMRMLEventLogger::onSceneRestoredEvent ( )
virtualslot

◆ setConsoleOutputEnabled

void qMRMLEventLogger::setConsoleOutputEnabled ( bool  enabled)
slot

Enable / Disable console output.

◆ setMRMLScene()

void qMRMLEventLogger::setMRMLScene ( vtkMRMLScene scene)


Set the MRML scene that should be listened for events

◆ signalImportProgressFeedbackEvent

void qMRMLEventLogger::signalImportProgressFeedbackEvent ( )
signal

◆ signalMetadataAddedEvent

void qMRMLEventLogger::signalMetadataAddedEvent ( )
signal

◆ signalNewSceneEvent

void qMRMLEventLogger::signalNewSceneEvent ( )
signal

◆ signalNodeAddedEvent

void qMRMLEventLogger::signalNodeAddedEvent ( vtkObject *  caller,
vtkObject *  call_data 
)
signal


Emitted when the associated MRML scene event is fired

◆ signalNodeRemovedEvent

void qMRMLEventLogger::signalNodeRemovedEvent ( vtkObject *  caller,
vtkObject *  call_data 
)
signal

◆ signalSaveProgressFeedbackEvent

void qMRMLEventLogger::signalSaveProgressFeedbackEvent ( )
signal

◆ signalSceneAboutToBeClosedEvent

void qMRMLEventLogger::signalSceneAboutToBeClosedEvent ( )
signal

◆ signalSceneAboutToBeImportedEvent

void qMRMLEventLogger::signalSceneAboutToBeImportedEvent ( )
signal

◆ signalSceneClosedEvent

void qMRMLEventLogger::signalSceneClosedEvent ( )
signal

◆ signalSceneImportedEvent

void qMRMLEventLogger::signalSceneImportedEvent ( )
signal

◆ signalSceneRestoredEvent

void qMRMLEventLogger::signalSceneRestoredEvent ( )
signal

Member Data Documentation

◆ d_ptr

QScopedPointer<qMRMLEventLoggerPrivate> qMRMLEventLogger::d_ptr
protected

Definition at line 108 of file qMRMLEventLogger.h.


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