8#if defined(QLITEHTML_LIBRARY)
9# define QLITEHTML_EXPORT Q_DECL_EXPORT
10#elif defined(QLITEHTML_STATIC_LIBRARY)
11# define QLITEHTML_EXPORT
13# define QLITEHTML_EXPORT Q_DECL_IMPORT
static HelpEngineWrapper & instance()
HistoryItem currentHistoryItem() const
std::vector< HistoryItem > m_backItems
std::vector< HistoryItem > m_forwardItems
void applyZoom(int percentage)
QLiteHtmlWidget * m_viewer
void incrementZoom(int steps)
void setSourceInternal(const QUrl &url, int *vscroll=nullptr, bool reload=false)
void setViewerFont(const QFont &font)
void setSource(const QUrl &url)
QString selectedText() const
bool isForwardAvailable() const
bool findText(const QString &text, FindFlags flags, bool incremental, bool fromSearch)
bool isBackwardAvailable() const
bool eventFilter(QObject *src, QEvent *event) override
Filters events if this object has been installed as an event filter for the watched object.
static QByteArray getData(const QUrl &url)
static QTextDocument::FindFlags textDocumentFlagsForFindFlags(HelpViewer::FindFlags flags)
const int kMaxHistoryItems
Combined button and popup list for selecting options.