26 #ifndef __TERRALIB_QT_WIDGETS_LAYER_EXPLORER_INTERNAL_QUERYLAYERITEM_H
27 #define __TERRALIB_QT_WIDGETS_LAYER_EXPLORER_INTERNAL_QUERYLAYERITEM_H
30 #include "../../../../maptools/QueryLayer.h"
49 int columnCount()
const;
51 QVariant data(
int column,
int role)
const;
53 QMenu* getMenu(QWidget* parent = 0)
const;
55 bool canFetchMore()
const;
57 Qt::ItemFlags flags()
const;
61 bool hasChildren()
const;
63 bool setData(
int column,
const QVariant& value,
int role = Qt::EditRole);
72 const std::string getItemType()
const;
76 bool hasGroupingItem()
const;
78 bool hasChartItem()
const;
88 #endif // __TERRALIB_QT_WIDGETS_LAYER_EXPLORER_INTERNAL_QUERYLAYERITEM_H
The class that represents an item in a LayerTreeModel.
boost::intrusive_ptr< QueryLayer > QueryLayerPtr
boost::intrusive_ptr< AbstractLayer > AbstractLayerPtr