31 v = mLineEdit->text();
40 return new QLineEdit( parent );
45 mLineEdit = qobject_cast<QLineEdit *>( editor );
46 mLabel = qobject_cast<QLabel *>( editor );
48 mLineEdit->setEnabled(
false );
53 return mLineEdit || mLabel;
56 void QgsUuidWidgetWrapper::updateValues(
const QVariant &
value,
const QVariantList & )
61 mLineEdit->setText( QUuid::createUuid().toString() );
63 mLabel->setText( QUuid::createUuid().toString() );
70 mLineEdit->setText(
value.toString() );
72 mLabel->setText(
value.toString() );
Represents a vector layer which manages a vector based data sets.