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