forked from qt-creator/qt-creator
Help: Make it possible to create multiple index views
This unfortunately means doing the filtering by hand, because filtering on the QHelpIndexModel would be shared between multiple views. Change-Id: Iae38952a92dbb1b4a9685aea6f057d96f0d0784f Reviewed-by: Eike Ziller <eike.ziller@digia.com>
This commit is contained in:
@@ -299,10 +299,10 @@ void HelpPlugin::setupUi()
|
||||
indexWindow->setWindowTitle(tr(SB_INDEX));
|
||||
m_indexItem = new SideBarItem(indexWindow, QLatin1String(SB_INDEX));
|
||||
|
||||
connect(indexWindow, SIGNAL(linkActivated(QUrl)), m_centralWidget,
|
||||
SLOT(setSource(QUrl)));
|
||||
connect(indexWindow, SIGNAL(linksActivated(QMap<QString,QUrl>,QString)),
|
||||
m_centralWidget, SLOT(showTopicChooser(QMap<QString,QUrl>,QString)));
|
||||
connect(indexWindow, &IndexWindow::linkActivated,
|
||||
m_centralWidget, &CentralWidget::open);
|
||||
connect(indexWindow, &IndexWindow::linksActivated,
|
||||
m_centralWidget, &CentralWidget::showTopicChooser);
|
||||
|
||||
QMap<QString, Command*> shortcutMap;
|
||||
QAction *action = new QAction(tr("Activate Index in Help mode"), m_splitter);
|
||||
|
||||
Reference in New Issue
Block a user