22 #include <ui_RetypeColumnDialogForm.h> 92 return "UNKNOWN TYPE";
124 m_ui.reset(
new Ui::RetypeColumnDialogForm);
127 connect (
m_ui->m_okPushButton, SIGNAL(pressed()), SLOT(accept()));
128 connect (
m_ui->m_cancelPushButton, SIGNAL(pressed()), SLOT(reject()));
135 m_ui->m_tableNameLineEdit->setText(name);
145 m_ui->m_columnNameLineEdit->setText(name);
150 m_ui->m_sizeLineEdit->setText(QString::number(size));
160 return m_ui->m_sizeComboBox->currentText().toInt();
165 std::unique_ptr<te::dt::Property> res;
166 std::string name =
m_ui->m_columnNameLineEdit->text().toUtf8().data();
An atomic property like an integer or double.
It models a property definition.
General enumerations for the data type module.
The type for arbitrary precision numbers, like numeric(p, q).
The type for string types: FIXED_STRING, VAR_STRING or STRING.
The type for string types: FIXED_STRING, VAR_STRING or STRING.
QString GetSType(const int &te_type)
int GetType(const int &te_type)
The type for date and time types: date, date period, date duration, time duration, time instant, time period, time instant with time zone or time period with time zone.
The type for date and time types.
An atomic property like an integer or double.
int GetIType(const int &type)