A base class for the suppported types of data source. More...
#include <DataSourceType.h>
Public Types | |
enum | { WIDGET_DATASOURCE_CONNECTOR, WIDGET_LAYER_SELECTOR } |
enum | { ICON_DATASOURCE_SMALL, ICON_DATASOURCE_CONNECTOR } |
Public Member Functions | |
DataSourceType () | |
virtual std::string | getDescription () const =0 |
virtual QIcon | getIcon (int iconType) const =0 |
virtual std::string | getName () const =0 |
virtual std::string | getTitle () const =0 |
virtual QWidget * | getWidget (int widgetType, QWidget *parent=0, Qt::WindowFlags f=0) const =0 |
virtual bool | hasDatabaseSupport () const =0 |
virtual bool | hasFileSupport () const =0 |
virtual bool | hasRasterSupport () const =0 |
virtual bool | hasVectorialSupport () const =0 |
bool | operator< (const DataSourceType &rhs) const |
virtual | ~DataSourceType () |
A base class for the suppported types of data source.
Definition at line 53 of file DataSourceType.h.
anonymous enum |
Enumerator | |
---|---|
WIDGET_DATASOURCE_CONNECTOR | |
WIDGET_LAYER_SELECTOR |
Definition at line 57 of file DataSourceType.h.
anonymous enum |
Enumerator | |
---|---|
ICON_DATASOURCE_SMALL | |
ICON_DATASOURCE_CONNECTOR |
Definition at line 63 of file DataSourceType.h.
te::qt::widgets::DataSourceType::DataSourceType | ( | ) |
Definition at line 29 of file DataSourceType.cpp.
|
virtual |
Definition at line 33 of file DataSourceType.cpp.
|
pure virtual |
Implemented in te::qt::plugins::ogr::OGRType, te::qt::plugins::wcs::WCSType, te::qt::plugins::wfs::WFSType, te::qt::plugins::wms::WMSType, te::qt::plugins::ado::ADOType, te::qt::plugins::gdal::GDALType, te::qt::plugins::pgis::PostGISType, te::qt::plugins::sqlite::SQLiteType, te::qt::plugins::geofile::GeoFileType, and te::qt::plugins::mysql::MySQLType.
Referenced by te::qt::widgets::DataSourceSelectorWidget::dataSourceTypePressed().
|
pure virtual |
Implemented in te::qt::plugins::ogr::OGRType, te::qt::plugins::wcs::WCSType, te::qt::plugins::wfs::WFSType, te::qt::plugins::wms::WMSType, te::qt::plugins::ado::ADOType, te::qt::plugins::gdal::GDALType, te::qt::plugins::pgis::PostGISType, te::qt::plugins::sqlite::SQLiteType, te::qt::plugins::geofile::GeoFileType, and te::qt::plugins::mysql::MySQLType.
|
pure virtual |
Implemented in te::qt::plugins::ogr::OGRType, te::qt::plugins::wcs::WCSType, te::qt::plugins::wfs::WFSType, te::qt::plugins::wms::WMSType, te::qt::plugins::ado::ADOType, te::qt::plugins::gdal::GDALType, te::qt::plugins::pgis::PostGISType, te::qt::plugins::sqlite::SQLiteType, te::qt::plugins::geofile::GeoFileType, and te::qt::plugins::mysql::MySQLType.
Referenced by te::qt::widgets::DataSourceTypeManager::add(), and operator<().
|
pure virtual |
Implemented in te::qt::plugins::ogr::OGRType, te::qt::plugins::wcs::WCSType, te::qt::plugins::wfs::WFSType, te::qt::plugins::wms::WMSType, te::qt::plugins::ado::ADOType, te::qt::plugins::gdal::GDALType, te::qt::plugins::pgis::PostGISType, te::qt::plugins::sqlite::SQLiteType, te::qt::plugins::geofile::GeoFileType, and te::qt::plugins::mysql::MySQLType.
Referenced by te::qt::widgets::DataSetSelectorDialog::set().
|
pure virtual |
Implemented in te::qt::plugins::ogr::OGRType, te::qt::plugins::wcs::WCSType, te::qt::plugins::wfs::WFSType, te::qt::plugins::wms::WMSType, te::qt::plugins::ado::ADOType, te::qt::plugins::gdal::GDALType, te::qt::plugins::pgis::PostGISType, te::qt::plugins::sqlite::SQLiteType, te::qt::plugins::geofile::GeoFileType, and te::qt::plugins::mysql::MySQLType.
Referenced by te::qt::widgets::DataSourceSelectorWidget::addDataSourcePushButtonPressed(), te::qt::widgets::DataSourceSelectorWidget::createDataSourcePushButtonPressed(), te::qt::widgets::DataSourceSelectorWidget::editDataSourcePushButtonPressed(), te::qt::af::BaseApplication::onAddDataSetLayerTriggered(), te::qt::af::BaseApplication::onUpdateLayerDataSourceTriggered(), and te::qt::widgets::DataSourceSelectorWidget::removeDataSourcePushButtonPressed().
|
pure virtual |
Implemented in te::qt::plugins::ogr::OGRType, te::qt::plugins::wcs::WCSType, te::qt::plugins::wfs::WFSType, te::qt::plugins::wms::WMSType, te::qt::plugins::ado::ADOType, te::qt::plugins::gdal::GDALType, te::qt::plugins::pgis::PostGISType, and te::qt::plugins::sqlite::SQLiteType.
Referenced by te::qt::widgets::DataSourceSelectorWidget::showDataSourceWithDatabaseSupport().
|
pure virtual |
Implemented in te::qt::plugins::ogr::OGRType, te::qt::plugins::wcs::WCSType, te::qt::plugins::wfs::WFSType, te::qt::plugins::wms::WMSType, te::qt::plugins::ado::ADOType, te::qt::plugins::gdal::GDALType, te::qt::plugins::pgis::PostGISType, and te::qt::plugins::sqlite::SQLiteType.
Referenced by te::qt::widgets::DataSourceSelectorWidget::showDataSourceWithFileSupport().
|
pure virtual |
Implemented in te::qt::plugins::ogr::OGRType, te::qt::plugins::wcs::WCSType, te::qt::plugins::wfs::WFSType, te::qt::plugins::wms::WMSType, te::qt::plugins::ado::ADOType, te::qt::plugins::gdal::GDALType, te::qt::plugins::pgis::PostGISType, and te::qt::plugins::sqlite::SQLiteType.
Referenced by te::qt::widgets::DataSourceSelectorWidget::showDataSourceWithRasterSupport().
|
pure virtual |
Implemented in te::qt::plugins::ogr::OGRType, te::qt::plugins::wcs::WCSType, te::qt::plugins::wfs::WFSType, te::qt::plugins::wms::WMSType, te::qt::plugins::ado::ADOType, te::qt::plugins::gdal::GDALType, te::qt::plugins::pgis::PostGISType, and te::qt::plugins::sqlite::SQLiteType.
Referenced by te::qt::widgets::DataSourceSelectorWidget::showDataSourceWithVectorialSupport().
bool te::qt::widgets::DataSourceType::operator< | ( | const DataSourceType & | rhs | ) | const |
Definition at line 37 of file DataSourceType.cpp.
References getName().