mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
91 lines
3.0 KiB
Plaintext
91 lines
3.0 KiB
Plaintext
/************************************************************************
|
|
* 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.
|
|
%End
|
|
|
|
|
|
static QgsEditorWidgetRegistry *editorWidgetRegistry();
|
|
%Docstring
|
|
Returns the global editor widget registry, used for managing all known edit widget factories.
|
|
%End
|
|
|
|
static QgsSourceSelectProviderRegistry *sourceSelectProviderRegistry();
|
|
%Docstring
|
|
Returns the global source select provider registry, used for managing all known source select widget factories.
|
|
%End
|
|
|
|
static QgsShortcutsManager *shortcutsManager();
|
|
%Docstring
|
|
Returns the global shortcuts manager, used for managing a QAction and QShortcut sequences.
|
|
%End
|
|
|
|
static QgsLayerTreeEmbeddedWidgetRegistry *layerTreeEmbeddedWidgetRegistry();
|
|
%Docstring
|
|
Returns the global layer tree embedded widget registry, used for registering widgets that may be embedded into layer tree view.
|
|
%End
|
|
|
|
static QgsMapLayerActionRegistry *mapLayerActionRegistry();
|
|
%Docstring
|
|
Returns the global map layer action registry, used for registering map layer actions.
|
|
%End
|
|
|
|
static QgsLayoutItemGuiRegistry *layoutItemGuiRegistry();
|
|
%Docstring
|
|
Returns the global layout item GUI registry, used for registering the GUI behavior of layout items.
|
|
%End
|
|
|
|
static QgsProcessingGuiRegistry *processingGuiRegistry();
|
|
%Docstring
|
|
Returns the global processing gui registry, used for registering the GUI behavior of processing algorithms.
|
|
|
|
.. versionadded:: 3.2
|
|
%End
|
|
|
|
static void enableAutoGeometryRestore( QWidget *widget, const QString &key = QString() );
|
|
%Docstring
|
|
Register the widget to allow its position to be automatically saved and restored when open and closed.
|
|
Use this to avoid needing to call saveGeometry() and restoreGeometry() on your widget.
|
|
%End
|
|
|
|
~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 *
|
|
************************************************************************/
|