A widget used to adjust a Observation layer's properties.
More...
#include <ObservationPropertiesWidget.h>
A widget used to adjust a Observation layer's properties.
Definition at line 57 of file ObservationPropertiesWidget.h.
◆ ObservationPropertiesWidget()
te::qt::widgets::ObservationPropertiesWidget::ObservationPropertiesWidget |
( |
QWidget * |
parent = 0 , |
|
|
Qt::WindowFlags |
f = 0 |
|
) |
| |
Constructor.
- Parameters
-
dataSetType | The datasetType that will be used to generate a ObservationLayer. |
parent | this widget's parent |
f | Window flags used to configure this widget |
◆ ~ObservationPropertiesWidget()
te::qt::widgets::ObservationPropertiesWidget::~ObservationPropertiesWidget |
( |
| ) |
|
◆ getForm()
Ui::ObservationPropertiesWidgetForm * te::qt::widgets::ObservationPropertiesWidget::getForm |
( |
| ) |
|
Returns a pointer to the widget's form.
- Returns
- A ObservationPropertiesWidgetForm type pointer to the widget's form.
- Note
- The caller will not take ownership of the returned pointer.
◆ getGeometryId()
int te::qt::widgets::ObservationPropertiesWidget::getGeometryId |
( |
| ) |
|
Returns the index of the temporal property geometry.
- Returns
- The index of the temporal property geometry
- Note
- Will return an invalid index if the dataSeType hasn't been given.
◆ getGeometryPropName()
std::string te::qt::widgets::ObservationPropertiesWidget::getGeometryPropName |
( |
| ) |
|
\brief Returns the name of the property that holds the geometry
\return The name of the property that holds the geometry
◆ getIdIndex()
int te::qt::widgets::ObservationPropertiesWidget::getIdIndex |
( |
| ) |
|
Returns the index of the observation ID.
- Returns
- The index of the observation ID
- Note
- Will return an invalid index if the dataSeType hasn't been given.
◆ getIdPropName()
std::string te::qt::widgets::ObservationPropertiesWidget::getIdPropName |
( |
| ) |
|
\brief Returns the name of the property that holds the observation ID
\return The name of the property that holds the observation ID
◆ getOutputPropNames()
std::vector< std::string > te::qt::widgets::ObservationPropertiesWidget::getOutputPropNames |
( |
| ) |
|
Returns a vector containing the names of the observed properties.
- Returns
- A vector containing the names of the observed properties.
◆ getOutputValues()
std::vector< int > te::qt::widgets::ObservationPropertiesWidget::getOutputValues |
( |
| ) |
|
Returns a vector containing the indexes of the observed properties.
- Returns
- A vector containing the indexes of the observed properties.
◆ setUp()
Adjusts the widget's components based on the given datasettype.
- Parameters
-
dataType | The datasetType that will be used to configure the widget. |
◆ m_dataType
◆ m_obsWidget
std::unique_ptr<DoubleListWidget> te::qt::widgets::ObservationPropertiesWidget::m_obsWidget |
|
private |
◆ m_ui
std::unique_ptr<Ui::ObservationPropertiesWidgetForm> te::qt::widgets::ObservationPropertiesWidget::m_ui |
|
private |
The documentation for this class was generated from the following file: