4#ifndef HELPDOCSETTINGS_H
5#define HELPDOCSETTINGS_H
7#include <QtCore/QSharedDataPointer>
15class HelpDocSettings
final
23 HelpDocSettings &
operator=(
const HelpDocSettings &other);
24 HelpDocSettings &
operator=(HelpDocSettings &&other);
26 void swap(HelpDocSettings &other)
noexcept
37 static HelpDocSettings
readSettings(QHelpEngineCore *helpEngine);
38 static bool applySettings(QHelpEngineCore *helpEngine,
const HelpDocSettings &settings);
41 QSharedDataPointer<HelpDocSettingsPrivate> d;
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
bool syncToContent(const QUrl &url)
void focusInEvent(QFocusEvent *e) override
This event handler can be reimplemented in a subclass to receive keyboard focus events (focus receive...
void expandToDepth(int depth)
bool eventFilter(QObject *o, QEvent *e) override
Filters events if this object has been installed as an event filter for the watched object.
~ContentWindow() override
QAction * findAction() const
QAction * zoomInAction() const
QAction * nextAction() const
QList< QAction * > actionList() const
QAction * homeAction() const
QAction * backAction() const
QAction * printAction() const
QAction * zoomOutAction() const
HelpDocSettings(const HelpDocSettings &other)
bool removeDocumentation(const QString &namespaceName)
QString namespaceName(const QString &fileName) const
static bool applySettings(QHelpEngineCore *helpEngine, const HelpDocSettings &settings)
QMap< QString, QString > namespaceToFileName() const
static HelpDocSettings readSettings(QHelpEngineCore *helpEngine)
QList< QVersionNumber > versions() const
QStringList namespaces() const
HelpDocSettings(HelpDocSettings &&other)
HelpDocSettings & operator=(const HelpDocSettings &other)
void swap(HelpDocSettings &other) noexcept
QStringList components() const
HelpDocSettings & operator=(HelpDocSettings &&other)
bool addDocumentation(const QString &fileName)
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 focusInEvent(QFocusEvent *e) override
This event handler can be reimplemented in a subclass to receive keyboard focus events (focus receive...
void documentsActivated(const QList< QHelpLink > &documents, const QString &keyword)
void setSearchLineEditText(const QString &text)
bool eventFilter(QObject *obj, QEvent *e) override
Filters events if this object has been installed as an event filter for the watched object.
QString searchLineEditText() 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
void previousPageWithSwitcher()
QAbstractItemView * openPagesWidget() const
void setCurrentPage(HelpViewer *page)
bool pagesOpenForNamespace(const QString &nameSpace) const
HelpViewer * createNewPageFromSearch(const QUrl &url)
void pageAdded(int index)
void nextPageWithSwitcher()
void closePage(HelpViewer *page)
void reloadPages(const QString &nameSpace)
HelpViewer * createBlankPage()
static OpenPagesManager * instance()
void setCurrentPage(int index)
void closePages(const QString &nameSpace)
void aboutToClosePage(int index)
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()