20 #ifndef LIBREPCB_EDITOR_LIBRARYMANAGER_H 21 #define LIBREPCB_EDITOR_LIBRARYMANAGER_H 41 class AddLibraryWidget;
42 class LibraryListWidgetItem;
66 void updateOnlineLibraryList() noexcept;
72 void closeEvent(QCloseEvent* event) noexcept
override;
73 void clearLibraryList() noexcept;
74 void updateLibraryList() noexcept;
75 void currentListItemChanged(QListWidgetItem* current,
76 QListWidgetItem* previous) noexcept;
77 void libraryAddedSlot(
const FilePath& libDir) noexcept;
83 void openLibraryEditorTriggered(
const FilePath& libDir);
87 QScopedPointer<Ui::LibraryManager>
mUi;
Definition: occmodel.cpp:77
QWidget * mCurrentWidget
Definition: librarymanager.h:89
FilePath mSelectedLibrary
Definition: librarymanager.h:90
QScopedPointer< AddLibraryWidget > mAddLibraryWidget
Definition: librarymanager.h:88
This class represents absolute, well-formatted paths to files or directories.
Definition: filepath.h:129
QScopedPointer< Ui::LibraryManager > mUi
Definition: librarymanager.h:87
The LibraryManager class.
Definition: librarymanager.h:55
Workspace & mWorkspace
Definition: librarymanager.h:86
The Workspace class represents a workspace with all its data (library, projects, settings, ...)
Definition: workspace.h:54