Help: Remove the now duplicate side bar code for central widget

By adding the open pages widget to the shared help widget for the mode
widget.

Change-Id: Ib2d63134d1e17356a285ad048529c50e151a2354
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
This commit is contained in:
Eike Ziller
2014-10-13 19:40:39 +02:00
committed by Eike Ziller
parent 8fcf27fd42
commit f4b3f20cf2
4 changed files with 77 additions and 165 deletions

View File

@@ -84,6 +84,7 @@ public:
void openFromSearch(const QUrl &url, bool newPage = false);
void showTopicChooser(const QMap<QString, QUrl> &links, const QString &key,
bool newPage = false);
void activateSideBarItem(const QString &id);
public slots:
void setSource(const QUrl &url);
@@ -117,6 +118,7 @@ private:
void print(HelpViewer *viewer);
void highlightSearchTerms();
void addSideBar();
QString sideBarSettingsKey() const;
Core::IContext *m_context;
WidgetStyle m_style;
@@ -145,6 +147,7 @@ private:
QAction *m_indexAction;
QAction *m_bookmarkAction;
QAction *m_searchAction;
QAction *m_openPagesAction;
};
} // Internal