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();
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