Skip to content
Permalink
Browse files

Custom widgets: make sure config can loaded from the project

Apparently sip cannot handle private virtual methods
  • Loading branch information
m-kuhn committed Mar 18, 2015
1 parent 4789c23 commit e41fd5445383751d004519c9766776437c0a6dfe
@@ -122,7 +122,6 @@ class QgsEditorWidgetFactory
*/
virtual QVariant createCache( QgsVectorLayer* vl, int fieldIdx, const QgsEditorWidgetConfig& config );

private:
/**
* Read the config from an XML file and map it to a proper {@link QgsEditorWidgetConfig}.
*
@@ -134,6 +133,7 @@ class QgsEditorWidgetFactory
*/
virtual QgsEditorWidgetConfig readConfig( const QDomElement& configElement, QgsVectorLayer* layer, int fieldIdx );

private:
/**
* This method allows disabling this editor widget type for a certain field.
* By default, it returns true for all fields.
@@ -136,7 +136,6 @@ class GUI_EXPORT QgsEditorWidgetFactory
*/
virtual QVariant createCache( QgsVectorLayer* vl, int fieldIdx, const QgsEditorWidgetConfig& config );

private:
/**
* Read the config from an XML file and map it to a proper {@link QgsEditorWidgetConfig}.
*
@@ -148,6 +147,7 @@ class GUI_EXPORT QgsEditorWidgetFactory
*/
virtual QgsEditorWidgetConfig readConfig( const QDomElement& configElement, QgsVectorLayer* layer, int fieldIdx );

private:
/**
* This method allows disabling this editor widget type for a certain field.
* By default, it returns true for all fields.

0 comments on commit e41fd54

Please sign in to comment.
You can’t perform that action at this time.