QGIS API Documentation 3.41.0-Master (25ec5511245)
Loading...
Searching...
No Matches
Static Public Member Functions | List of all members
QgsHelp Class Reference

Helper class for showing help topic URI for the given key. More...

#include <qgshelp.h>

Static Public Member Functions

static QUrl helpUrl (const QString &key)
 Returns URI of the help topic for the given key.
 
static void openHelp (const QString &key)
 Opens help topic for the given help key using default system web browser.
 

Detailed Description

Helper class for showing help topic URI for the given key.

Help can be stored online, on the local directory or on the intranet server. Location of the QGIS help can be configured in QGIS options. Multiple locations are supported, they will be used in order of preference, from top to bottom.

URI construction takes in account following information:

If no help found, default error page with information how to setup help system will be shown.

Definition at line 43 of file qgshelp.h.

Member Function Documentation

◆ helpUrl()

QUrl QgsHelp::helpUrl ( const QString &  key)
static

Returns URI of the help topic for the given key.

If help topic not found, URI of the builtin error page returned.

Parameters
keykey which identified help topic

Definition at line 44 of file qgshelp.cpp.

◆ openHelp()

void QgsHelp::openHelp ( const QString &  key)
static

Opens help topic for the given help key using default system web browser.

If help topic not found, builtin error page shown.

Parameters
keykey which identified help topic

Definition at line 39 of file qgshelp.cpp.


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