26 #ifndef __TERRALIB_QT_WIDGETS_LAYER_EXPLORER_INTERNAL_LEGENDITEM_H
27 #define __TERRALIB_QT_WIDGETS_LAYER_EXPLORER_INTERNAL_LEGENDITEM_H
35 namespace se {
class Rule; }
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);
92 #endif // __TERRALIB_QT_WIDGETS_LAYER_EXPLORER_INTERNAL_LEGENDITEM_H
The class that represents an item in a LayerTreeModel.
A Rule is used to attach property/scale conditions to and group the individual symbols used for rende...
boost::intrusive_ptr< AbstractLayer > AbstractLayerPtr