Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
HelpViewerPrivate Class Reference
Collaboration diagram for HelpViewerPrivate:

Classes

struct  HistoryItem

Public Member Functions

HistoryItem currentHistoryItem () const
void setSourceInternal (const QUrl &url, int *vscroll=nullptr, bool reload=false)
void incrementZoom (int steps)
void applyZoom (int percentage)
HistoryItem currentHistoryItem () const
void setSourceInternal (const QUrl &url, int *vscroll=nullptr, bool reload=false)
void incrementZoom (int steps)
void applyZoom (int percentage)

Public Attributes

HelpViewerq = nullptr
QLiteHtmlWidgetm_viewer = nullptr
std::vector< HistoryItemm_backItems
std::vector< HistoryItemm_forwardItems
int m_fontZoom = 100

Detailed Description

Definition at line 143 of file helpviewer.cpp.

Member Function Documentation

◆ applyZoom() [1/2]

void HelpViewerPrivate::applyZoom ( int percentage)

Definition at line 209 of file helpviewer.cpp.

References m_fontZoom.

Referenced by HelpViewer::HelpViewer(), incrementZoom(), and HelpViewer::resetScale().

Here is the caller graph for this function:

◆ applyZoom() [2/2]

void HelpViewerPrivate::applyZoom ( int percentage)

◆ currentHistoryItem() [1/2]

HelpViewerPrivate::HistoryItem HelpViewerPrivate::currentHistoryItem ( ) const

Definition at line 164 of file helpviewer.cpp.

Referenced by HelpViewer::backward(), and HelpViewer::forward().

Here is the caller graph for this function:

◆ currentHistoryItem() [2/2]

HistoryItem HelpViewerPrivate::currentHistoryItem ( ) const

◆ incrementZoom() [1/2]

void HelpViewerPrivate::incrementZoom ( int steps)

Definition at line 202 of file helpviewer.cpp.

References applyZoom(), and m_fontZoom.

Referenced by HelpViewer::eventFilter(), HelpViewer::scaleDown(), and HelpViewer::scaleUp().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ incrementZoom() [2/2]

void HelpViewerPrivate::incrementZoom ( int steps)

◆ setSourceInternal() [1/2]

void HelpViewerPrivate::setSourceInternal ( const QUrl & url,
int * vscroll = nullptr,
bool reload = false )

Definition at line 169 of file helpviewer.cpp.

References q.

◆ setSourceInternal() [2/2]

void HelpViewerPrivate::setSourceInternal ( const QUrl & url,
int * vscroll = nullptr,
bool reload = false )

Member Data Documentation

◆ m_backItems

std::vector< HistoryItem > HelpViewerPrivate::m_backItems

Definition at line 159 of file helpviewer.cpp.

◆ m_fontZoom

int HelpViewerPrivate::m_fontZoom = 100

Definition at line 161 of file helpviewer.cpp.

Referenced by applyZoom(), and incrementZoom().

◆ m_forwardItems

std::vector< HistoryItem > HelpViewerPrivate::m_forwardItems

Definition at line 160 of file helpviewer.cpp.

◆ m_viewer

QLiteHtmlWidget * HelpViewerPrivate::m_viewer = nullptr

Definition at line 158 of file helpviewer.cpp.

◆ q

HelpViewer * HelpViewerPrivate::q = nullptr

Definition at line 157 of file helpviewer.cpp.

Referenced by HelpViewer::HelpViewer(), and setSourceInternal().


The documentation for this class was generated from the following file: