27 #include "../../../datatype/DateTimeProperty.h"
28 #include "../../../geometry/GeometryProperty.h"
29 #include "../../../st/core/observation/ObservationDataSetInfo.h"
33 #include "ui_ObservationPropertiesWidgetForm.h"
34 #include "ui_TemporalPropertiesWidgetForm.h"
43 QGridLayout* propLayout =
new QGridLayout(
this);
47 QGridLayout* tempPropLayout =
new QGridLayout(
m_propWidget->getForm()->m_temporalPropertiesFrame);
48 tempPropLayout->setContentsMargins(0, 0, 0, 0);
58 std::list<te::st::ObservationDataSetInfo*> obsInfos;
60 std::list<te::da::DataSetTypePtr>::const_iterator typesItBegin = m_dataTypes.begin();
61 std::list<te::da::DataSetTypePtr>::const_iterator typesItEnd = m_dataTypes.end();
63 while(typesItBegin != typesItEnd)
68 if(m_tempPropWidget->getForm()->m_avancedGroupBox->isEnabled())
83 obsInfos.push_back(obsInfo);
97 m_dataTypes = dataTypes;
98 m_tempPropWidget->setUp(dataTypes.front());
99 m_propWidget->setUp(dataTypes.front());
A class that contains infos about a DataSet that contains observations.
std::auto_ptr< ObservationPropertiesWidget > m_propWidget
The widget used to configure the unique ObservationLayer's properties.
void setVlTimePropInfo(te::dt::DateTimeProperty *tpInfo)
It sets the property info that contains the valid time.
void setIdPropInfo(int idProp)
It sets the index of the DataSet property that contains identifiers that groups the observations...
void setRsTimePropInfo(te::dt::DateTimeProperty *tpInfo)
It sets the property info that contains the result time.
std::auto_ptr< TemporalPropertiesWidget > m_tempPropWidget
The widget used to configure the general TrajectoryLayer's properties.
~ObservationPropertiesWizardPage()
void setTimePropInfo(te::dt::DateTimeProperty *tpInfo)
It sets the property info that contains the phenomenon time.
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.
void set(const std::list< te::da::DataSetTypePtr > dataTypes)
void setGeomPropInfo(te::gm::GeometryProperty *prop)
It sets the info about the property that contains the observation location.
void setObsPropInfo(const std::vector< int > &props)
It sets the indexes of the DataSet properties that are observed over time.
std::list< te::st::ObservationDataSetInfo * > getInfo(const te::da::DataSourceInfoPtr dsInfo)
ObservationPropertiesWizardPage(QWidget *parent=0)
boost::shared_ptr< DataSourceInfo > DataSourceInfoPtr