Loading...
Searching...
No Matches
te::qt::widgets::TrajectoryPropertiesWidget Class Reference

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

#include <TrajectoryPropertiesWidget.h>

Inheritance diagram for te::qt::widgets::TrajectoryPropertiesWidget:

Public Member Functions

Ui::TrajectoryPropertiesWidgetForm * getForm ()
 Returns a pointer to the widget's form.
 
std::string getGeometryId ()
 Returns the name of the property that holds the temporal property geometry.
 
int getId ()
 Returns the index of the temporal property id.
 
void setUp (const te::da::DataSetTypePtr dataType)
 Adjusts the widget's components based on the given datasettype.
 
 TrajectoryPropertiesWidget (QWidget *parent=0, Qt::WindowFlags f=0)
 Constructor.
 
 ~TrajectoryPropertiesWidget ()
 Destructor.
 

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

Detailed Description

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

Definition at line 54 of file TrajectoryPropertiesWidget.h.

Constructor & Destructor Documentation

◆ TrajectoryPropertiesWidget()

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

Constructor.

Parameters
dataSetTypeThe datasetType that will be used to generate a TrajectoryLayer.
parentthis widget's parent
fWindow flags used to configure this widget

◆ ~TrajectoryPropertiesWidget()

te::qt::widgets::TrajectoryPropertiesWidget::~TrajectoryPropertiesWidget ( )

Destructor.

Member Function Documentation

◆ getForm()

Ui::TrajectoryPropertiesWidgetForm * te::qt::widgets::TrajectoryPropertiesWidget::getForm ( )

Returns a pointer to the widget's form.

Returns
A TrajectoryPropertiesWidgetForm type pointer to the widget's form.
Note
The caller will not take ownership of the returned pointer.

◆ getGeometryId()

std::string te::qt::widgets::TrajectoryPropertiesWidget::getGeometryId ( )

Returns the name of the property that holds the temporal property geometry.

Returns
The name of the property that holds the temporal property geometry

◆ getId()

int te::qt::widgets::TrajectoryPropertiesWidget::getId ( )

Returns the index of the temporal property id.

Returns
The temporal property id
Note
Will return an invalid index if the dataSeType hasn't been given.

◆ onPropertyComboBoxIndexChanged

void te::qt::widgets::TrajectoryPropertiesWidget::onPropertyComboBoxIndexChanged ( QString  text)
protectedslot

◆ setUp()

void te::qt::widgets::TrajectoryPropertiesWidget::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

◆ m_dataType

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

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

Definition at line 112 of file TrajectoryPropertiesWidget.h.

◆ m_ui

std::unique_ptr<Ui::TrajectoryPropertiesWidgetForm> te::qt::widgets::TrajectoryPropertiesWidget::m_ui
private

The widget's form.

Definition at line 111 of file TrajectoryPropertiesWidget.h.


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