27 #include "../../../../common/Translator.h"
28 #include "../../../widgets/layer/selector/DataSetLayerSelector.h"
70 return TE_TR(
"Vector files");
75 return TE_TR(
"Access to simple feature data through OGR (GDAL/OGR)");
85 case DataSourceType::WIDGET_LAYER_SELECTOR:
98 return QIcon::fromTheme(
"file-vector");
101 return QIcon::fromTheme(
"file-vector");
104 return QIcon::fromTheme(
"unknown-icon");
OGR connector implementation for the Qt data source widget.
std::string getTitle() const
QWidget * getWidget(int widgetType, QWidget *parent=0, Qt::WindowFlags f=0) const
OGR connector implementation for the Qt data source widget.
std::string getName() const
#define TE_TR(message)
It marks a string in order to get translated.
bool hasDatabaseSupport() const
std::string getDescription() const
bool hasFileSupport() const
bool hasRasterSupport() const
QIcon getIcon(int iconType) const
bool hasVectorialSupport() const