All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 
)
te::qt::widgets::TemporalPropertiesWidget::~TemporalPropertiesWidget ( )

Destructor.

Definition at line 72 of file TemporalPropertiesWidget.cpp.

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.

Definition at line 121 of file TemporalPropertiesWidget.cpp.

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

Returns the index of the datetime type.

Returns
The index of the datetime type.

Definition at line 96 of file TemporalPropertiesWidget.cpp.

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.

Definition at line 76 of file TemporalPropertiesWidget.cpp.

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

Returns the selected ordinal type.

Returns
The selected Ordinal Type.

Definition at line 101 of file TemporalPropertiesWidget.cpp.

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.

Definition at line 81 of file TemporalPropertiesWidget.cpp.

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.

Definition at line 86 of file TemporalPropertiesWidget.cpp.

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

Returns the selected temporal unit.

Returns
The selected temporal unit.

Definition at line 106 of file TemporalPropertiesWidget.cpp.

std::string te::qt::widgets::TemporalPropertiesWidget::getTemporalValue ( )

Returns a custom (user-defined) temporal unit.

Returns
A custom (user-defined) temporal unit

Definition at line 111 of file TemporalPropertiesWidget.cpp.

std::string te::qt::widgets::TemporalPropertiesWidget::getUserOrdinalType ( )

Returns a custom (user-defined) Ordinal Type.

Returns
A custom (user-defined) Ordinal Type.

Definition at line 116 of file TemporalPropertiesWidget.cpp.

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.

Definition at line 91 of file TemporalPropertiesWidget.cpp.

void te::qt::widgets::TemporalPropertiesWidget::onOrdTypeCBCurrentIndexChanged ( int  index)
protectedslot

Definition at line 145 of file TemporalPropertiesWidget.cpp.

Referenced by TemporalPropertiesWidget().

void te::qt::widgets::TemporalPropertiesWidget::onTypeCBCurrentIndexChanged ( int  index)
protectedslot
void te::qt::widgets::TemporalPropertiesWidget::onUnitTypeCBCurrentIndexChanged ( int  index)
protectedslot

Definition at line 153 of file TemporalPropertiesWidget.cpp.

References te::dt::UNKNOWN.

Referenced by TemporalPropertiesWidget().

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.

Definition at line 161 of file TemporalPropertiesWidget.cpp.

References te::dt::DATETIME_TYPE.

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.

Referenced by TemporalPropertiesWidget().


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