26 #ifndef __TERRALIB_QT_WIDGETS_LAYER_EXPLORER_INTERNAL_DATASETLAYERITEM_H
27 #define __TERRALIB_QT_WIDGETS_LAYER_EXPLORER_INTERNAL_DATASETLAYERITEM_H
30 #include "../../../../maptools/DataSetLayer.h"
34 #include <QtCore/QString>
52 int columnCount()
const;
54 QVariant data(
int column,
int role)
const;
56 QMenu* getMenu(QWidget* parent = 0)
const;
58 bool canFetchMore()
const;
60 Qt::ItemFlags flags()
const;
64 bool hasChildren()
const;
66 bool setData(
int column,
const QVariant& value,
int role = Qt::EditRole);
75 const std::string getItemType()
const;
77 QString buildToolTip()
const;
81 bool hasGroupingItem()
const;
83 bool hasChartItem()
const;
85 bool hasColorMapItem()
const;
95 #endif // __TERRALIB_QT_WIDGETS_LAYER_EXPLORER_INTERNAL_DATASETLAYERITEM_H
The class that represents an item in a LayerTreeModel.
boost::intrusive_ptr< DataSetLayer > DataSetLayerPtr
boost::intrusive_ptr< AbstractLayer > AbstractLayerPtr