2
* \class QgsContextHelp
3
* \brief Provides a context based help browser for a dialog.
5
* The help text is stored in SQLite and accessed by a context identifier
6
* unique to each dialog. This is a singleton class which invokes the help
7
* viewer using QProcess and ensures that only one viewer is open.
8
* The viewer will be terminated if open when the main application quits.
10
* If the compile-time flag QGSCONTEXTHELP_REUSE is defined, the help viewer
11
* will be reused if it is still open. If this flag is not set, the viewer
12
* process will be terminated if open and restarted; this makes it the top
13
* window for window managers such as Linux/GNOME which will make a window
14
* active but not bring it to the top if raised programatically.
16
class QgsContextHelp : QObject
19
#include <qgscontexthelp.h>
23
static void run(QString context);
27
QgsContextHelp(QString context);