18 #ifndef PANELAPPAREILS_H 19 #define PANELAPPAREILS_H 71 bool matchesFilter(
const QTreeWidgetItem *,
const QString&)
const;
QStringList filter_list_
Currently applied list of filter.
ElementsPanel(QWidget *=nullptr)
void requestForDiagram(Diagram *)
QTreeWidgetItem * addProject(QETProject *, QTreeWidgetItem *=nullptr, PanelOptions=AddAllChild) override
void slot_doubleClick(QTreeWidgetItem *, int)
QString dirPathForItem(QTreeWidgetItem *)
void startTitleBlockTemplateDrag(const TitleBlockTemplateLocation &)
void projectWasOpened(QETProject *)
bool first_reload_
used to distinguish the first time this panel is reloaded
QTreeWidgetItem * custom_tbt_collection_item_
pointer to the item representing the user templates collection
void filter(const QString &, QET::Filtering=QET::RegularFilter)
void requestForTitleBlockTemplate(const TitleBlockTemplateLocation &)
~ElementsPanel() override
void projectWasClosed(QETProject *)
void ensureHierarchyIsVisible(const QList< QTreeWidgetItem *> &)
void requestForProject(QETProject *)
bool matchesFilter(const QTreeWidgetItem *, const QString &) const
QString filePathForItem(QTreeWidgetItem *)
QTreeWidgetItem * updateTemplateItem(QTreeWidgetItem *, const TitleBlockTemplateLocation &, PanelOptions, bool=false) override
void startDrag(Qt::DropActions) override
void reload(bool=false)
ElementsPanel::reload Reload the elements tree.
void applyCurrentFilter(const QList< QTreeWidgetItem *> &)
QSet< QETProject * > projects_to_display_
list of projects that have been added to this panel
QString filter_
Currently applied filter.
void panelContentChange()
QTreeWidgetItem * common_tbt_collection_item_
pointer to the item representing the common templates collection
QTreeWidgetItem * updateTemplatesCollectionItem(QTreeWidgetItem *, TitleBlockTemplatesCollection *, PanelOptions=AddAllChild, bool=false) override