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 92 of file helpviewer.cpp.

Member Function Documentation

◆ applyZoom() [1/2]

void HelpViewerPrivate::applyZoom ( int percentage)

Definition at line 153 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 113 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 146 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 118 of file helpviewer.cpp.

◆ 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 108 of file helpviewer.cpp.

◆ m_fontZoom

int HelpViewerPrivate::m_fontZoom = 100

Definition at line 110 of file helpviewer.cpp.

Referenced by applyZoom(), and incrementZoom().

◆ m_forwardItems

std::vector< HistoryItem > HelpViewerPrivate::m_forwardItems

Definition at line 109 of file helpviewer.cpp.

◆ m_viewer

QLiteHtmlWidget * HelpViewerPrivate::m_viewer = nullptr

Definition at line 107 of file helpviewer.cpp.

◆ q

HelpViewer * HelpViewerPrivate::q = nullptr

Definition at line 106 of file helpviewer.cpp.

Referenced by HelpViewer::HelpViewer().


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