summaryrefslogtreecommitdiff
path: root/src/plugins/help/helpwidget.h
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@digia.com>2014-10-01 17:52:57 +0200
committerEike Ziller <eike.ziller@theqtcompany.com>2014-10-13 11:17:13 +0200
commit3c59cdd0319fbf1099f378907aeac514d1d57810 (patch)
treef23f085d9bd6636bc58feba8556f005c665f0d66 /src/plugins/help/helpwidget.h
parent286dd71a5d9cf79cb42d70543347fb5a915eddae (diff)
downloadqt-creator-3c59cdd0319fbf1099f378907aeac514d1d57810.tar.gz
Add index and filter combo box to external help window
Change-Id: Icc815379220c55d9d7dc5d154278ba21ce2e9984 Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
Diffstat (limited to 'src/plugins/help/helpwidget.h')
-rw-r--r--src/plugins/help/helpwidget.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/plugins/help/helpwidget.h b/src/plugins/help/helpwidget.h
index bd00034881..d81e9a17ae 100644
--- a/src/plugins/help/helpwidget.h
+++ b/src/plugins/help/helpwidget.h
@@ -44,6 +44,11 @@ class QPrinter;
class QStackedWidget;
QT_END_NAMESPACE
+namespace Core {
+class MiniSplitter;
+class SideBar;
+}
+
namespace Help {
namespace Internal {
@@ -74,6 +79,10 @@ public:
int viewerCount() const;
HelpViewer *viewerAt(int index) const;
+ void open(const QUrl &url, bool newPage = false);
+ void showTopicChooser(const QMap<QString, QUrl> &links, const QString &key,
+ bool newPage = false);
+
public slots:
void setSource(const QUrl &url);
void setSourceFromSearch(const QUrl &url);
@@ -106,9 +115,11 @@ private:
void resetScale();
void print(HelpViewer *viewer);
void highlightSearchTerms();
+ void addSideBar();
Core::IContext *m_context;
WidgetStyle m_style;
+ QAction *m_toggleSideBarAction;
QAction *m_switchToHelp;
QAction *m_homeAction;
QMenu *m_backMenu;
@@ -126,6 +137,10 @@ private:
QStackedWidget *m_viewerStack;
QPrinter *m_printer;
+
+ Core::MiniSplitter *m_sideBarSplitter;
+ Core::SideBar *m_sideBar;
+ QAction *m_indexAction;
};
} // Internal