#include <UpdateProperty.h>
Public Member Functions | |
te::dt::Property * | getOldProperty () const |
te::dt::Property * | getUpdatedProperty () const |
UpdateProperty (te::da::DataSource *ds, QWidget *parent=0) | |
~UpdateProperty () | |
Private Slots | |
void | arrayElementDataTypeComboBoxChanged (const QString &arrayElementDataType) |
void | cancelPushButtonClicked () |
void | dataSetComboBoxChanged (const QString &dataSet) |
void | dataTypeComboBoxChanged (const QString &dataType) |
void | helpPushButtonClicked () |
void | okPushButtonClicked () |
void | propertiesComboBoxActivated (const QString &p) |
void | requiredCheckBoxClicked (bool checked) |
Private Attributes | |
std::string * | m_defaultValue |
te::da::DataSource * | m_ds |
std::map< te::gm::GeomType, QString > | m_geomTypeTextMap |
te::dt::Property * | m_oldProperty |
std::string | m_propertyName |
std::map< int, QString > | m_propertyTypeMap |
te::dt::Property * | m_updatedProperty |
Definition at line 50 of file UpdateProperty.h.
te::qt::widgets::UpdateProperty::UpdateProperty | ( | te::da::DataSource * | ds, |
QWidget * | parent = 0 |
||
) |
Definition at line 38 of file UpdateProperty.cpp.
References te::dt::ARRAY_TYPE, arrayElementDataTypeComboBoxChanged(), te::dt::BIT_TYPE, te::dt::BOOLEAN_TYPE, te::dt::BYTE_ARRAY_TYPE, cancelPushButtonClicked(), capabilities, te::dt::CHAR_TYPE, te::dt::COMPOSITE_TYPE, te::dt::DATASET_TYPE, dataSetComboBoxChanged(), dataTypeCapabilities, dataTypeComboBoxChanged(), te::dt::DATETIME_TYPE, te::dt::DOUBLE_TYPE, te::dt::FLOAT_TYPE, te::dt::GEOMETRY_TYPE, te::da::DataSource::getCapabilities(), te::da::DataSource::getDataSetNames(), te::da::DataSourceCapabilities::getDataTypeCapabilities(), helpPushButtonClicked(), te::dt::INT16_TYPE, te::dt::INT32_TYPE, te::dt::INT64_TYPE, m_ds, m_propertyTypeMap, te::dt::NUMERIC_TYPE, okPushButtonClicked(), propertiesComboBoxActivated(), te::dt::RASTER_TYPE, requiredCheckBoxClicked(), te::dt::STRING_TYPE, te::da::DataTypeCapabilities::supportsArray(), te::da::DataTypeCapabilities::supportsBit(), te::da::DataTypeCapabilities::supportsBoolean(), te::da::DataTypeCapabilities::supportsByteArray(), te::da::DataTypeCapabilities::supportsChar(), te::da::DataTypeCapabilities::supportsComposite(), te::da::DataTypeCapabilities::supportsDataset(), te::da::DataTypeCapabilities::supportsDateTime(), te::da::DataTypeCapabilities::supportsDouble(), te::da::DataTypeCapabilities::supportsFloat(), te::da::DataTypeCapabilities::supportsGeometry(), te::da::DataTypeCapabilities::supportsInt16(), te::da::DataTypeCapabilities::supportsInt32(), te::da::DataTypeCapabilities::supportsInt64(), te::da::DataTypeCapabilities::supportsNumeric(), te::da::DataTypeCapabilities::supportsRaster(), te::da::DataTypeCapabilities::supportsString(), te::da::DataTypeCapabilities::supportsUChar(), te::da::DataTypeCapabilities::supportsUInt16(), te::da::DataTypeCapabilities::supportsUInt32(), te::da::DataTypeCapabilities::supportsUInt64(), te::dt::UCHAR_TYPE, te::dt::UINT32_TYPE, and te::dt::UINT64_TYPE.
te::qt::widgets::UpdateProperty::~UpdateProperty | ( | ) |
Definition at line 208 of file UpdateProperty.cpp.
|
privateslot |
Definition at line 340 of file UpdateProperty.cpp.
References te::dt::ARRAY_TYPE, te::dt::ArrayProperty::getElementType(), te::dt::Property::getType(), te::dt::NUMERIC_TYPE, and te::dt::STRING_TYPE.
Referenced by UpdateProperty().
|
protected |
Definition at line 811 of file UpdateProperty.cpp.
References te::dt::SimpleProperty::setAutoNumber(), and te::dt::SimpleProperty::setRequired().
|
protected |
Definition at line 851 of file UpdateProperty.cpp.
References te::dt::BIT_TYPE.
|
protected |
Definition at line 870 of file UpdateProperty.cpp.
References te::dt::BOOLEAN_TYPE.
|
protected |
Definition at line 888 of file UpdateProperty.cpp.
References te::dt::BYTE_ARRAY_TYPE.
|
protected |
Definition at line 894 of file UpdateProperty.cpp.
References te::dt::CHAR_TYPE.
|
protected |
Definition at line 913 of file UpdateProperty.cpp.
|
protected |
Definition at line 923 of file UpdateProperty.cpp.
References te::dt::SECOND.
|
protected |
Definition at line 934 of file UpdateProperty.cpp.
References te::dt::DOUBLE_TYPE.
|
protected |
Definition at line 953 of file UpdateProperty.cpp.
References te::dt::FLOAT_TYPE.
|
protected |
Definition at line 972 of file UpdateProperty.cpp.
References te::gm::Geometry::getGeomTypeId().
|
protected |
Definition at line 985 of file UpdateProperty.cpp.
References te::dt::INT16_TYPE.
|
protected |
Definition at line 1004 of file UpdateProperty.cpp.
References te::dt::INT32_TYPE, and te::dt::SimpleProperty::setAutoNumber().
|
protected |
Definition at line 1027 of file UpdateProperty.cpp.
References te::dt::INT64_TYPE.
|
protected |
Definition at line 1046 of file UpdateProperty.cpp.
|
protected |
Definition at line 763 of file UpdateProperty.cpp.
|
protected |
Definition at line 1111 of file UpdateProperty.cpp.
|
protected |
Definition at line 1116 of file UpdateProperty.cpp.
|
protected |
Definition at line 1151 of file UpdateProperty.cpp.
References te::dt::UCHAR_TYPE.
|
protected |
Definition at line 1170 of file UpdateProperty.cpp.
References te::dt::UINT32_TYPE.
|
protected |
Definition at line 1189 of file UpdateProperty.cpp.
References te::dt::UINT32_TYPE.
|
protected |
Definition at line 1208 of file UpdateProperty.cpp.
References te::dt::UINT64_TYPE.
|
protected |
Definition at line 1227 of file UpdateProperty.cpp.
References te::dt::UNKNOWN_TYPE.
|
protected |
Definition at line 1233 of file UpdateProperty.cpp.
References te::dt::VOID_TYPE.
|
privateslot |
Definition at line 411 of file UpdateProperty.cpp.
Referenced by UpdateProperty().
|
protected |
Definition at line 1239 of file UpdateProperty.cpp.
|
privateslot |
Definition at line 212 of file UpdateProperty.cpp.
Referenced by UpdateProperty().
|
privateslot |
Definition at line 298 of file UpdateProperty.cpp.
References te::dt::NUMERIC_TYPE, and te::dt::STRING_TYPE.
Referenced by UpdateProperty().
|
inline |
Definition at line 59 of file UpdateProperty.h.
|
inline |
Definition at line 60 of file UpdateProperty.h.
|
privateslot |
Definition at line 416 of file UpdateProperty.cpp.
Referenced by UpdateProperty().
|
privateslot |
Definition at line 382 of file UpdateProperty.cpp.
Referenced by UpdateProperty().
|
privateslot |
Definition at line 223 of file UpdateProperty.cpp.
References te::dt::SimpleProperty::getDefaultValue(), te::dt::SimpleProperty::isAutoNumber(), and te::dt::SimpleProperty::isRequired().
Referenced by UpdateProperty().
|
privateslot |
Definition at line 331 of file UpdateProperty.cpp.
Referenced by UpdateProperty().
|
protected |
Definition at line 420 of file UpdateProperty.cpp.
References te::dt::ARRAY_TYPE, te::dt::SimpleProperty::getDefaultValue(), te::dt::ArrayProperty::getElementType(), te::dt::NumericProperty::getPrecision(), te::dt::NumericProperty::getScale(), te::dt::StringProperty::getSubType(), te::dt::Property::getType(), te::dt::SimpleProperty::isRequired(), and te::dt::StringProperty::size().
|
protected |
Definition at line 502 of file UpdateProperty.cpp.
References te::dt::CompositeProperty::getCompositeName().
|
protected |
Definition at line 511 of file UpdateProperty.cpp.
References te::dt::SimpleProperty::getDefaultValue(), te::dt::DateTimeProperty::getSubType(), and te::dt::SimpleProperty::isRequired().
|
protected |
Definition at line 539 of file UpdateProperty.cpp.
References te::dt::GEOMETRY_TYPE, te::gm::GeometryCollectionMType, te::gm::GeometryCollectionType, te::gm::GeometryCollectionZMType, te::gm::GeometryCollectionZType, te::gm::GeometryMType, te::gm::GeometryType, te::gm::GeometryZMType, te::gm::GeometryZType, te::dt::SimpleProperty::getDefaultValue(), te::da::GetFirstGeomProperty(), te::da::GetFirstPropertyPos(), te::gm::GeometryProperty::getGeometryType(), te::gm::GeometryProperty::getSRID(), te::dt::SimpleProperty::isRequired(), te::gm::LineStringMType, te::gm::LineStringType, te::gm::LineStringZMType, te::gm::LineStringZType, te::gm::MultiLineStringMType, te::gm::MultiLineStringType, te::gm::MultiLineStringZMType, te::gm::MultiLineStringZType, te::gm::MultiPointMType, te::gm::MultiPointType, te::gm::MultiPointZMType, te::gm::MultiPointZType, te::gm::MultiPolygonMType, te::gm::MultiPolygonType, te::gm::MultiPolygonZMType, te::gm::MultiPolygonZType, te::gm::PointMType, te::gm::PointType, te::gm::PointZMType, te::gm::PointZType, te::gm::PolygonMType, te::gm::PolygonType, te::gm::PolygonZMType, te::gm::PolygonZType, and te::gm::UnknownGeometryType.
|
protected |
Definition at line 663 of file UpdateProperty.cpp.
References te::dt::SimpleProperty::getDefaultValue(), te::dt::NumericProperty::getPrecision(), te::dt::NumericProperty::getScale(), and te::dt::SimpleProperty::isRequired().
|
protected |
Definition at line 688 of file UpdateProperty.cpp.
References te::rst::RasterProperty::getBandProperties(), te::dt::SimpleProperty::getDefaultValue(), te::rst::Grid::getExtent(), te::rst::RasterProperty::getGrid(), te::gm::Envelope::getLowerLeftX(), te::gm::Envelope::getLowerLeftY(), te::rst::Grid::getNumberOfColumns(), te::rst::Grid::getNumberOfRows(), te::rst::Grid::getResolutionX(), te::rst::Grid::getResolutionY(), te::rst::Grid::getSRID(), te::gm::Envelope::getUpperRightX(), te::gm::Envelope::getUpperRightY(), and te::dt::SimpleProperty::isRequired().
|
protected |
Definition at line 731 of file UpdateProperty.cpp.
References te::dt::SimpleProperty::getDefaultValue(), te::dt::StringProperty::getSubType(), te::dt::SimpleProperty::isRequired(), and te::dt::StringProperty::size().
|
private |
Definition at line 115 of file UpdateProperty.h.
|
private |
Definition at line 109 of file UpdateProperty.h.
Referenced by UpdateProperty().
|
private |
Definition at line 118 of file UpdateProperty.h.
|
private |
Definition at line 111 of file UpdateProperty.h.
|
private |
Definition at line 114 of file UpdateProperty.h.
|
private |
Definition at line 117 of file UpdateProperty.h.
Referenced by UpdateProperty().
|
private |
Definition at line 112 of file UpdateProperty.h.