18#ifndef PANELAPPAREILS_H
19#define PANELAPPAREILS_H
70 bool matchesFilter(
const QTreeWidgetItem *,
const QString&)
const;
The Diagram class This class represents an electric diagram. It manages its various child elements,...
Definition diagram.h:56
Definition elementspanel.h:34
QTreeWidgetItem * updateTemplatesCollectionItem(QTreeWidgetItem *, TitleBlockTemplatesCollection *, PanelOptions=AddAllChild, bool=false) override
GenericPanel::updateTemplatesCollectionItem.
Definition elementspanel.cpp:163
void filter(const QString &, QET::Filtering=QET::RegularFilter)
Definition elementspanel.cpp:332
void startTitleBlockTemplateDrag(const TitleBlockTemplateLocation &)
Definition elementspanel.cpp:100
~ElementsPanel() override
Definition elementspanel.cpp:78
ElementsPanel(const ElementsPanel &)
QStringList filter_list_
Currently applied list of filter.
Definition elementspanel.h:88
void ensureHierarchyIsVisible(const QList< QTreeWidgetItem * > &)
Definition elementspanel.cpp:428
QString filter_
Currently applied filter.
Definition elementspanel.h:87
bool first_reload_
used to distinguish the first time this panel is reloaded
Definition elementspanel.h:86
bool matchesFilter(const QTreeWidgetItem *, const QString &) const
Definition elementspanel.cpp:202
QTreeWidgetItem * common_tbt_collection_item_
pointer to the item representing the common templates collection
Definition elementspanel.h:83
void projectWasClosed(QETProject *)
Definition elementspanel.cpp:377
QTreeWidgetItem * updateTemplateItem(QTreeWidgetItem *, const TitleBlockTemplateLocation &, PanelOptions, bool=false) override
GenericPanel::updateTemplateItem.
Definition elementspanel.cpp:180
void requestForProject(QETProject *)
void slot_doubleClick(QTreeWidgetItem *, int)
Definition elementspanel.cpp:268
QTreeWidgetItem * custom_tbt_collection_item_
pointer to the item representing the user templates collection
Definition elementspanel.h:85
void panelContentChange()
Definition elementspanel.cpp:116
QTreeWidgetItem * company_tbt_collection_item_
pointer to the item representing the company's templates collection
Definition elementspanel.h:84
void buildFilterList()
Definition elementspanel.cpp:388
void requestForTitleBlockTemplate(const TitleBlockTemplateLocation &)
QString dirPathForItem(QTreeWidgetItem *)
ElementsPanel::dirPathForItem.
Definition elementspanel.cpp:287
void projectWasOpened(QETProject *)
Definition elementspanel.cpp:367
QString filePathForItem(QTreeWidgetItem *)
ElementsPanel::filePathForItem.
Definition elementspanel.cpp:306
QSet< QETProject * > projects_to_display_
list of projects that have been added to this panel
Definition elementspanel.h:82
void reload()
ElementsPanel::reload Reload the elements tree.
Definition elementspanel.cpp:221
QTreeWidgetItem * addProject(QETProject *, QTreeWidgetItem *=nullptr, PanelOptions=AddAllChild) override
ElementsPanel::addProject Methode permettant d'ajouter un projet au panel d'elements.
Definition elementspanel.cpp:134
void applyCurrentFilter(const QList< QTreeWidgetItem * > &)
Definition elementspanel.cpp:404
void startDrag(Qt::DropActions) override
Definition elementspanel.cpp:86
The GenericPanel class The generic panel is a QTreeWidget subclass providing extra methods allowing d...
Definition genericpanel.h:36
@ AddAllChild
Definition genericpanel.h:45
Definition qetproject.h:62
Definition templatelocation.h:29
Definition templatescollection.h:35
Definition templatescollection.h:125
Filtering
Definition qet.h:112
@ RegularFilter
Definition qet.h:114