27 mWidget->
setList( QVariantList() );
35 QFrame *ret =
new QFrame( parent );
36 ret->setFrameShape( QFrame::StyledPanel );
37 QHBoxLayout *layout =
new QHBoxLayout( ret );
39 ret->setMinimumSize( QSize( 320, 110 ) );
61 return mWidget ? mWidget->
valid() :
true;
66 mWidget->
setList( value.toList() );
72 if ( !mWidget )
return QVariant( type );
73 if ( type == QVariant::StringList )
76 const QVariantList list = mWidget->
list();
77 for ( QVariantList::const_iterator it = list.constBegin(); it != list.constEnd(); ++it )
78 result.append( it->toString() );
82 return QVariant( mWidget->
list() );
85 void QgsListWidgetWrapper::onValueChanged()
90 void QgsListWidgetWrapper::updateConstraintWidgetStatus()
Represents a vector layer which manages a vector based data sets.