30 qDeleteAll( mRelationWidgetFactories );
31 mRelationWidgetFactories.clear();
39 if ( mRelationWidgetFactories.contains( widgetFactory->
type() ) )
42 mRelationWidgetFactories.insert( widgetFactory->
type(), widgetFactory );
48 if ( widgetType == mDefaultWidgetType )
51 mRelationWidgetFactories.remove( widgetType );
56 return mRelationWidgetFactories.keys();
69 return mDefaultWidgetType;
74 return mRelationWidgetFactories;
79 if ( !mRelationWidgetFactories.contains( widgetType ) )
82 return mRelationWidgetFactories.value( widgetType )->create( config, parent );
87 if ( !mRelationWidgetFactories.contains( widgetType ) )
90 return mRelationWidgetFactories.value( widgetType )->configWidget( relation, parent );
Represents a relationship between two vector layers.