QGIS/python/gui/auto_generated/qgshelp.sip.in

66 lines
2.1 KiB
Plaintext
Raw Normal View History

2017-05-23 14:45:44 +02:00
/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/qgshelp.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
2016-12-29 12:38:27 +02:00
class QgsHelp
2016-12-28 15:38:10 +02:00
{
2017-05-23 14:45:44 +02:00
%Docstring
Helper class for showing help topic URI for the given key.
2017-05-23 14:45:44 +02:00
2017-12-15 10:36:55 -04:00
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.
2017-05-23 14:45:44 +02:00
2017-12-15 10:36:55 -04:00
URI construction takes in account following information:
- QGIS version
- language of the QGIS UI
2017-05-23 14:45:44 +02:00
2017-12-15 10:36:55 -04:00
If no help found, default error page with information how to setup
help system will be shown.
2017-05-23 14:45:44 +02:00
.. versionadded:: 3.0
2016-12-28 15:38:10 +02:00
%End
2017-05-23 14:45:44 +02:00
%TypeHeaderCode
#include "qgshelp.h"
%End
2016-12-28 15:38:10 +02:00
public:
static void openHelp( const QString &key );
2017-05-23 14:45:44 +02:00
%Docstring
2017-12-15 10:36:55 -04:00
Opens help topic for the given help key using default system
web browser. If help topic not found, builtin error page shown.
2017-12-15 21:36:08 -04:00
2017-12-15 10:36:55 -04:00
:param key: key which identified help topic
2017-05-23 14:45:44 +02:00
.. versionadded:: 3.0
%End
2016-12-28 15:38:10 +02:00
static QUrl helpUrl( const QString &key );
2017-05-23 14:45:44 +02:00
%Docstring
2017-12-15 10:36:55 -04:00
Returns URI of the help topic for the given key. If help topic
not found, URI of the builtin error page returned.
2017-12-15 21:36:08 -04:00
:param key: key which identified help topic
2017-12-15 10:36:55 -04:00
2017-05-23 14:45:44 +02:00
.. versionadded:: 3.0
%End
2016-12-28 15:38:10 +02:00
};
2017-05-23 14:45:44 +02:00
/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/qgshelp.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/