18 #ifndef HURRICANE_INSPECTOR_WIDGET_H
19 #define HURRICANE_INSPECTOR_WIDGET_H
23 #include "hurricane/Commons.h"
24 #include "hurricane/Occurrence.h"
27 class QSortFilterProxyModel;
44 typedef vector<Slot*> SlotsVector;
51 void push ( Slot*, Record* );
54 void goTo (
int depth );
55 void clear (
bool inDelete=
false );
56 void setComboBox ( QComboBox* comboBox );
58 size_t getDepth ()
const;
59 Slot* getSlot ()
const;
65 History (
const History& );
66 History& operator= (
const History& );
77 void textFilterChanged ();
78 void historyChanged (
int depth );
79 void forkInspector (
const QModelIndex& );
81 bool eventFilter ( QObject*, QEvent* );
83 void _setRootRecord ( Record* );
84 void pushSlot ( Slot*, Record* record=NULL );
87 bool setSlot ( Record* record=NULL );
90 RecordModel* _baseModel;
91 QSortFilterProxyModel* _sortModel;
92 QComboBox* _historyComboBox;
94 QLineEdit* _filterPatternLineEdit;