21 #ifndef __qMRMLTreeViewEventTranslator_h 22 #define __qMRMLTreeViewEventTranslator_h 25 #include "QModelIndexList" 28 #include <pqTreeViewEventTranslator.h> 31 #include "qMRMLWidgetsExport.h" 36 public pqTreeViewEventTranslator
44 using Superclass::translateEvent;
45 bool translateEvent(QObject *Object, QEvent *Event,
int EventType,
bool &Error)
override;
51 QObject* CurrentObject;
54 void onDestroyed(QObject*);
55 void onCurrentNodeDeleted(
const QModelIndex&);
56 void onCurrentNodeRenamed(
const QString&);
58 void onDecorationClicked(
const QModelIndex&);
62 QString getIndexAsString(
const QModelIndex&);
pqTreeViewEventTranslator Superclass
Abstract Superclass for all specific types of MRML nodes.