26 #ifndef __TERRALIB_QT_WIDGETS_LAYER_SEARCH_INTERNAL_LAYERSEARCHWIDGET_H 
   27 #define __TERRALIB_QT_WIDGETS_LAYER_SEARCH_INTERNAL_LAYERSEARCHWIDGET_H 
   30 #include "../../../../maptools/AbstractLayer.h" 
   31 #include "../../Config.h" 
   38 #include <QTreeWidgetItem> 
   41 namespace Ui { 
class LayerSearchWidgetForm; }
 
   66           Ui::LayerSearchWidgetForm* getForm() 
const;
 
   70           void enableMultiSelection(
bool flag);
 
   72           std::list<te::map::AbstractLayerPtr> getSelecteds() 
const;
 
   74           void setList(std::list<te::map::AbstractLayerPtr>& layerList);
 
   76           void filterOnlyByRaster();
 
   78           void filterOnlyByGeom();
 
   82           void setMinRasterBands(std::size_t value);
 
   84           void setMaxRasterBands(std::size_t value);
 
   88           void fillTreeView(std::list<te::map::AbstractLayerPtr>& layerList);
 
   90           void filter(
const QList<QTreeWidgetItem*>& items);
 
   98           std::auto_ptr<Ui::LayerSearchWidgetForm> 
m_ui;
 
  112 #endif  // __TERRALIB_QT_WIDGETS_LAYER_SEARCH_INTERNAL_LAYERSEARCHWIDGET_H