18#ifndef ELEMENTCOLLECTIONITEM2_H
19#define ELEMENTCOLLECTIONITEM2_H
21#include <QStandardItem>
40 virtual QString
name()
const = 0;
58 QList<ElementCollectionItem *>
items()
const;
The ElementCollectionItem class This class represent a item (a directory or an element) in a element ...
Definition elementcollectionitem.h:30
QList< ElementCollectionItem * > directoriesDirectChild() const
ElementCollectionItem::directoriesDirectChild.
Definition elementcollectionitem.cpp:190
virtual QString name() const =0
ElementCollectionItem()
ElementCollectionItem::ElementCollectionItem Constructor.
Definition elementcollectionitem.cpp:25
ElementCollectionItem * itemAtPath(const QString &path)
ElementCollectionItem::itemAtPath.
Definition elementcollectionitem.cpp:151
virtual void addChildAtPath(const QString &collection_name)=0
virtual bool isCollectionRoot() const =0
virtual QString collectionPath() const =0
int rowForInsertItem(const QString &name)
ElementCollectionItem::rowForInsertItem Return the row for insert a new child item to this item with ...
Definition elementcollectionitem.cpp:116
@ Type
Definition elementcollectionitem.h:34
QList< ElementCollectionItem * > elementsChild() const
ElementCollectionItem::elementsChild.
Definition elementcollectionitem.cpp:207
virtual void clearData()
ElementCollectionItem::clearData Reset the data.
Definition elementcollectionitem.cpp:32
virtual void setUpIcon()=0
ElementCollectionItem * childWithCollectionName(const QString &name) const
ElementCollectionItem::childWithCollectionName Return the child with the collection name name,...
Definition elementcollectionitem.cpp:81
virtual QString localName()=0
QList< ElementCollectionItem * > items() const
ElementCollectionItem::items.
Definition elementcollectionitem.cpp:237
int type() const override
Definition elementcollectionitem.h:35
virtual bool isElement() const =0
virtual bool isDir() const =0
QList< QStandardItem * > directChilds() const
ElementCollectionItem::directChilds Return the direct child of this item.
Definition elementcollectionitem.cpp:99
QList< ElementCollectionItem * > directoriesChild() const
ElementCollectionItem::directoriesChild.
Definition elementcollectionitem.cpp:221
QList< ElementCollectionItem * > elementsDirectChild() const
ElementCollectionItem::elementsDirectChild.
Definition elementcollectionitem.cpp:173
ElementCollectionItem * lastItemForPath(const QString &path, QString &no_found_path)
ElementCollectionItem::lastItemForPath Return the last existing item in this ElementCollectionItem hi...
Definition elementcollectionitem.cpp:52
virtual void setUpData()=0
void setUpData(ElementCollectionItem *eci)
Definition elementcollectionitem.cpp:250