12 #ifndef QmitkViewNavigatorWidget_h
13 #define QmitkViewNavigatorWidget_h
15 #include "ui_QmitkViewNavigatorWidgetControls.h"
19 #include <QStandardItemModel>
26 class ClassFilterProxyModel;
39 QWidget* parent =
nullptr,
40 Qt::WindowFlags f =
nullptr);
66 void CreateQtPartControl(QWidget* parent);
70 void AddPerspectivesToTree();
71 void AddViewsToTree();
72 template<
typename D,
typename I>
73 void AddItemsToTree(D itemDescriptors, QStandardItem* rootItem,
74 QStandardItem* miscellaneousItem =
nullptr,
const QStringList& itemExcludeList = QStringList());
76 Ui::QmitkViewNavigatorWidgetControls m_Controls;
77 QStandardItemModel* m_TreeModel;
78 ClassFilterProxyModel* m_FilterProxyModel;
81 QScopedPointer<berry::IPerspectiveListener> m_PerspectiveListener;
82 QScopedPointer<berry::IPartListener> m_ViewPartListener;