26 #ifndef __TERRALIB_QT_WIDGETS_LAYER_INTERNAL_TREEITEM_H
27 #define __TERRALIB_QT_WIDGETS_LAYER_INTERNAL_TREEITEM_H
29 #include "../../Config.h"
32 #include "../../../../common/Exception.h"
33 #include "../../../../common/GenericQueue.h"
36 #include <qnamespace.h>
159 size_t getChildrenCount(
const std::string& type)
const;
166 void getChildren(std::vector<TreeItem*>& items,
const std::string& type)
const;
173 bool hasChildren()
const;
180 virtual std::string getAsString()
const = 0;
194 virtual VISIBLE isVisible()
const;
205 virtual void setVisible(
const VISIBLE& visible,
const bool& updateAncestors =
false,
const bool& updateDescendents =
false);
212 std::string getType()
const;
219 std::string getToolTip()
const;
224 void removeAllChilds();
232 virtual Qt::ItemFlags flags();
246 #endif //__TERRALIB_QT_WIDGETS_LAYER_INTERNAL_TREEITEM_H
Struct that implements the generic queue.
This class is designed to declare objects to be thrown as exceptions by TerraLib. ...