27 #include "../../../geometry/Enums.h" 28 #include "../../../geometry/GeometryProperty.h" 30 #include "ui_GeometryPropertyWidgetForm.h" 35 m_ui(new
Ui::GeometryPropertyWidgetForm)
119 int index =
m_ui->m_typeComboBox->currentIndex();
120 int type =
m_ui->m_typeComboBox->itemData(index).toInt();
128 if(
m_ui->m_sridLineEdit->text().isEmpty() ==
false)
131 int srid =
m_ui->m_sridLineEdit->text().toInt(&ok);
GeomType
Each enumerated type is compatible with a Well-known Binary (WKB) type code.
void setSRID(int srid)
It sets the spatial reference system identifier associated to this property.
void setGeometryType(GeomType t)
It sets the geometry subtype.
An atomic property like an integer or double.