10#include <QtWidgets/QTabBar>
11#include <QtWidgets/QWidget>
28 int addNewTab(
const QString &title);
37 void addBookmark(
const QString &title,
const QString &url);
40 TabBar(QWidget *parent =
nullptr);
44 void slotTabCloseRequested(
int index);
45 void slotCustomContextMenuRequested(
const QPoint &pos);
73#if QT_CONFIG(clipboard)
97 void find(
const QString &text,
bool forward,
bool incremental);
106#if QT_CONFIG(clipboard)
113 void addBookmark(
const QString &title,
const QString &url);
121 void printPreviewToPrinter(QPrinter *printer);
122 void handleSourceChanged(
const QUrl &url);
123 void slotHighlighted(
const QUrl& link);
128 bool eventFilter(QObject *object, QEvent *e)
override;
130 void removePage(
int index);
132 void addPage(
HelpViewer *page,
bool fromSearch =
false);
139 QStackedWidget *m_stackedWidget;
141 QHash<QUrl, QUrl> m_resolvedLinks;
QString documentTitle() const
void setText(const QString &text, const QByteArray &resources)
void setPixmap(const QPixmap &pixmap)
QSize minimumSizeHint() const override
QVariant loadResource(int type, const QUrl &name) override
This function is called when the document is loaded and for each image in the document.
void doSetSource(const QUrl &name, QTextDocument::ResourceType type) override
Attempts to load the document at the given url with the specified type.
void setText(const QString &text, const QByteArray &resources)
~BookmarkTreeView() override
void subclassKeyPressEvent(QKeyEvent *event)
void setBookmarksToolbar(QToolBar *toolBar)
void setSource(const QUrl &url)
void setSourceInNewTab(const QUrl &url)
QWidget * bookmarkDockWidget() const
~BookmarkManager() override
bool eventFilter(QObject *object, QEvent *event) override
Filters events if this object has been installed as an event filter for the watched object.
ShowState contents() const
ShowState bookmarks() const
bool enableRemoteControl() const
bool collectionFileGiven() const
void expandToDepth(int depth)
QAction * findAction() const
QAction * zoomInAction() const
QAction * nextAction() const
QAction * homeAction() const
QAction * backAction() const
QAction * printAction() const
QAction * zoomOutAction() const
QHelpFilterEngine * filterEngine() const
QHelpSearchEngine * searchEngine() const
static HelpEngineWrapper & instance()
bool addressBarEnabled() const
bool addressBarVisible() const
void setUseBrowserFont(bool useBrowserFont)
bool hasFontSettings() const
QHelpIndexModel * indexModel() const
bool filterFunctionalityEnabled() const
void initialDocSetupDone()
bool filterToolbarVisible() const
void setUseAppFont(bool useAppFont)
QHelpContentModel * contentModel() const
void closeEvent(QCloseEvent *event) override
[21]
void setIndexString(const QString &str)
void setBookmarksVisible(bool visible)
static void activateCurrentBrowser()
void activateCurrentCentralWidgetTab()
void expandTOC(int depth)
void setIndexVisible(bool visible)
void setSearchVisible(bool visible)
void currentFilterChanged(const QString &filter)
bool usesDefaultCollection() const
QAbstractItemView * openPagesWidget() const
HelpViewer * createNewPageFromSearch(const QUrl &url)
void pageAdded(int index)
HelpViewer * createBlankPage()
static OpenPagesManager * instance()
void updateApplicationFont()
void updateUserInterface()
void docsInstalled(bool newDocsInstalled)
void setCurrent(HelpViewer *viewer)
void removeTabAt(HelpViewer *viewer)
Combined button and popup list for selecting options.
@ warnAboutMissingModules
static const char * docs[]
static QStringList newQtDocumentation()