18#ifndef PANELAPPAREILS_H
19#define PANELAPPAREILS_H
78 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:54
QTreeWidgetItem * updateTemplatesCollectionItem(QTreeWidgetItem *, TitleBlockTemplatesCollection *, PanelOptions=AddAllChild, bool=false) override
GenericPanel::updateTemplatesCollectionItem.
Definition elementspanel.cpp:214
QList< Diagram * > selectedDiagrams() const
ElementsPanel::selectedDiagrams.
Definition elementspanel.cpp:574
void slot_clicked(QTreeWidgetItem *, int)
ElementsPanel::slot_clicked handle click on qtwi.
Definition elementspanel.cpp:316
void filter(const QString &, QET::Filtering=QET::RegularFilter)
Definition elementspanel.cpp:393
void startTitleBlockTemplateDrag(const TitleBlockTemplateLocation &)
Definition elementspanel.cpp:113
~ElementsPanel() override
Definition elementspanel.cpp:91
ElementsPanel(const ElementsPanel &)
QStringList filter_list_
Currently applied list of filter.
Definition elementspanel.h:96
void ensureHierarchyIsVisible(const QList< QTreeWidgetItem * > &)
Definition elementspanel.cpp:489
QString filter_
Currently applied filter.
Definition elementspanel.h:95
bool first_reload_
used to distinguish the first time this panel is reloaded
Definition elementspanel.h:94
bool matchesFilter(const QTreeWidgetItem *, const QString &) const
Definition elementspanel.cpp:253
QTreeWidgetItem * common_tbt_collection_item_
pointer to the item representing the common templates collection
Definition elementspanel.h:91
void projectWasClosed(QETProject *)
Definition elementspanel.cpp:438
void requestForDiagramPropertiesEdition()
QTreeWidgetItem * updateTemplateItem(QTreeWidgetItem *, const TitleBlockTemplateLocation &, PanelOptions, bool=false) override
GenericPanel::updateTemplateItem.
Definition elementspanel.cpp:231
void requestForProject(QETProject *)
void keyPressEvent(QKeyEvent *event) override
ElementsPanel::keyPressEvent.
Definition elementspanel.cpp:539
void slot_doubleClick(QTreeWidgetItem *, int)
ElementsPanel::slot_doubleClick handle double click on qtwi.
Definition elementspanel.cpp:329
QTreeWidgetItem * custom_tbt_collection_item_
pointer to the item representing the user templates collection
Definition elementspanel.h:93
void panelContentChange()
Definition elementspanel.cpp:129
QTreeWidgetItem * company_tbt_collection_item_
pointer to the item representing the company's templates collection
Definition elementspanel.h:92
void buildFilterList()
Definition elementspanel.cpp:449
void requestForProjectPropertiesEdition()
void requestForTitleBlockTemplate(const TitleBlockTemplateLocation &)
QString dirPathForItem(QTreeWidgetItem *)
ElementsPanel::dirPathForItem.
Definition elementspanel.cpp:348
void projectWasOpened(QETProject *)
Definition elementspanel.cpp:428
QString filePathForItem(QTreeWidgetItem *)
ElementsPanel::filePathForItem.
Definition elementspanel.cpp:367
QSet< QETProject * > projects_to_display_
list of projects that have been added to this panel
Definition elementspanel.h:90
void requestForItem(QTreeWidgetItem *)
ElementsPanel::syncTabBars set the project- or diagram Tab corresponding to the selection in the tree...
Definition elementspanel.cpp:514
void reload()
ElementsPanel::reload Reload the elements tree.
Definition elementspanel.cpp:272
QTreeWidgetItem * addProject(QETProject *, QTreeWidgetItem *=nullptr, PanelOptions=AddAllChild) override
ElementsPanel::addProject Methode permettant d'ajouter un projet au panel d'elements.
Definition elementspanel.cpp:147
void applyCurrentFilter(const QList< QTreeWidgetItem * > &)
Definition elementspanel.cpp:465
ElementsPanel(QWidget *=nullptr)
Definition elementspanel.cpp:41
void startDrag(Qt::DropActions) override
Definition elementspanel.cpp:99
bool event(QEvent *) override
GenericPanel::event Handle various events; reimplemented here to emit the signal firstActivated().
Definition genericpanel.cpp:1046
GenericPanel(QWidget *=nullptr)
Definition genericpanel.cpp:33
@ AddAllChild
Definition genericpanel.h:45
Definition qetproject.h:77
Definition templatelocation.h:29
Definition templatescollection.h:35
Definition templatescollection.h:125
Filtering
Definition qet.h:113
@ RegularFilter
Definition qet.h:115