Skip to content

Commit 1488205

Browse files
committedMay 14, 2017
Sipify update
1 parent ac94345 commit 1488205

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed
 

‎python/gui/editorwidgets/core/qgseditorwidgetregistry.sip

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,24 @@
1313
class QgsEditorWidgetRegistry : QObject
1414
{
1515
%Docstring
16-
This class manages all known edit widget factories
16+
This class manages all known edit widget factories.
17+
18+
QgsEditorWidgetRegistry is not usually directly created, but rather accessed through
19+
QgsGui.editorWidgetRegistry().
1720
%End
1821

1922
%TypeHeaderCode
2023
#include "qgseditorwidgetregistry.h"
2124
%End
2225
public:
2326

24-
static void initEditors( QgsMapCanvas *mapCanvas = 0, QgsMessageBar *messageBar = 0 );
27+
QgsEditorWidgetRegistry();
28+
%Docstring
29+
Constructor for QgsEditorWidgetRegistry. QgsEditorWidgetRegistry is not usually directly created, but rather accessed through
30+
QgsGui.editorWidgetRegistry().
31+
%End
32+
33+
void initEditors( QgsMapCanvas *mapCanvas = 0, QgsMessageBar *messageBar = 0 );
2534
%Docstring
2635
Registers all the default widgets.
2736
Only call this once on startup of an application.
@@ -162,9 +171,6 @@ class QgsEditorWidgetRegistry : QObject
162171
\param plugin The plugin (ownership is transferred)
163172
%End
164173

165-
protected:
166-
QgsEditorWidgetRegistry();
167-
168174
};
169175

170176
/************************************************************************

0 commit comments

Comments
 (0)
Please sign in to comment.