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 <QtGui/QWidget> 
   39 #include <QtGui/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();
 
   84           void fillTreeView(std::list<te::map::AbstractLayerPtr>& layerList);
 
   86           void filter(
const QList<QTreeWidgetItem*>& items);
 
   94           std::auto_ptr<Ui::LayerSearchWidgetForm> 
m_ui;
 
  102 #endif  // __TERRALIB_QT_WIDGETS_LAYER_SEARCH_INTERNAL_LAYERSEARCHWIDGET_H 
#define TEQTWIDGETSEXPORT
You can use this macro in order to export/import classes and functions from this module. 
 
A widget used to search layers over list of layers. 
 
std::auto_ptr< Ui::LayerSearchWidgetForm > m_ui
 
std::list< te::map::AbstractLayerPtr > m_layerList