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