27 #include "../../../dataaccess/datasource/DataSourceInfo.h" 28 #include "../datasource/selector/DataSourceSelectorDialog.h" 29 #include "../layer/search/LayerSearchDialog.h" 30 #include "../layer/search/LayerSearchWidget.h" 33 #include "ui_InputLayerWidgetForm.h" 36 #include <boost/filesystem.hpp> 39 #include <QFileDialog> 44 m_ui(new
Ui::InputLayerWidgetForm)
73 std::map<std::string, std::string> rinfo;
91 std::list<te::map::AbstractLayerPtr>::iterator it = list.begin();
92 while (it != list.end())
94 m_ui->m_layersComboBox->insertItem(i, it->get()->getTitle().c_str());
113 std::list<te::map::AbstractLayerPtr>::iterator it = layerList.begin();
117 std::list<te::map::AbstractLayerPtr>::iterator itLayer = std::find(
m_layerList.begin(),
m_layerList.end(), *it);
118 const int pos = std::distance(
m_layerList.begin(), itLayer);
119 m_ui->m_layersComboBox->setCurrentIndex(pos);
129 std::advance(l_front, index);
boost::intrusive_ptr< AbstractLayer > AbstractLayerPtr