Loading...
Searching...
No Matches
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.
 
int getDateType ()
 Returns the index of the datetime type.
 
Ui::TemporalPropertiesWidgetForm * getForm ()
 Returns a pointer to the widget's form.
 
int getOrdinalType ()
 Returns the selected ordinal type.
 
std::string getPhenomenonTime ()
 Returns the name of the property that holds the Phenomenom Time.
 
std::string getResultTime ()
 Returns the name of the property that holds the Result Time.
 
int getTemporalUnit ()
 Returns the selected temporal unit.
 
std::string getTemporalValue ()
 Returns a custom (user-defined) temporal unit.
 
std::string getUserOrdinalType ()
 Returns a custom (user-defined) Ordinal Type.
 
std::string getValidTime ()
 Returns the name of the property that holds the Valid Time.
 
void setUp (const te::da::DataSetTypePtr dataType)
 Adjusts the widget values according to the given datasettype.
 
 TemporalPropertiesWidget (QWidget *parent=0, Qt::WindowFlags f=0)
 Constructor.
 
 ~TemporalPropertiesWidget ()
 Destructor.
 

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.
 
std::unique_ptr< Ui::TemporalPropertiesWidgetForm > m_ui
 The widget's form.
 

Detailed Description

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

Definition at line 58 of file TemporalPropertiesWidget.h.

Constructor & Destructor Documentation

◆ TemporalPropertiesWidget()

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

◆ ~TemporalPropertiesWidget()

te::qt::widgets::TemporalPropertiesWidget::~TemporalPropertiesWidget ( )

Destructor.

Member Function Documentation

◆ getDateFormat()

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.

◆ getDateType()

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

Returns the index of the datetime type.

Returns
The index of the datetime type.

◆ getForm()

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.

◆ getOrdinalType()

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

Returns the selected ordinal type.

Returns
The selected Ordinal Type.

◆ getPhenomenonTime()

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.

◆ getResultTime()

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.

◆ getTemporalUnit()

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

Returns the selected temporal unit.

Returns
The selected temporal unit.

◆ getTemporalValue()

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

Returns a custom (user-defined) temporal unit.

Returns
A custom (user-defined) temporal unit

◆ getUserOrdinalType()

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

Returns a custom (user-defined) Ordinal Type.

Returns
A custom (user-defined) Ordinal Type.

◆ getValidTime()

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.

◆ onOrdTypeCBCurrentIndexChanged

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

◆ onTypeCBCurrentIndexChanged

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

◆ onUnitTypeCBCurrentIndexChanged

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

◆ setUp()

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

◆ m_dataType

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 168 of file TemporalPropertiesWidget.h.

◆ m_ui

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

The widget's form.

Definition at line 167 of file TemporalPropertiesWidget.h.


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