26 #ifndef __TERRALIB_QT_WIDGETS_LAYER_EXPLORER_INTERNAL_COLORMAPSLICEITEM_H
27 #define __TERRALIB_QT_WIDGETS_LAYER_EXPLORER_INTERNAL_COLORMAPSLICEITEM_H
30 #include "../../../../color/RGBAColor.h"
51 int columnCount()
const;
53 QVariant data(
int column,
int role)
const;
55 QMenu* getMenu(QWidget* parent = 0)
const;
57 bool canFetchMore()
const;
59 Qt::ItemFlags flags()
const;
63 bool hasChildren()
const;
65 bool setData(
int column,
const QVariant& value,
int role = Qt::EditRole);
74 const std::string getItemType()
const;
76 void setCheckable(
bool checkable);
100 #endif // __TERRALIB_QT_WIDGETS_LAYER_EXPLORER_INTERNAL_COLORMAPSLICEITEM_H
The class that represents an item in a LayerTreeModel.
A helper class for 32-bit RGBA (Red-Green-Blue-Alpha channel) color.
boost::intrusive_ptr< AbstractLayer > AbstractLayerPtr