20#ifndef LIBREPCB_EDITOR_LIBRARYOVERVIEWWIDGET_H
21#define LIBREPCB_EDITOR_LIBRARYOVERVIEWWIDGET_H
26#include "../editorwidgetbase.h"
42class LibraryListEditorWidget;
45class LibraryOverviewWidget;
69 QWidget* parent =
nullptr);
77 void setFilter(const QString& filter) noexcept;
83 bool save() noexcept override;
84 bool remove() noexcept override;
113 template <
typename MessageType>
115 template <
typename MessageType>
116 bool fixMsgHelper(std::shared_ptr<const RuleCheckMessage> msg,
bool applyFix);
118 bool applyFix)
override;
120 bool approve)
noexcept override;
122 template <typename ElementType>
125 const QList<QListWidgetItem*>& items) const noexcept;
128 void newItem(QListWidget* list) noexcept;
132 const QHash<QListWidgetItem*,
FilePath>& selectedItemPaths) noexcept;
134 const QHash<QListWidgetItem*,
FilePath>& selectedItemPaths,
135 const
FilePath& libFp, const QString& libName) noexcept;
This class represents absolute, well-formatted paths to files or directories.
Definition filepath.h:127
The Library class represents a library directory.
Definition library.h:46
Definition occmodel.cpp:76
QVector< std::shared_ptr< const RuleCheckMessage > > RuleCheckMessageList
Definition rulecheckmessage.h:104
Definition editorwidgetbase.h:67