18 #ifndef XMLPROJECTELEMENTCOLLECTIONITEM2_H 19 #define XMLPROJECTELEMENTCOLLECTIONITEM2_H 22 #include <QDomElement> 38 bool isDir()
const override;
41 QString
name()
const override;
53 void populate(
bool set_data =
true,
bool hide_element =
false);
61 #endif // XMLPROJECTELEMENTCOLLECTIONITEM2_H The ElementCollectionItem class This class represent a item (a directory or an element) in a element ...
XmlProjectElementCollectionItem()
XmlProjectElementCollectionItem::XmlProjectElementCollectionItem Constructor.
bool isDir() const override
XmlProjectElementCollectionItem::isDir.
QString collectionPath() const override
XmlProjectElementCollectionItem::collectionPath.
void setUpData() override
XmlProjectElementCollectionItem::setUpData SetUp the data of this item.
void setUpIcon() override
XmlProjectElementCollectionItem::setUpIcon SetUp the icon of this item. Because icon use several memo...
The XmlProjectElementCollectionItem class This class specialise ElementCollectionItem for manage an x...
QString name() const override
XmlProjectElementCollectionItem::name.
QETProject * project() const
XmlProjectElementCollectionItem::project.
QDomElement m_dom_element
void setXmlElement(const QDomElement &element, QETProject *project, bool set_data=true, bool hide_element=false)
XmlProjectElementCollectionItem::setXmlElement Set the managed content of this item.
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...
void addChildAtPath(const QString &collection_name) override
XmlProjectElementCollectionItem::addChildAtPath Ask to this item item to add a new child with collect...
int type() const override
QString localName() override
XmlProjectElementCollectionItem::localName.
bool isCollectionRoot() const override
XmlProjectElementCollectionItem::isCollectionRoot.
virtual QString embeddedPath() const
XmlProjectElementCollectionItem::embeddedPath.
bool isElement() const override
XmlProjectElementCollectionItem::isElement.
void populate(bool set_data=true, bool hide_element=false)
XmlProjectElementCollectionItem::populate Create the childs of this item.