Skip to content

Commit

Permalink
Sipify update
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed May 14, 2017
1 parent ac94345 commit 1488205
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions python/gui/editorwidgets/core/qgseditorwidgetregistry.sip
Expand Up @@ -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.
Expand Down Expand Up @@ -162,9 +171,6 @@ class QgsEditorWidgetRegistry : QObject
\param plugin The plugin (ownership is transferred)
%End

protected:
QgsEditorWidgetRegistry();

};

/************************************************************************
Expand Down

0 comments on commit 1488205

Please sign in to comment.