Skip to content
Permalink
Browse files
Sipify update
  • Loading branch information
nyalldawson committed May 14, 2017
1 parent ac94345 commit 14882058ba8420a31d2cd828cb09cc7c5fade542
Showing with 11 additions and 5 deletions.
  1. +11 −5 python/gui/editorwidgets/core/qgseditorwidgetregistry.sip
@@ -13,15 +13,24 @@
class QgsEditorWidgetRegistry : QObject
{
%Docstring
This class manages all known edit widget factories
This class manages all known edit widget factories.

QgsEditorWidgetRegistry is not usually directly created, but rather accessed through
QgsGui.editorWidgetRegistry().
%End

%TypeHeaderCode
#include "qgseditorwidgetregistry.h"
%End
public:

static void initEditors( QgsMapCanvas *mapCanvas = 0, QgsMessageBar *messageBar = 0 );
QgsEditorWidgetRegistry();
%Docstring
Constructor for QgsEditorWidgetRegistry. QgsEditorWidgetRegistry is not usually directly created, but rather accessed through
QgsGui.editorWidgetRegistry().
%End

void initEditors( QgsMapCanvas *mapCanvas = 0, QgsMessageBar *messageBar = 0 );
%Docstring
Registers all the default widgets.
Only call this once on startup of an application.
@@ -162,9 +171,6 @@ class QgsEditorWidgetRegistry : QObject
\param plugin The plugin (ownership is transferred)
%End

protected:
QgsEditorWidgetRegistry();

};

/************************************************************************

0 comments on commit 1488205

Please sign in to comment.