27 #include "../../../dataaccess/dataset/DataSetType.h" 28 #include "../utils/DoubleListWidget.h" 30 #include "ui_ConstraintWidgetForm.h" 31 #include "ui_DoubleListWidgetForm.h" 34 #include <QMessageBox> 38 m_ui(new
Ui::ConstraintWidgetForm)
47 QGridLayout* layout =
new QGridLayout(
m_ui->m_widget);
55 std::vector<std::string> propValues;
76 if(
m_ui->m_nameLineEdit->text().isEmpty())
78 QMessageBox::warning(
this, tr(
"Warning"), tr(
"Constraint name not defined."));
82 std::string constraintName =
m_ui->m_nameLineEdit->text().toUtf8().data();
89 QMessageBox::warning(
this, tr(
"Warning"), tr(
"No property selected."));
Property * getProperty(std::size_t i) const
It returns the i-th property.
A class that models the description of a dataset.
const std::vector< Property * > & getProperties() const
It returns the list of properties describing the CompositeProperty.
const std::string & getName() const
It returns the property name.