27 #include "../../../../common/Translator.h"
28 #include "../../../widgets/layer/selector/DataSetLayerSelector.h"
76 return TR_QT_WIDGETS(
"Access to geospatial data through the Geospatial Data Abstraction Library (GDAL)");
86 case DataSourceType::WIDGET_LAYER_SELECTOR:
100 return QIcon::fromTheme(
"file-raster");
103 return QIcon::fromTheme(
"file-raster");
106 return QIcon::fromTheme(
"unknown-icon");
bool hasFileSupport() const
std::string getTitle() const
GDAL connector implementation for the Qt data source widget.
std::string getName() const
QIcon getIcon(int iconType) const
QWidget * getWidget(int widgetType, QWidget *parent=0, Qt::WindowFlags f=0) const
bool hasRasterSupport() const
bool hasVectorialSupport() const
std::string getDescription() const
A simple widget that allows the selection of datasets from a given data source.
bool hasDatabaseSupport() const
#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 ...
GDAL connector implementation for the Qt data source widget.