23QgsProcessingModelGroupBox::QgsProcessingModelGroupBox(
const QString &description )
24 : QgsProcessingModelComponent( description )
25 , mUuid( QUuid::createUuid().toString() )
27 setSize( QSizeF( 400, 360 ) );
30QgsProcessingModelGroupBox *QgsProcessingModelGroupBox::clone()
const
32 return new QgsProcessingModelGroupBox( *
this );
35QVariant QgsProcessingModelGroupBox::toVariant()
const
38 map.insert( QStringLiteral(
"uuid" ), mUuid );
39 saveCommonProperties( map );
43bool QgsProcessingModelGroupBox::loadVariant(
const QVariantMap &map,
bool ignoreUuid )
45 restoreCommonProperties( map );
47 mUuid = map.value( QStringLiteral(
"uuid" ) ).toString();
51QString QgsProcessingModelGroupBox::uuid()
const