27 #include "../../../../common/Translator.h"
28 #include "../../../widgets/layer/selector/DataSetLayerSelector.h"
75 return TR_QT_WIDGETS(
"Access geospatial data in a PostgreSQL database with the geospatial extension PostGIS");
85 case DataSourceType::WIDGET_LAYER_SELECTOR:
98 return QIcon::fromTheme(
"datasource-postgis");
101 return QIcon::fromTheme(
"datasource-postgis");
104 return QIcon::fromTheme(
"unknown-icon");
std::string getTitle() const
bool hasDatabaseSupport() const
std::string getDescription() const
std::string getName() const
A simple widget that allows the selection of datasets from a given data source.
PostGIS data source type.
bool hasRasterSupport() const
QWidget * getWidget(int widgetType, QWidget *parent=0, Qt::WindowFlags f=0) const
bool hasVectorialSupport() const
PostGIS connector implementation for the Qt data source widget.
#define TR_QT_WIDGETS(message)
It marks a string in order to get translated. This is a special mark used in the TerraLib Qt Widgets ...
PostGIS connector implementation for the Qt data source widget.
QIcon getIcon(int iconType) const
bool hasFileSupport() const