26 #ifndef __TERRALIB_QT_WIDGETS_LAYER_SEARCH_INTERNAL_LAYERSEARCHWIDGET_H
27 #define __TERRALIB_QT_WIDGETS_LAYER_SEARCH_INTERNAL_LAYERSEARCHWIDGET_H
31 #include "../../../../maptools/AbstractLayer.h"
33 #include "../../Config.h"
40 #include <QTreeWidgetItem>
43 namespace Ui {
class LayerSearchWidgetForm; }
68 Ui::LayerSearchWidgetForm* getForm()
const;
72 void enableMultiSelection(
bool flag);
74 std::list<te::map::AbstractLayerPtr> getSelecteds()
const;
76 void setList(std::list<te::map::AbstractLayerPtr>& layerList);
78 void filterOnlyByRaster();
80 void filterOnlyByGeom();
84 void setMinRasterBands(std::size_t value);
86 void setMaxRasterBands(std::size_t value);
90 void fillTreeView(std::list<te::map::AbstractLayerPtr>& layerList);
92 void filter(
const QList<QTreeWidgetItem*>& items);
100 std::auto_ptr<Ui::LayerSearchWidgetForm>
m_ui;
114 #endif // __TERRALIB_QT_WIDGETS_LAYER_SEARCH_INTERNAL_LAYERSEARCHWIDGET_H