27 #include "../../../geometry/Enums.h"
28 #include "../../../geometry/GeometryProperty.h"
30 #include "ui_GeometryPropertyWidgetForm.h"
35 m_ui(new Ui::GeometryPropertyWidgetForm)
122 int index = m_ui->m_typeComboBox->currentIndex();
123 int type = m_ui->m_typeComboBox->itemData(index).toInt();
131 if(m_ui->m_sridLineEdit->text().isEmpty() ==
false)
134 int srid = m_ui->m_sridLineEdit->text().toInt(&ok);
void setGeometryType(GeomType t)
It sets the geometry subtype.
An atomic property like an integer or double.
GeometryPropertyWidget(QWidget *parent=0)
std::auto_ptr< Ui::GeometryPropertyWidgetForm > m_ui
GeomType
Each enumerated type is compatible with a Well-known Binary (WKB) type code.
~GeometryPropertyWidget()
Defines the GeometryPropertyWidget class.
virtual void fillProperty(te::dt::SimpleProperty *sp)
A base widget for simple properties.
void setSRID(int srid)
It sets the spatial reference system identifier associated to this property.