18#ifndef XMLPROJECTELEMENTCOLLECTIONITEM2_H
19#define XMLPROJECTELEMENTCOLLECTIONITEM2_H
39 bool isDir()
const override;
42 QString
name()
const override;
51 bool hide_element =
false);
56 void populate(
bool set_data =
true,
bool hide_element =
false);
60 bool hide_element =
false);
The ElementCollectionItem class This class represent a item (a directory or an element) in a element ...
Definition elementcollectionitem.h:30
Definition qetproject.h:62
The XmlProjectElementCollectionItem class This class specialise ElementCollectionItem for manage an x...
Definition xmlprojectelementcollectionitem.h:32
QETProject * project() const
XmlProjectElementCollectionItem::project.
Definition xmlprojectelementcollectionitem.cpp:163
void setProject(QETProject *project, bool set_data=true, bool hide_element=false)
XmlProjectElementCollectionItem::setProject Set the project for this item. Use this method for set th...
Definition xmlprojectelementcollectionitem.cpp:176
void setUpData() override
XmlProjectElementCollectionItem::setUpData SetUp the data of this item.
Definition xmlprojectelementcollectionitem.cpp:192
@ Type
Definition xmlprojectelementcollectionitem.h:36
QETProject * m_project
Definition xmlprojectelementcollectionitem.h:63
QString localName() override
XmlProjectElementCollectionItem::localName.
Definition xmlprojectelementcollectionitem.cpp:55
void populate(bool set_data=true, bool hide_element=false)
XmlProjectElementCollectionItem::populate Create the childs of this item.
Definition xmlprojectelementcollectionitem.cpp:245
QString name() const override
XmlProjectElementCollectionItem::name.
Definition xmlprojectelementcollectionitem.cpp:78
bool isCollectionRoot() const override
XmlProjectElementCollectionItem::isCollectionRoot.
Definition xmlprojectelementcollectionitem.cpp:121
void setXmlElement(const QDomElement &element, QETProject *project, bool set_data=true, bool hide_element=false)
XmlProjectElementCollectionItem::setXmlElement Set the managed content of this item.
Definition xmlprojectelementcollectionitem.cpp:284
QDomElement m_dom_element
Definition xmlprojectelementcollectionitem.h:64
void setUpIcon() override
XmlProjectElementCollectionItem::setUpIcon SetUp the icon of this item. Because icon use several memo...
Definition xmlprojectelementcollectionitem.cpp:224
bool isElement() const override
XmlProjectElementCollectionItem::isElement.
Definition xmlprojectelementcollectionitem.cpp:45
void addChildAtPath(const QString &collection_name) override
XmlProjectElementCollectionItem::addChildAtPath Ask to this item item to add a new child with collect...
Definition xmlprojectelementcollectionitem.cpp:137
XmlProjectElementCollectionItem()
XmlProjectElementCollectionItem::XmlProjectElementCollectionItem Constructor.
Definition xmlprojectelementcollectionitem.cpp:28
QString collectionPath() const override
XmlProjectElementCollectionItem::collectionPath.
Definition xmlprojectelementcollectionitem.cpp:87
virtual QString embeddedPath() const
XmlProjectElementCollectionItem::embeddedPath.
Definition xmlprojectelementcollectionitem.cpp:101
int type() const override
Definition xmlprojectelementcollectionitem.h:37
bool isDir() const override
XmlProjectElementCollectionItem::isDir.
Definition xmlprojectelementcollectionitem.cpp:35