27 #include "../../../datatype/Enums.h"
28 #include "../../../datatype/StringProperty.h"
30 #include "ui_StringPropertyWidgetForm.h"
35 m_ui(new Ui::StringPropertyWidgetForm)
52 int index = m_ui->m_typeComboBox->currentIndex();
53 int type = m_ui->m_typeComboBox->itemData(index).toInt();
61 if(m_ui->m_sizeLineEdit->text().isEmpty() ==
false)
64 unsigned int size = m_ui->m_sizeLineEdit->text().toUInt(&ok);
StringType
The subtype of string property.
An atomic property like an integer or double.
void setSubtype(StringType t)
It sets the string property sub type.
void setSize(std::size_t s)
It sets the maximum number of characters for a varying string, or the number of characters for a fixe...
The type for string types: FIXED_STRING, VAR_STRING or STRING.