25 #ifndef __TERRALIB_QT_WIDGETS_LAYER_INTERNAL_LAYERITEMVIEW_H 
   26 #define __TERRALIB_QT_WIDGETS_LAYER_INTERNAL_LAYERITEMVIEW_H 
   28 #include "../../Config.h" 
   31 #include "../../../../maptools/AbstractLayer.h" 
   41 class QStyledItemDelegate;
 
   55       class LayerViewMenuManager;
 
  105         void addLayers(
const std::list<te::map::AbstractLayerPtr>& layers, 
const QModelIndex& idx, 
const std::string& idxPath = 
"./");
 
  111         void setLayers(
const std::list<te::map::AbstractLayerPtr>& layers);
 
  119         std::list<te::map::AbstractLayerPtr> getAllLayers() 
const;
 
  125         std::list<te::map::AbstractLayerPtr> getVisibleLayers() 
const;
 
  131         std::list<te::qt::widgets::TreeItem*> getSelectedItems() 
const;
 
  138         void addFolder(
const std::string& name, 
const QModelIndex& idx);
 
  145         void updateChart(
const QModelIndex& idx);
 
  152         void updateGrouping(
const QModelIndex& idx);
 
  170         void addNoLayerAction(QAction* act);
 
  176         void addAllLayerAction(QAction* act);
 
  182         void addVectorLayerAction(QAction* act);
 
  188         void addRasterLayerAction(QAction* act);
 
  194         void addFolderLayerAction(QAction* act);
 
  200         void addMultipleSelectionAction(QAction* act);
 
  206         void addInvalidLayerAction(QAction* act);
 
  218         void removeItems(
const QModelIndexList& idxs);
 
  223         void removeSelectedItems();
 
  240         void removeDelegate(QStyledItemDelegate* d);
 
  252         void setMenuEventHandler(QObject* obj);
 
  258         QObject* getMenuEventHandler() 
const;
 
  269         void removeMenuEventHandler(QObject* handler);
 
  289         void visibilityChanged();
 
  295         void selectedLayersChanged(
const std::list<te::map::AbstractLayerPtr>& layers);
 
  300         void layerOrderChanged();
 
  310         void selectionChanged(
const QItemSelection & selected, 
const QItemSelection & deselected);
 
  312         void dropEvent(QDropEvent * event);
 
  314         void mouseDoubleClickEvent(QMouseEvent* event);
 
  325 #endif //__TERRALIB_QT_WIDGETS_LAYER_INTERNAL_LAYERITEMVIEW_H 
This is the base class for layers. 
 
A wdiget used to customize a chart's style parameters. 
 
boost::intrusive_ptr< AbstractLayer > AbstractLayerPtr