00001 #ifndef __qMRMLEventLoggerWidget_h 00002 #define __qMRMLEventLoggerWidget_h 00003 00005 #include <qCTKPimpl.h> 00006 00008 #include <QWidget> 00009 00010 #include "qMRMLWidgetsExport.h" 00011 00012 class qMRMLEventLoggerWidgetPrivate; 00013 class vtkMRMLScene; 00014 class vtkObject; 00015 00016 class QMRML_WIDGETS_EXPORT qMRMLEventLoggerWidget: public QWidget 00017 { 00018 Q_OBJECT 00019 public: 00020 typedef QWidget Superclass; 00021 explicit qMRMLEventLoggerWidget(QWidget *parent = 0); 00022 virtual ~qMRMLEventLoggerWidget(); 00023 00024 public slots: 00025 00028 void setMRMLScene(vtkMRMLScene* scene); 00029 00030 protected slots: 00031 00032 virtual void onNodeAddedEvent(vtkObject* caller, vtkObject* call_data); 00033 virtual void onNodeRemovedEvent(vtkObject* caller, vtkObject* call_data); 00034 virtual void onNewSceneEvent(); 00035 virtual void onSceneCloseEvent(); 00036 virtual void onSceneClosingEvent(); 00037 virtual void onSceneLoadingErrorEvent(); 00038 virtual void onSceneEditedEvent(); 00039 virtual void onMetadataAddedEvent(); 00040 virtual void onLoadProgressFeedbackEvent(); 00041 virtual void onSaveProgressFeedbackEvent(); 00042 virtual void onSceneLoadStartEvent(); 00043 virtual void onSceneLoadEndEvent(); 00044 virtual void onSceneRestoredEvent(); 00045 00046 private: 00047 QCTK_DECLARE_PRIVATE(qMRMLEventLoggerWidget); 00048 }; 00049 00050 #endif
1.6.1