26 #ifndef __TERRALIB_VP_QT_INTERNAL_LAYERITEM_H
27 #define __TERRALIB_VP_QT_INTERNAL_LAYERITEM_H
30 #include "../../qt/widgets/layer/explorer/AbstractTreeItem.h"
31 #include "../Config.h"
37 class PropertyGroupItem;
38 class LegendGroupItem;
50 int columnCount()
const;
52 QVariant data(
int column,
int role)
const;
54 QMenu* getMenu(QWidget* parent = 0)
const;
56 bool canFetchMore()
const;
60 Qt::ItemFlags flags()
const;
62 bool hasChildren()
const;
64 bool setData(
int column,
const QVariant& value,
int role = Qt::EditRole);
73 void isSelected(
bool selected);
87 std::vector<te::dt::Property*> getSelected();
89 const std::string getItemType()
const;
93 std::vector<te::qt::widgets::AbstractTreeItem*>
m_items;
104 #endif // __TERRALIB_VP_QT_INTERNAL_LAYERITEM_H
#define TEVPEXPORT
You can use this macro in order to export/import classes and functions from this module.
bool m_onlySelecteds
Only features selected.
bool m_selected
Layer select state.
std::vector< te::qt::widgets::AbstractTreeItem * > m_items
te::vp::LegendGroupItem * m_legendGroup
te::map::AbstractLayerPtr m_layer
Terralib Layer of the LayerItem.
te::vp::PropertyGroupItem * m_propertyGroup
boost::intrusive_ptr< AbstractLayer > AbstractLayerPtr