2017-05-07 17:59:12 +10:00
|
|
|
/************************************************************************
|
|
|
|
* This file has been generated automatically from *
|
|
|
|
* *
|
|
|
|
* src/gui/qgsgui.h *
|
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class QgsGui
|
|
|
|
{
|
|
|
|
%Docstring
|
|
|
|
QgsGui is a singleton class containing various registry and other global members
|
|
|
|
related to GUI classes.
|
|
|
|
.. versionadded:: 3.0
|
|
|
|
%End
|
|
|
|
|
|
|
|
%TypeHeaderCode
|
|
|
|
#include "qgsgui.h"
|
|
|
|
%End
|
|
|
|
public:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
static QgsGui *instance();
|
|
|
|
%Docstring
|
|
|
|
Returns a pointer to the singleton instance.
|
|
|
|
:rtype: QgsGui
|
|
|
|
%End
|
|
|
|
|
2017-05-15 09:56:52 +10:00
|
|
|
|
2017-05-07 17:59:12 +10:00
|
|
|
static QgsEditorWidgetRegistry *editorWidgetRegistry();
|
|
|
|
%Docstring
|
|
|
|
Returns the global editor widget registry, used for managing all known edit widget factories.
|
|
|
|
:rtype: QgsEditorWidgetRegistry
|
|
|
|
%End
|
|
|
|
|
2017-05-07 18:08:31 +10:00
|
|
|
static QgsShortcutsManager *shortcutsManager();
|
|
|
|
%Docstring
|
|
|
|
Returns the global shortcuts manager, used for managing a QAction and QShortcut sequences.
|
|
|
|
:rtype: QgsShortcutsManager
|
|
|
|
%End
|
|
|
|
|
2017-05-07 18:15:55 +10:00
|
|
|
static QgsLayerTreeEmbeddedWidgetRegistry *layerTreeEmbeddedWidgetRegistry();
|
|
|
|
%Docstring
|
|
|
|
Returns the global layer tree embedded widget registry, used for registering widgets that may be embedded into layer tree view.
|
|
|
|
:rtype: QgsLayerTreeEmbeddedWidgetRegistry
|
|
|
|
%End
|
|
|
|
|
2017-05-07 20:34:03 +10:00
|
|
|
static QgsMapLayerActionRegistry *mapLayerActionRegistry();
|
|
|
|
%Docstring
|
|
|
|
Returns the global map layer action registry, used for registering map layer actions.
|
|
|
|
:rtype: QgsMapLayerActionRegistry
|
|
|
|
%End
|
|
|
|
|
2017-05-07 17:59:12 +10:00
|
|
|
~QgsGui();
|
|
|
|
|
|
|
|
private:
|
|
|
|
QgsGui( const QgsGui &other );
|
|
|
|
};
|
|
|
|
|
|
|
|
/************************************************************************
|
|
|
|
* This file has been generated automatically from *
|
|
|
|
* *
|
|
|
|
* src/gui/qgsgui.h *
|
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|