33 this->variant = variant;
34 this->dataFieldIdentifier = dataFieldIdentifier;
39 label =
new QLabel(
this);
40 label->setGeometry(5, 0, 600, 25);
41 label->setText((dataFieldIdentifier->getIdentifierStr() +
" = ").c_str());
42 label->setWordWrap(
false);
44 label->setTextInteractionFlags(Qt::TextSelectableByMouse);
51 this->enableEdit = enableEdit;
62 DataFieldWidget::setupLayout()
69 variantWidget =
new VariantWidget(variant,
this);
70 variantWidget->setGeometry(label->width() + 5 + 5, 0, 430, 200);
72 variantWidget->show();