te::qt::widgets::TemporalPropertiesWidget Class Reference

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

#include <TemporalPropertiesWidget.h>

Inheritance diagram for te::qt::widgets::TemporalPropertiesWidget:

Public Member Functions

int getDateFormat ()
 Returns the format that the indicates how the date will be displayed. More...
 
int getDateType ()
 Returns the index of the datetime type. More...
 
Ui::TemporalPropertiesWidgetForm * getForm ()
 Returns a pointer to the widget's form. More...
 
int getOrdinalType ()
 Returns the selected ordinal type. More...
 
std::string getPhenomenonTime ()
 Returns the name of the property that holds the Phenomenom Time. More...
 
std::string getResultTime ()
 Returns the name of the property that holds the Result Time. More...
 
int getTemporalUnit ()
 Returns the selected temporal unit. More...
 
std::string getTemporalValue ()
 Returns a custom (user-defined) temporal unit. More...
 
std::string getUserOrdinalType ()
 Returns a custom (user-defined) Ordinal Type. More...
 
std::string getValidTime ()
 Returns the name of the property that holds the Valid Time. More...
 
void setUp (const te::da::DataSetTypePtr dataType)
 Adjusts the widget values according to the given datasettype. More...
 
 TemporalPropertiesWidget (QWidget *parent=0, Qt::WindowFlags f=0)
 Constructor. More...
 
 ~TemporalPropertiesWidget ()
 Destructor. More...
 

Protected Slots

void onOrdTypeCBCurrentIndexChanged (int index)
 
void onTypeCBCurrentIndexChanged (int index)
 
void onUnitTypeCBCurrentIndexChanged (int index)
 

Private Attributes

te::da::DataSetTypePtr m_dataType
 The datasetType that will be used to generate the spatio-temporal layer. More...
 
std::auto_ptr< Ui::TemporalPropertiesWidgetForm > m_ui
 The widget's form. More...
 

Detailed Description

A widget used to adjust a temporal layer's properties.

Definition at line 56 of file TemporalPropertiesWidget.h.

Constructor & Destructor Documentation

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

Constructor.

Parameters
parentthis widget's parent
fWindow flags used to configure this widget
te::qt::widgets::TemporalPropertiesWidget::~TemporalPropertiesWidget ( )

Destructor.

Member Function Documentation

int te::qt::widgets::TemporalPropertiesWidget::getDateFormat ( )

Returns the format that the indicates how the date will be displayed.

Returns
The format that the indicates how the date will be displayed.
int te::qt::widgets::TemporalPropertiesWidget::getDateType ( )

Returns the index of the datetime type.

Returns
The index of the datetime type.
Ui::TemporalPropertiesWidgetForm* te::qt::widgets::TemporalPropertiesWidget::getForm ( )

Returns a pointer to the widget's form.

Returns
A TemporalPropertiesWidgetForm type pointer to the widget's form.
Note
The caller will not take ownership of the returned pointer.
int te::qt::widgets::TemporalPropertiesWidget::getOrdinalType ( )

Returns the selected ordinal type.

Returns
The selected Ordinal Type.
std::string te::qt::widgets::TemporalPropertiesWidget::getPhenomenonTime ( )

Returns the name of the property that holds the Phenomenom Time.

Returns
The name of the property that holds the Phenomenom Time.
std::string te::qt::widgets::TemporalPropertiesWidget::getResultTime ( )

Returns the name of the property that holds the Result Time.

Returns
The name of the property that holds the result Time.
int te::qt::widgets::TemporalPropertiesWidget::getTemporalUnit ( )

Returns the selected temporal unit.

Returns
The selected temporal unit.
std::string te::qt::widgets::TemporalPropertiesWidget::getTemporalValue ( )

Returns a custom (user-defined) temporal unit.

Returns
A custom (user-defined) temporal unit
std::string te::qt::widgets::TemporalPropertiesWidget::getUserOrdinalType ( )

Returns a custom (user-defined) Ordinal Type.

Returns
A custom (user-defined) Ordinal Type.
std::string te::qt::widgets::TemporalPropertiesWidget::getValidTime ( )

Returns the name of the property that holds the Valid Time.

Returns
The name of the property that holds the valid Time.
void te::qt::widgets::TemporalPropertiesWidget::onOrdTypeCBCurrentIndexChanged ( int  index)
protectedslot
void te::qt::widgets::TemporalPropertiesWidget::onTypeCBCurrentIndexChanged ( int  index)
protectedslot
void te::qt::widgets::TemporalPropertiesWidget::onUnitTypeCBCurrentIndexChanged ( int  index)
protectedslot
void te::qt::widgets::TemporalPropertiesWidget::setUp ( const te::da::DataSetTypePtr  dataType)

Adjusts the widget values according to the given datasettype.

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

Member Data Documentation

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

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

Definition at line 166 of file TemporalPropertiesWidget.h.

std::auto_ptr<Ui::TemporalPropertiesWidgetForm> te::qt::widgets::TemporalPropertiesWidget::m_ui
private

The widget's form.

Definition at line 165 of file TemporalPropertiesWidget.h.


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