mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-24 00:47:57 -05:00
- update methods of existing classes - add comment to methods missing in the sip bindings - split up collective sip files into single files and use same directory structure in python/ as in src/ - add a lot of missing classes (some might not make sense because of missing python methods in those classes) - remove some non-existing methods from the header files - add scripts/sipdiff - replace some usages of std::vector and std::set with QVector/QSet
31 lines
1005 B
Plaintext
31 lines
1005 B
Plaintext
/*!
|
|
* \class QgsContextHelp
|
|
* \brief Provides a context based help browser for a dialog.
|
|
*
|
|
* 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.
|
|
*
|
|
* If the compile-time flag QGSCONTEXTHELP_REUSE is defined, the help viewer
|
|
* will be reused if it is still open. If this flag is not set, the viewer
|
|
* process will be terminated if open and restarted; this makes it the top
|
|
* window for window managers such as Linux/GNOME which will make a window
|
|
* active but not bring it to the top if raised programatically.
|
|
*/
|
|
class QgsContextHelp : QObject
|
|
{
|
|
%TypeHeaderCode
|
|
#include <qgscontexthelp.h>
|
|
%End
|
|
|
|
public:
|
|
static void run(QString context);
|
|
|
|
private:
|
|
//! Constructor
|
|
QgsContextHelp( QString context );
|
|
//! Destructor
|
|
~QgsContextHelp();
|
|
};
|