20 #ifndef LIBREPCB_LIBRARY_EDITOR_COMPONENTCATEGORYEDITORWIDGET_H
21 #define LIBREPCB_LIBRARY_EDITOR_COMPONENTCATEGORYEDITORWIDGET_H
26 #include "../common/editorwidgetbase.h"
29 #include <optional/tl/optional.hpp>
40 class ComponentCategory;
45 class ComponentCategoryEditorWidget;
64 QWidget* parent =
nullptr);
72 bool save() noexcept
override;
79 template <
typename MessageType>
80 void fixMsg(
const MessageType& msg);
81 template <
typename MessageType>
82 bool fixMsgHelper(std::shared_ptr<const LibraryElementCheckMessage> msg,
85 std::shared_ptr<const LibraryElementCheckMessage> msg,
86 bool applyFix)
override;
105 #endif // LIBREPCB_LIBRARY_EDITOR_COMPONENTCATEGORYEDITORWIDGET_H
QVector< std::shared_ptr< const LibraryElementCheckMessage > > LibraryElementCheckMessageList
Definition: libraryelementcheckmessage.h:96
The ComponentCategory class.
Definition: componentcategory.h:43
This class represents absolute, well-formatted paths to files or directories.
Definition: filepath.h:127
Definition: editorwidgetbase.h:69
The Uuid class is a replacement for QUuid to get UUID strings without {} braces.
Definition: uuid.h:58