22 #include "../../../datatype/SimpleProperty.h"
24 #include <ui_AddColumnDialogForm.h>
28 if(propertyType.compare(QObject::tr(
"Integer")))
30 else if(propertyType.compare(QObject::tr(
"Real")))
32 if(propertyType.compare(QObject::tr(
"String")))
34 if(propertyType.compare(QObject::tr(
"Date")))
43 m_ui.reset(
new Ui::AddColumnDialogForm);
46 m_ui->m_helpBTN->setPageReference(
"widgets/table/addColumn.html");
48 connect(
m_ui->m_cancelBTN, SIGNAL(pressed()), SLOT(reject()));
49 connect(
m_ui->m_okBTN, SIGNAL(pressed()), SLOT(accept()));
60 pr->
setName(m_ui->m_colNameLNE->text().toStdString());
67 m_ui->m_tblNameCBB->addItem(name.c_str());
An atomic property like an integer or double.
te::dt::Property * getNewProperty() const
std::auto_ptr< Ui::AddColumnDialogForm > m_ui
void setName(const std::string &name)
It sets the property name.
A Qt dialog for inserting columns into a table.
void setTableName(const std::string &name)
te::dt::Property * GetProperty(const QString &propertyType)
AddColumnDialog(QWidget *parent=0)
It models a property definition.