27 #include "../../../dataaccess.h"
28 #include "../../../datatype/Property.h"
32 #include "ui_DoubleListWidgetForm.h"
33 #include "ui_ObservationDialogForm.h"
34 #include "ui_TemporalPropertiesWidgetForm.h"
38 m_ui(new Ui::ObservationDialogForm)
47 std::vector<std::string> properties;
64 QGridLayout* propLayout =
new QGridLayout(
m_ui->m_propertiesWidgetFrame);
65 QVBoxLayout *vboxLayout =
new QVBoxLayout;
69 m_ui->m_uniquePropertiesGroupBox->setLayout(vboxLayout);
70 this->layout()->setSizeConstraint(QLayout::SetFixedSize);
virtual std::string getPropertyName(std::size_t i) const =0
It returns the property name at position pos.
virtual std::size_t getNumProperties() const =0
It returns the number of properties that composes an item of the dataset.
void onHelpPushButtonClicked()
void onOkPushButtonClicked()
A widget used to adjust a temporal layer's properties.
std::auto_ptr< DoubleListWidget > m_observedPropWidget
virtual int getPropertyDataType(std::size_t i) const =0
It returns the underlying data type of the property at position pos.
std::auto_ptr< Ui::ObservationDialogForm > m_ui
The dialog form.
~ObservationDialog()
Destructor.
boost::intrusive_ptr< AbstractLayer > AbstractLayerPtr
std::auto_ptr< TemporalPropertiesWidget > m_propertiesWidget
The widget used to configure the ObservationLayer's properties.
ObservationDialog(te::map::AbstractLayerPtr layer, QWidget *parent=0, Qt::WindowFlags f=0)
Constructor.
A dataset is the unit of information manipulated by the data access module of TerraLib.