33 #ifndef _pqPluginTreeWidgetEventTranslator_h 34 #define _pqPluginTreeWidgetEventTranslator_h 37 #include "pqWidgetEventTranslator.h" 46 typedef pqWidgetEventTranslator Superclass;
52 using Superclass::translateEvent;
53 bool translateEvent(QObject* Object, QEvent* Event,
bool& Error)
override;
56 void onItemChanged(
const QModelIndex&);
57 void onExpanded(
const QModelIndex&);
58 void onCollapsed(
const QModelIndex&);
59 void onCurrentChanged(
const QModelIndex&);
62 QString getIndexAsString(
const QModelIndex&);
68 QPointer<pqPluginTreeWidget> TreeView;
71 #endif // !_pqPluginTreeWidgetEventTranslator_h
#define PQCOMPONENTS_EXPORT