2014-05-27 23:22:50 +02:00
|
|
|
/** \ingroup core
|
|
|
|
* Provides a context based help browser for a dialog.
|
2007-01-09 02:39:15 +00:00
|
|
|
*
|
|
|
|
* The help text is stored in SQLite and accessed by a context identifier
|
|
|
|
* unique to each dialog. This is a singleton class which invokes the help
|
|
|
|
* viewer using QProcess and ensures that only one viewer is open.
|
|
|
|
* The viewer will be terminated if open when the main application quits.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
class QgsContextHelp : QObject
|
|
|
|
{
|
|
|
|
%TypeHeaderCode
|
|
|
|
#include <qgscontexthelp.h>
|
|
|
|
%End
|
2012-09-24 02:28:15 +02:00
|
|
|
public:
|
2015-10-07 11:55:34 +11:00
|
|
|
static void run( const QString& context );
|
2007-01-09 02:39:15 +00:00
|
|
|
|
2012-09-24 02:28:15 +02:00
|
|
|
private:
|
|
|
|
//! Constructor
|
2014-05-27 23:22:50 +02:00
|
|
|
QgsContextHelp();
|
2012-09-24 02:28:15 +02:00
|
|
|
//! Destructor
|
|
|
|
~QgsContextHelp();
|
2007-01-09 02:39:15 +00:00
|
|
|
};
|