A widget used to adjust a Trajectory layer's properties. More...
#include <TrajectoryPropertiesWidget.h>
Public Member Functions | |
| Ui::TrajectoryPropertiesWidgetForm * | getForm () |
| Returns a pointer to the widget's form. More... | |
| std::string | getGeometryId () |
| Returns the name of the property that holds the temporal property geometry. More... | |
| int | getId () |
| Returns the index of the temporal property id. More... | |
| void | setUp (const te::da::DataSetTypePtr dataType) |
| Adjusts the widget's components based on the given datasettype. More... | |
| TrajectoryPropertiesWidget (QWidget *parent=0, Qt::WindowFlags f=0) | |
| Constructor. More... | |
| ~TrajectoryPropertiesWidget () | |
| 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::unique_ptr< Ui::TrajectoryPropertiesWidgetForm > | m_ui |
| The widget's form. More... | |
A widget used to adjust a Trajectory layer's properties.
Definition at line 54 of file TrajectoryPropertiesWidget.h.
| te::qt::widgets::TrajectoryPropertiesWidget::TrajectoryPropertiesWidget | ( | QWidget * | parent = 0, |
| Qt::WindowFlags | f = 0 |
||
| ) |
Constructor.
| dataSetType | The datasetType that will be used to generate a TrajectoryLayer. |
| parent | this widget's parent |
| f | Window flags used to configure this widget |
Definition at line 35 of file TrajectoryPropertiesWidget.cpp.
References m_ui, and ~TrajectoryPropertiesWidget().
|
default |
Destructor.
Referenced by TrajectoryPropertiesWidget().
| Ui::TrajectoryPropertiesWidgetForm * te::qt::widgets::TrajectoryPropertiesWidget::getForm | ( | ) |
Returns a pointer to the widget's form.
Definition at line 45 of file TrajectoryPropertiesWidget.cpp.
References m_ui.
| std::string te::qt::widgets::TrajectoryPropertiesWidget::getGeometryId | ( | ) |
Returns the name of the property that holds the temporal property geometry.
Definition at line 58 of file TrajectoryPropertiesWidget.cpp.
References m_ui.
| int te::qt::widgets::TrajectoryPropertiesWidget::getId | ( | ) |
Returns the index of the temporal property id.
Definition at line 50 of file TrajectoryPropertiesWidget.cpp.
References m_dataType, and m_ui.
|
protectedslot |
Definition at line 86 of file TrajectoryPropertiesWidget.cpp.
| void te::qt::widgets::TrajectoryPropertiesWidget::setUp | ( | const te::da::DataSetTypePtr | dataType | ) |
Adjusts the widget's components based on the given datasettype.
| dataType | The datasetType that will be used to configure the widget. |
Definition at line 63 of file TrajectoryPropertiesWidget.cpp.
References te::dt::DATETIME_TYPE, te::dt::GEOMETRY_TYPE, m_dataType, and m_ui.
|
private |
The datasetType that will be used to generate the spatio-temporal layer.
Definition at line 112 of file TrajectoryPropertiesWidget.h.
|
private |
The widget's form.
Definition at line 111 of file TrajectoryPropertiesWidget.h.
Referenced by getForm(), getGeometryId(), getId(), setUp(), and TrajectoryPropertiesWidget().