Add find support to the help side panel.

Task:     248199
This commit is contained in:
con
2009-03-17 17:47:14 +01:00
parent cc89dcc75b
commit a0631d294b
3 changed files with 96 additions and 0 deletions

View File

@@ -373,6 +373,9 @@ void HelpPlugin::createRightPaneSideBar()
rightPaneLayout->addWidget(rightPaneToolBar);
m_helpViewerForSideBar = new HelpViewer(m_helpEngine, 0);
Aggregation::Aggregate *agg = new Aggregation::Aggregate();
agg->add(m_helpViewerForSideBar);
agg->add(new HelpViewerFindSupport(m_helpViewerForSideBar));
rightPaneLayout->addWidget(m_helpViewerForSideBar);
m_core->addContextObject(new Core::BaseContext(m_helpViewerForSideBar, QList<int>()
<< m_core->uniqueIDManager()->uniqueIdentifier(Constants::C_HELP_SIDEBAR),