A widget used to adjust a time series layer's properties. More...
#include <TimeSeriesPropertiesWidget.h>
Public Member Functions | |
Ui::TimeSeriesPropertiesWidgetForm * | 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 ID of each timeSeries in the dataset. More... | |
std::string | getIdPropName () |
Returns the name of the property that holds the ID of each timeSeries in the dataset. More... | |
int | getValueIndex () |
Returns the index of the attribute values associated to each time series in the dataset. More... | |
std::string | getValuePropName () |
Returns the name of the property that holds the attribute values associated to each time series in the dataset. More... | |
void | setUp (const te::da::DataSetTypePtr dataType) |
Adjusts the widget's components based on the given datasettype. More... | |
TimeSeriesPropertiesWidget (QWidget *parent=0, Qt::WindowFlags f=0) | |
Constructor. More... | |
~TimeSeriesPropertiesWidget () | |
Destructor. More... | |
Protected Slots | |
void | onPropertyComboBoxIndexChanged (QString text) |
Private Attributes | |
te::da::DataSetTypePtr | m_dataType |
The datasetType that will be used to generate the spatio-temporal layer. More... | |
std::auto_ptr < Ui::TimeSeriesPropertiesWidgetForm > | m_ui |
The widget's form. More... | |
A widget used to adjust a time series layer's properties.
Definition at line 52 of file TimeSeriesPropertiesWidget.h.
te::qt::widgets::TimeSeriesPropertiesWidget::TimeSeriesPropertiesWidget | ( | QWidget * | parent = 0 , |
Qt::WindowFlags | f = 0 |
||
) |
Constructor.
dataSet | The dataset that will be used to generate a TemporalLayer. |
parent | this widget's parent |
f | Window flags used to configure this widget |
Definition at line 35 of file TimeSeriesPropertiesWidget.cpp.
References m_ui.
te::qt::widgets::TimeSeriesPropertiesWidget::~TimeSeriesPropertiesWidget | ( | ) |
Destructor.
Definition at line 43 of file TimeSeriesPropertiesWidget.cpp.
Ui::TimeSeriesPropertiesWidgetForm * te::qt::widgets::TimeSeriesPropertiesWidget::getForm | ( | ) |
Returns a pointer to the widget's form.
Definition at line 47 of file TimeSeriesPropertiesWidget.cpp.
int te::qt::widgets::TimeSeriesPropertiesWidget::getGeometryId | ( | ) |
Returns the index of the temporal property geometry.
Definition at line 83 of file TimeSeriesPropertiesWidget.cpp.
std::string te::qt::widgets::TimeSeriesPropertiesWidget::getGeometryPropName | ( | ) |
Returns the name of the property that holds the geometry.
Definition at line 78 of file TimeSeriesPropertiesWidget.cpp.
int te::qt::widgets::TimeSeriesPropertiesWidget::getIdIndex | ( | ) |
Returns the index of the ID of each timeSeries in the dataset.
Definition at line 57 of file TimeSeriesPropertiesWidget.cpp.
std::string te::qt::widgets::TimeSeriesPropertiesWidget::getIdPropName | ( | ) |
Returns the name of the property that holds the ID of each timeSeries in the dataset.
Definition at line 52 of file TimeSeriesPropertiesWidget.cpp.
int te::qt::widgets::TimeSeriesPropertiesWidget::getValueIndex | ( | ) |
Returns the index of the attribute values associated to each time series in the dataset.
Definition at line 70 of file TimeSeriesPropertiesWidget.cpp.
std::string te::qt::widgets::TimeSeriesPropertiesWidget::getValuePropName | ( | ) |
Returns the name of the property that holds the attribute values associated to each time series in the dataset.
Definition at line 65 of file TimeSeriesPropertiesWidget.cpp.
|
protectedslot |
Definition at line 114 of file TimeSeriesPropertiesWidget.cpp.
void te::qt::widgets::TimeSeriesPropertiesWidget::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. |
Definition at line 91 of file TimeSeriesPropertiesWidget.cpp.
References te::dt::DATETIME_TYPE, and te::dt::GEOMETRY_TYPE.
|
private |
The datasetType that will be used to generate the spatio-temporal layer.
Definition at line 146 of file TimeSeriesPropertiesWidget.h.
|
private |
The widget's form.
Definition at line 145 of file TimeSeriesPropertiesWidget.h.
Referenced by TimeSeriesPropertiesWidget().