A widget used to adjust a time series layer's properties.
More...
#include <TimeSeriesPropertiesWidget.h>
A widget used to adjust a time series layer's properties.
Definition at line 54 of file TimeSeriesPropertiesWidget.h.
◆ TimeSeriesPropertiesWidget()
te::qt::widgets::TimeSeriesPropertiesWidget::TimeSeriesPropertiesWidget |
( |
QWidget * |
parent = 0 , |
|
|
Qt::WindowFlags |
f = 0 |
|
) |
| |
Constructor.
- Parameters
-
dataSet | The dataset that will be used to generate a TemporalLayer. |
parent | this widget's parent |
f | Window flags used to configure this widget |
◆ ~TimeSeriesPropertiesWidget()
te::qt::widgets::TimeSeriesPropertiesWidget::~TimeSeriesPropertiesWidget |
( |
| ) |
|
◆ getForm()
Ui::TimeSeriesPropertiesWidgetForm * te::qt::widgets::TimeSeriesPropertiesWidget::getForm |
( |
| ) |
|
Returns a pointer to the widget's form.
- Returns
- A TimeSeriesPropertiesWidgetForm type pointer to the widget's form.
- Note
- The caller will not take ownership of the returned pointer.
◆ getGeometryId()
int te::qt::widgets::TimeSeriesPropertiesWidget::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::TimeSeriesPropertiesWidget::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::TimeSeriesPropertiesWidget::getIdIndex |
( |
| ) |
|
Returns the index of the ID of each timeSeries in the dataset.
- Returns
- The index of the ID of each timeSeries in the dataset
- Note
- Will return an invalid index if the dataSeType hasn't been given.
◆ getIdPropName()
std::string te::qt::widgets::TimeSeriesPropertiesWidget::getIdPropName |
( |
| ) |
|
\brief Returns the name of the property that holds the ID of each timeSeries in the dataset
\return The name of the property that holds the ID of each timeSeries in the dataset
◆ getValueIndex()
int te::qt::widgets::TimeSeriesPropertiesWidget::getValueIndex |
( |
| ) |
|
Returns the index of the attribute values associated to each time series in the dataset.
- Returns
- The index of the attribute values associated to each time series in the dataset
- Note
- Will return an invalid index if the dataSeType hasn't been given.
◆ getValuePropName()
std::string te::qt::widgets::TimeSeriesPropertiesWidget::getValuePropName |
( |
| ) |
|
\brief Returns the name of the property that holds the attribute values associated to each time series in the dataset
\return The name of the property that holds the the attribute values associated to each time series in the dataset
◆ onPropertyComboBoxIndexChanged
void te::qt::widgets::TimeSeriesPropertiesWidget::onPropertyComboBoxIndexChanged |
( |
QString |
text | ) |
|
|
protectedslot |
◆ 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_ui
std::unique_ptr<Ui::TimeSeriesPropertiesWidgetForm> te::qt::widgets::TimeSeriesPropertiesWidget::m_ui |
|
private |
The documentation for this class was generated from the following file: