LibrePCB Developers Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
LibraryManager Class Referencefinal

The LibraryManager class. More...

#include <librarymanager.h>

Inherits QMainWindow.

+ Collaboration diagram for LibraryManager:

Signals

void openLibraryEditorTriggered (QSharedPointer< Library > lib)
 

Public Member Functions

 LibraryManager ()=delete
 
 LibraryManager (const LibraryManager &other)=delete
 
 LibraryManager (workspace::Workspace &ws, QWidget *parent=nullptr) noexcept
 
 ~LibraryManager () noexcept
 
void updateRepositoryLibraryList () noexcept
 
LibraryManageroperator= (const LibraryManager &rhs)=delete
 

Private Member Functions

void closeEvent (QCloseEvent *event) noexceptoverride
 
void clearLibraryList () noexcept
 
void loadLibraryList () noexcept
 
void currentListItemChanged (QListWidgetItem *current, QListWidgetItem *previous) noexcept
 
void libraryAddedSlot (const FilePath &libDir, bool select) noexcept
 
void libraryRemovedSlot (const FilePath &libDir) noexcept
 

Static Private Member Functions

static bool widgetsLessThan (const LibraryListWidgetItem *a, const LibraryListWidgetItem *b) noexcept
 

Private Attributes

workspace::WorkspacemWorkspace
 
QScopedPointer
< Ui::LibraryManager > 
mUi
 
QScopedPointer< AddLibraryWidgetmAddLibraryWidget
 
QWidget * mCurrentWidget
 

Detailed Description

The LibraryManager class.

Author
ubruhin
Date
2016-08-03

Constructor & Destructor Documentation

LibraryManager ( )
delete
LibraryManager ( const LibraryManager other)
delete
LibraryManager ( workspace::Workspace ws,
QWidget *  parent = nullptr 
)
noexcept

+ Here is the call graph for this function:

~LibraryManager ( )
noexcept

+ Here is the call graph for this function:

Member Function Documentation

void updateRepositoryLibraryList ( )
noexcept
LibraryManager& operator= ( const LibraryManager rhs)
delete
void closeEvent ( QCloseEvent *  event)
overrideprivatenoexcept
void clearLibraryList ( )
privatenoexcept

+ Here is the caller graph for this function:

void loadLibraryList ( )
privatenoexcept

+ Here is the call graph for this function:

void currentListItemChanged ( QListWidgetItem *  current,
QListWidgetItem *  previous 
)
privatenoexcept

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void libraryAddedSlot ( const FilePath libDir,
bool  select 
)
privatenoexcept

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void libraryRemovedSlot ( const FilePath libDir)
privatenoexcept

+ Here is the caller graph for this function:

bool widgetsLessThan ( const LibraryListWidgetItem a,
const LibraryListWidgetItem b 
)
staticprivatenoexcept

+ Here is the caller graph for this function:

void openLibraryEditorTriggered ( QSharedPointer< Library lib)
signal

+ Here is the caller graph for this function:

Member Data Documentation

workspace::Workspace& mWorkspace
private
QScopedPointer<Ui::LibraryManager> mUi
private
QScopedPointer<AddLibraryWidget> mAddLibraryWidget
private
QWidget* mCurrentWidget
private

The documentation for this class was generated from the following files: