A widget used to adjust a Observation layer's properties. More...
#include <ObservationPropertiesWidget.h>
Public Member Functions | |
Ui::ObservationPropertiesWidgetForm * | getForm () |
Returns a pointer to the widget's form. More... | |
int | getGeometryId () |
Returns the index of the temporal property geometry. More... | |
std::string | getGeometryPropName () |
Returns the name of the property that holds the geometry. More... | |
int | getIdIndex () |
Returns the index of the observation ID. More... | |
std::string | getIdPropName () |
Returns the name of the property that holds the observation ID. More... | |
std::vector< std::string > | getOutputPropNames () |
Returns a vector containing the names of the observed properties. More... | |
std::vector< int > | getOutputValues () |
Returns a vector containing the indexes of the observed properties. More... | |
ObservationPropertiesWidget (QWidget *parent=0, Qt::WindowFlags f=0) | |
Constructor. More... | |
void | setUp (const te::da::DataSetTypePtr dataType) |
Adjusts the widget's components based on the given datasettype. More... | |
~ObservationPropertiesWidget () | |
Destructor. More... | |
Private Attributes | |
te::da::DataSetTypePtr | m_dataType |
The datasetType that will be used to generate the spatio-temporal layer. More... | |
std::auto_ptr< DoubleListWidget > | m_obsWidget |
The widget used to select the observed properties. More... | |
std::auto_ptr< Ui::ObservationPropertiesWidgetForm > | m_ui |
The widget's form. More... | |
A widget used to adjust a Observation layer's properties.
Definition at line 57 of file ObservationPropertiesWidget.h.
te::qt::widgets::ObservationPropertiesWidget::ObservationPropertiesWidget | ( | QWidget * | parent = 0 , |
Qt::WindowFlags | f = 0 |
||
) |
Constructor.
dataSetType | The datasetType that will be used to generate a ObservationLayer. |
parent | this widget's parent |
f | Window flags used to configure this widget |
te::qt::widgets::ObservationPropertiesWidget::~ObservationPropertiesWidget | ( | ) |
Destructor.
Ui::ObservationPropertiesWidgetForm* te::qt::widgets::ObservationPropertiesWidget::getForm | ( | ) |
Returns a pointer to the widget's form.
int te::qt::widgets::ObservationPropertiesWidget::getGeometryId | ( | ) |
Returns the index of the temporal property geometry.
std::string te::qt::widgets::ObservationPropertiesWidget::getGeometryPropName | ( | ) |
Returns the name of the property that holds the geometry.
int te::qt::widgets::ObservationPropertiesWidget::getIdIndex | ( | ) |
Returns the index of the observation ID.
std::string te::qt::widgets::ObservationPropertiesWidget::getIdPropName | ( | ) |
Returns the name of the property that holds the observation ID.
std::vector<std::string> te::qt::widgets::ObservationPropertiesWidget::getOutputPropNames | ( | ) |
Returns a vector containing the names of the observed properties.
std::vector<int> te::qt::widgets::ObservationPropertiesWidget::getOutputValues | ( | ) |
Returns a vector containing the indexes of the observed properties.
void te::qt::widgets::ObservationPropertiesWidget::setUp | ( | const te::da::DataSetTypePtr | dataType | ) |
Adjusts the widget's components based on the given datasettype.
dataType | The datasetType that will be used to configure the widget. |
|
private |
The datasetType that will be used to generate the spatio-temporal layer.
Definition at line 143 of file ObservationPropertiesWidget.h.
|
private |
The widget used to select the observed properties.
Definition at line 141 of file ObservationPropertiesWidget.h.
|
private |
The widget's form.
Definition at line 142 of file ObservationPropertiesWidget.h.