37 #include <boost/weak_ptr.hpp>
38 #include <boost/shared_ptr.hpp>
60 virtual std::vector<TreeNodePtr>
getChildren()
const = 0;
61 virtual QString
getUid()
const = 0;
62 virtual QString
getName()
const = 0;
63 virtual QString
getType()
const = 0;
67 virtual QIcon
getIcon()
const = 0;
71 virtual QVariant
getColor()
const = 0;
73 virtual QVariant
getFont()
const = 0;
77 virtual void remove() = 0;
97 virtual std::vector<TreeNodePtr>
getChildren()
const {
return mBase->getChildren(); }
98 virtual QString
getUid()
const;
99 virtual QString
getName()
const {
return mBase->getName(); }
100 virtual QString
getType()
const;
104 virtual QIcon
getIcon()
const {
return mBase->getIcon(); }
108 virtual QVariant
getColor()
const {
return mBase->getColor(); }
110 virtual QVariant
getFont()
const {
return mBase->getFont(); }
114 virtual void remove() { mBase->remove(); }
120 mutable QString mUid;
121 mutable QString mType;
131 #endif // CXTREENODE_H
boost::shared_ptr< class TreeRepository > TreeRepositoryPtr
boost::shared_ptr< TreeNode > TreeNodePtr
virtual std::vector< TreeNodePtr > getVisibleChildren() const =0
void parentChanged(TreeNodePtr prev, TreeNodePtr next)
virtual QString getUid() const =0
virtual TreeNodePtr getVisibleParent() const
virtual bool isRemovable() const =0
virtual QWidget * createPropertiesWidget() const =0
virtual QVariant getViewGroupVisibility(int index) const
virtual TreeNodePtr getParent() const
virtual QVariant getColor() const =0
virtual QVariant getFont() const
virtual QIcon getIcon() const =0
virtual QString getUid() const
boost::weak_ptr< class TreeRepository > TreeRepositoryWeakPtr
virtual bool isRemovable() const
virtual QString getType() const =0
virtual ~CachedTreeNode()
virtual QWidget * createPropertiesWidget() const
virtual void setViewGroupVisibility(int index, bool value)=0
virtual QVariant getViewGroupVisibility(int index) const =0
virtual bool useColoredName() const
virtual void activate()=0
virtual QString getName() const
boost::weak_ptr< TreeNode > TreeNodeWeakPtr
virtual bool useColoredName() const =0
virtual std::vector< TreeNodePtr > getChildren() const
virtual void setViewGroupVisibility(int index, bool value)
virtual std::vector< TreeNodePtr > getChildren() const =0
virtual bool isVisibleNode() const =0
virtual std::vector< TreeNodePtr > getVisibleChildren() const
virtual QString getName() const =0
virtual QVariant getFont() const =0
virtual QIcon getIcon() const
virtual TreeNodePtr getParent() const =0
virtual bool isDefaultExpanded() const
virtual TreeNodePtr getVisibleParent() const =0
virtual bool isDefaultExpanded() const =0
virtual QVariant getColor() const
CachedTreeNode(TreeNodePtr base)
virtual QString getType() const
virtual bool isVisibleNode() const