30 this->variant = variant;
31 this->dataFieldIdentifier = dataFieldIdentifier;
36 label =
new QLabel(
this);
37 label->setGeometry(5, 0, 600, 25);
38 label->setText((dataFieldIdentifier->getIdentifierStr() +
" = ").c_str());
39 label->setWordWrap(
false);
41 label->setTextInteractionFlags(Qt::TextSelectableByMouse);
47 this->enableEdit = enableEdit;
58 void DataFieldWidget::setupLayout()
65 variantWidget =
new VariantWidget(variant,
this);
66 variantWidget->setGeometry(label->width() + 5 + 5, 0, 430, 200);
68 variantWidget->show();