Commit 8754cab9 authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh

Todo: Support find in pane

Change-Id: I9788a81395d55b54e1e25c9315a07965fffd37ee
Reviewed-by: default avatarEike Ziller <eike.ziller@theqtcompany.com>
parent babb93a6
......@@ -29,6 +29,9 @@
#include "todoitemsmodel.h"
#include "todooutputtreeview.h"
#include <aggregation/aggregate.h>
#include <coreplugin/find/itemviewfind.h>
#include <QIcon>
#include <QHeaderView>
#include <QToolButton>
......@@ -185,6 +188,9 @@ void TodoOutputPane::createTreeView()
{
m_todoTreeView = new TodoOutputTreeView();
m_todoTreeView->setModel(m_todoItemsModel);
Aggregation::Aggregate *agg = new Aggregation::Aggregate;
agg->add(m_todoTreeView);
agg->add(new Core::ItemViewFind(m_todoTreeView));
connect(m_todoTreeView, &TodoOutputTreeView::activated, this, &TodoOutputPane::todoTreeViewClicked);
}
......
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