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

The LibraryListEditorWidget class. More...

#include <librarylisteditorwidget.h>

Inherits QWidget.

+ Collaboration diagram for LibraryListEditorWidget:

Signals

void edited ()
 
void libraryAdded (const Uuid &lib)
 
void libraryRemoved (const Uuid &lib)
 

Public Member Functions

 LibraryListEditorWidget ()=delete
 
 LibraryListEditorWidget (const workspace::Workspace &ws, QWidget *parent=nullptr) noexcept
 
 LibraryListEditorWidget (const LibraryListEditorWidget &other)=delete
 
 ~LibraryListEditorWidget () noexcept
 
const QSet< Uuid > & getUuids () const noexcept
 
void setUuids (const QSet< Uuid > &uuids) noexcept
 
LibraryListEditorWidgetoperator= (const LibraryListEditorWidget &rhs)=delete
 

Protected Attributes

const workspace::WorkspacemWorkspace
 
QScopedPointer
< Ui::LibraryListEditorWidget > 
mUi
 
QSet< UuidmUuids
 

Private Member Functions

void btnAddClicked () noexcept
 
void btnRemoveClicked () noexcept
 
void addItem (const Uuid &library) noexcept
 

Detailed Description

The LibraryListEditorWidget class.

Author
ubruhin
Date
2017-02-27

Constructor & Destructor Documentation

LibraryListEditorWidget ( const workspace::Workspace ws,
QWidget *  parent = nullptr 
)
explicitnoexcept

+ Here is the call graph for this function:

~LibraryListEditorWidget ( )
noexcept

Member Function Documentation

const QSet<Uuid>& getUuids ( ) const
inlinenoexcept
void setUuids ( const QSet< Uuid > &  uuids)
noexcept
LibraryListEditorWidget& operator= ( const LibraryListEditorWidget rhs)
delete
void btnAddClicked ( )
privatenoexcept

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void btnRemoveClicked ( )
privatenoexcept

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void addItem ( const Uuid library)
privatenoexcept

+ Here is the caller graph for this function:

void edited ( )
signal

+ Here is the caller graph for this function:

void libraryAdded ( const Uuid lib)
signal

+ Here is the caller graph for this function:

void libraryRemoved ( const Uuid lib)
signal

+ Here is the caller graph for this function:

Member Data Documentation

const workspace::Workspace& mWorkspace
protected
QScopedPointer<Ui::LibraryListEditorWidget> mUi
protected
QSet<Uuid> mUuids
protected

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