Skip to content

Commit

Permalink
[SIP] add missing argument in QgsEditorWidgetRegistry::QgsEditorWidge…
Browse files Browse the repository at this point in the history
…tWrapper
  • Loading branch information
3nids committed Sep 16, 2014
1 parent 1fb524f commit bcc6647
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
7 changes: 6 additions & 1 deletion python/gui/editorwidgets/core/qgseditorwidgetregistry.sip
Expand Up @@ -45,7 +45,12 @@ class QgsEditorWidgetRegistry : QObject
*
* @return A new widget wrapper
*/
QgsEditorWidgetWrapper* create( const QString& widgetId, QgsVectorLayer* vl, int fieldIdx, const QgsEditorWidgetConfig& config, QWidget* editor = NULL, QWidget* parent = NULL ) /Factory/;
QgsEditorWidgetWrapper* create( const QString& widgetId,
QgsVectorLayer* vl,
int fieldIdx,
const QgsEditorWidgetConfig& config,
QWidget* editor, QWidget* parent,
const QgsAttributeEditorContext context = QgsAttributeEditorContext() ) /Factory/;

/**
* Creates a configuration widget
Expand Down
7 changes: 6 additions & 1 deletion src/gui/editorwidgets/core/qgseditorwidgetregistry.h
Expand Up @@ -55,7 +55,12 @@ class GUI_EXPORT QgsEditorWidgetRegistry : public QObject
*
* @return A new widget wrapper
*/
QgsEditorWidgetWrapper* create( const QString& widgetId, QgsVectorLayer* vl, int fieldIdx, const QgsEditorWidgetConfig& config, QWidget* editor, QWidget* parent, const QgsAttributeEditorContext context = QgsAttributeEditorContext() );
QgsEditorWidgetWrapper* create( const QString& widgetId,
QgsVectorLayer* vl,
int fieldIdx,
const QgsEditorWidgetConfig& config,
QWidget* editor, QWidget* parent,
const QgsAttributeEditorContext context = QgsAttributeEditorContext() );

/**
* Creates a configuration widget
Expand Down

0 comments on commit bcc6647

Please sign in to comment.