File tree Expand file tree Collapse file tree 1 file changed +11
-5
lines changed
python/gui/editorwidgets/core Expand file tree Collapse file tree 1 file changed +11
-5
lines changed Original file line number Diff line number Diff line change 13
13
class QgsEditorWidgetRegistry : QObject
14
14
{
15
15
%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().
17
20
%End
18
21
19
22
%TypeHeaderCode
20
23
#include "qgseditorwidgetregistry.h"
21
24
%End
22
25
public:
23
26
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 );
25
34
%Docstring
26
35
Registers all the default widgets.
27
36
Only call this once on startup of an application.
@@ -162,9 +171,6 @@ class QgsEditorWidgetRegistry : QObject
162
171
\param plugin The plugin (ownership is transferred)
163
172
%End
164
173
165
- protected:
166
- QgsEditorWidgetRegistry();
167
-
168
174
};
169
175
170
176
/************************************************************************
You can’t perform that action at this time.
0 commit comments