Commit ad6648cc authored by Eike Ziller's avatar Eike Ziller

Add search functionality to include hierarchy

Change-Id: Ia21486bc64d4a7433934039d788ff45eb039b11c
Reviewed-by: default avatarNikolai Kosjar <nikolai.kosjar@digia.com>
parent df47e5f6
......@@ -37,6 +37,7 @@
#include "cppincludehierarchytreeview.h"
#include <coreplugin/editormanager/editormanager.h>
#include <coreplugin/find/treeviewfind.h>
#include <cplusplus/CppDocument.h>
#include <utils/annotateditemdelegate.h>
......@@ -114,7 +115,8 @@ CppIncludeHierarchyWidget::CppIncludeHierarchyWidget() :
layout->setMargin(0);
layout->setSpacing(0);
layout->addWidget(m_inspectedFile);
layout->addWidget(m_treeView);
layout->addWidget(Core::TreeViewFind::createSearchableWrapper(
m_treeView, Core::TreeViewFind::FetchMoreWhileSearching));
layout->addWidget(m_includeHierarchyInfoLabel);
setLayout(layout);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment