2 #ifndef XGUI_ObjectsBrowser_H
3 #define XGUI_ObjectsBrowser_H
5 #include "XGUI_Constants.h"
9 class XGUI_DocumentDataModel;
11 class XGUI_ObjectsBrowser : public QTreeView
15 XGUI_ObjectsBrowser(QWidget* theParent);
16 virtual ~XGUI_ObjectsBrowser();
18 XGUI_DocumentDataModel* dataModel() const { return myDocModel; }
20 QFeatureList selectedData() const { return mySelectedData; }
23 void selectionChanged();
27 void onSelectionChanged(const QItemSelection& theSelected, const QItemSelection& theDeselected);
30 XGUI_DocumentDataModel* myDocModel;
32 QFeatureList mySelectedData;