33 #ifndef _pqPluginTreeWidgetEventTranslator_h 34 #define _pqPluginTreeWidgetEventTranslator_h 36 #include "pqComponentsModule.h" 37 #include "pqWidgetEventTranslator.h" 46 typedef pqWidgetEventTranslator Superclass;
51 using Superclass::translateEvent;
52 virtual bool translateEvent(QObject* Object, QEvent* Event,
bool& Error);
55 void onItemChanged(
const QModelIndex&);
56 void onExpanded(
const QModelIndex&);
57 void onCollapsed(
const QModelIndex&);
58 void onCurrentChanged(
const QModelIndex&);
61 QString getIndexAsString(
const QModelIndex&);
67 QPointer<pqPluginTreeWidget> TreeView;
70 #endif // !_pqPluginTreeWidgetEventTranslator_h