te::qt::widgets::TimeSeriesPropertiesWidget Class Reference

A widget used to adjust a time series layer's properties. More...

#include <TimeSeriesPropertiesWidget.h>

Inheritance diagram for te::qt::widgets::TimeSeriesPropertiesWidget:

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...
 

Detailed Description

A widget used to adjust a time series layer's properties.

Definition at line 52 of file TimeSeriesPropertiesWidget.h.

Constructor & Destructor Documentation

te::qt::widgets::TimeSeriesPropertiesWidget::TimeSeriesPropertiesWidget ( QWidget *  parent = 0,
Qt::WindowFlags  f = 0 
)

Constructor.

Parameters
dataSetThe dataset that will be used to generate a TemporalLayer.
parentthis widget's parent
fWindow flags used to configure this widget
te::qt::widgets::TimeSeriesPropertiesWidget::~TimeSeriesPropertiesWidget ( )

Destructor.

Member Function Documentation

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.
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.
std::string te::qt::widgets::TimeSeriesPropertiesWidget::getGeometryPropName ( )

Returns the name of the property that holds the geometry.

Returns
The name of the property that holds the geometry
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.
std::string te::qt::widgets::TimeSeriesPropertiesWidget::getIdPropName ( )

Returns the name of the property that holds the ID of each timeSeries in the dataset.

Returns
The name of the property that holds the ID of each timeSeries in the dataset
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.
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.

Returns
The name of the property that holds the the attribute values associated to each time series in the dataset
void te::qt::widgets::TimeSeriesPropertiesWidget::onPropertyComboBoxIndexChanged ( QString  text)
protectedslot
void te::qt::widgets::TimeSeriesPropertiesWidget::setUp ( const te::da::DataSetTypePtr  dataType)

Adjusts the widget's components based on the given datasettype.

Parameters
dataTypeThe datasetType that will be used to configure the widget.

Member Data Documentation

te::da::DataSetTypePtr te::qt::widgets::TimeSeriesPropertiesWidget::m_dataType
private

The datasetType that will be used to generate the spatio-temporal layer.

Definition at line 146 of file TimeSeriesPropertiesWidget.h.

std::auto_ptr<Ui::TimeSeriesPropertiesWidgetForm> te::qt::widgets::TimeSeriesPropertiesWidget::m_ui
private

The widget's form.

Definition at line 145 of file TimeSeriesPropertiesWidget.h.


The documentation for this class was generated from the following file: