A class to represent a chart display. More...
#include <DataPropertiesWidget.h>
Signals | |
void | itemChanged () |
Public Member Functions | |
DatapPropertiesWidget (QWidget *parent=0, Qt::WindowFlags f=0) | |
Constructor. More... | |
std::auto_ptr< te::da::DataSetTypeConverter > | getConverter () |
Returns a pointer to the generated DataSetTypeConverter. More... | |
te::da::DataSetType * | getDataSetType () |
Returns a pointer to the widget's dataSetType. More... | |
te::da::DataSource * | getDataSource () |
Returns a pointer to the widget's dataSource. More... | |
Ui::DataPropertiesWidgetForm * | getForm () const |
~DatapPropertiesWidget () | |
Destructor. More... | |
Protected Slots | |
void | onGeomPropertyChecked (int checked) |
void | onInputDataToolButtonTriggered () |
void | onPropertyTypeChanged (int index) |
void | onSridPushButtonCLicked () |
Private Attributes | |
te::da::DataSourcePtr | m_dataSource |
The DataSource that will be generated by this widget. More... | |
std::auto_ptr< te::da::DataSetType > | m_dataType |
The DataSetType that will be generated by this widget. More... | |
std::auto_ptr< te::da::DataSetTypeConverter > | m_dsConverter |
The DataSetConverter that will be configured by this widget. More... | |
QSignalMapper * | m_mapper |
The mapper used to know which property was configured. More... | |
std::auto_ptr< DataSetTableView > | m_tblView |
The widget used to preview the data of the new dataset. More... | |
std::map< int, std::string > | m_typeMap |
A map that correlates a terralib type with a label. More... | |
std::auto_ptr< Ui::DataPropertiesWidgetForm > | m_ui |
The widget's form. More... | |
A class to represent a chart display.
Definition at line 62 of file DataPropertiesWidget.h.
te::qt::widgets::DatapPropertiesWidget::DatapPropertiesWidget | ( | QWidget * | parent = 0 , |
Qt::WindowFlags | f = 0 |
||
) |
Constructor.
It constructs a DatapPropertiesWidget.
parent | this widget's parent |
f | Window flags used to configure this widget |
Definition at line 143 of file DataPropertiesWidget.cpp.
References buidTypeMap(), m_mapper, m_tblView, m_typeMap, m_ui, onInputDataToolButtonTriggered(), onPropertyTypeChanged(), and onSridPushButtonCLicked().
te::qt::widgets::DatapPropertiesWidget::~DatapPropertiesWidget | ( | ) |
Destructor.
Definition at line 176 of file DataPropertiesWidget.cpp.
std::auto_ptr< te::da::DataSetTypeConverter > te::qt::widgets::DatapPropertiesWidget::getConverter | ( | ) |
Returns a pointer to the generated DataSetTypeConverter.
Definition at line 186 of file DataPropertiesWidget.cpp.
References te::da::PrimaryKey::add(), getConvertedproperty(), te::da::GetFirstGeomProperty(), te::common::Singleton< DataSourceManager >::getInstance(), te::gm::PointType, te::gm::GeometryProperty::setGeometryType(), and te::gm::GeometryProperty::setSRID().
te::da::DataSetType * te::qt::widgets::DatapPropertiesWidget::getDataSetType | ( | ) |
Returns a pointer to the widget's dataSetType.
Definition at line 241 of file DataPropertiesWidget.cpp.
te::da::DataSource * te::qt::widgets::DatapPropertiesWidget::getDataSource | ( | ) |
Returns a pointer to the widget's dataSource.
Definition at line 246 of file DataPropertiesWidget.cpp.
Ui::DataPropertiesWidgetForm * te::qt::widgets::DatapPropertiesWidget::getForm | ( | ) | const |
Definition at line 181 of file DataPropertiesWidget.cpp.
|
signal |
|
protectedslot |
Definition at line 447 of file DataPropertiesWidget.cpp.
|
protectedslot |
Definition at line 251 of file DataPropertiesWidget.cpp.
References te::qt::widgets::AddFilePathToSettings(), te::dt::DOUBLE_TYPE, fillComboBox(), te::dt::FLOAT_TYPE, te::dt::GEOMETRY_TYPE, te::qt::widgets::GetFilePathFromSettings(), te::da::GetFirstGeomProperty(), te::common::Singleton< DataSourceInfoManager >::getInstance(), te::dt::Property::getName(), te::da::PrimaryKey::getProperties(), te::gm::GeometryProperty::getSRID(), te::dt::INT16_TYPE, te::da::DataSourceFactory::make(), and te::dt::UINT64_TYPE.
Referenced by DatapPropertiesWidget().
|
protectedslot |
Definition at line 465 of file DataPropertiesWidget.cpp.
References te::dt::DOUBLE_TYPE, te::dt::FLOAT_TYPE, te::dt::INT16_TYPE, and te::dt::UINT64_TYPE.
Referenced by DatapPropertiesWidget().
|
protectedslot |
Definition at line 435 of file DataPropertiesWidget.cpp.
References te::qt::widgets::SRSManagerDialog::getSelectedSRS().
Referenced by DatapPropertiesWidget().
|
private |
The DataSource that will be generated by this widget.
Definition at line 130 of file DataPropertiesWidget.h.
|
private |
The DataSetType that will be generated by this widget.
Definition at line 126 of file DataPropertiesWidget.h.
|
private |
The DataSetConverter that will be configured by this widget.
Definition at line 129 of file DataPropertiesWidget.h.
|
private |
The mapper used to know which property was configured.
Definition at line 124 of file DataPropertiesWidget.h.
Referenced by DatapPropertiesWidget().
|
private |
The widget used to preview the data of the new dataset.
Definition at line 127 of file DataPropertiesWidget.h.
Referenced by DatapPropertiesWidget().
|
private |
A map that correlates a terralib type with a label.
Definition at line 125 of file DataPropertiesWidget.h.
Referenced by DatapPropertiesWidget().
|
private |
The widget's form.
Definition at line 128 of file DataPropertiesWidget.h.
Referenced by DatapPropertiesWidget().