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

The LibraryListWidgetItem class. More...

#include <librarylistwidgetitem.h>

Inherits QWidget.

+ Collaboration diagram for LibraryListWidgetItem:

Signals

void openLibraryEditorTriggered (QSharedPointer< Library > lib)
 

Public Member Functions

 LibraryListWidgetItem () noexcept
 
 LibraryListWidgetItem (const LibraryListWidgetItem &other)=delete
 
 LibraryListWidgetItem (workspace::Workspace &ws, QSharedPointer< Library > lib) noexcept
 
 ~LibraryListWidgetItem () noexcept
 
QSharedPointer< LibrarygetLibrary () const noexcept
 
QString getName () const noexcept
 
bool isRemoteLibrary () const noexcept
 
LibraryListWidgetItemoperator= (const LibraryListWidgetItem &rhs)=delete
 

Protected Member Functions

void mouseDoubleClickEvent (QMouseEvent *e) noexceptoverride
 

Private Attributes

QScopedPointer
< Ui::LibraryListWidgetItem > 
mUi
 
workspace::WorkspacemWorkspace
 
QSharedPointer< LibrarymLib
 

Detailed Description

The LibraryListWidgetItem class.

Author
ubruhin
Date
2016-08-03

Constructor & Destructor Documentation

LibraryListWidgetItem ( )
noexcept
LibraryListWidgetItem ( const LibraryListWidgetItem other)
delete
LibraryListWidgetItem ( workspace::Workspace ws,
QSharedPointer< Library lib 
)
noexcept
~LibraryListWidgetItem ( )
noexcept

Member Function Documentation

QSharedPointer<Library> getLibrary ( ) const
inlinenoexcept

+ Here is the caller graph for this function:

QString getName ( ) const
noexcept
bool isRemoteLibrary ( ) const
noexcept
LibraryListWidgetItem& operator= ( const LibraryListWidgetItem rhs)
delete
void mouseDoubleClickEvent ( QMouseEvent *  e)
overrideprotectednoexcept
void openLibraryEditorTriggered ( QSharedPointer< Library lib)
signal

+ Here is the caller graph for this function:

Member Data Documentation

QScopedPointer<Ui::LibraryListWidgetItem> mUi
private
workspace::Workspace& mWorkspace
private
QSharedPointer<Library> mLib
private

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