LibrePCB Developers Documentation
LibraryListWidgetItem Class Referencefinal

The LibraryListWidgetItem class. More...

#include <librarylistwidgetitem.h>

Inherits QWidget.

+ Collaboration diagram for LibraryListWidgetItem:

Signals

void openLibraryEditorTriggered (const FilePath &libDir)
 

Public Member Functions

 LibraryListWidgetItem () noexcept
 
 LibraryListWidgetItem (const LibraryListWidgetItem &other)=delete
 
 LibraryListWidgetItem (workspace::Workspace &ws, const FilePath &libDir, const QString &name="", const QString &description="", const QPixmap &icon=QPixmap()) noexcept
 
 ~LibraryListWidgetItem () noexcept
 
const FilePathgetLibraryFilePath () const noexcept
 
QString getName () const noexcept
 
bool isRemoteLibrary () const noexcept
 
LibraryListWidgetItemoperator= (const LibraryListWidgetItem &rhs)=delete
 

Protected Member Functions

void mouseDoubleClickEvent (QMouseEvent *e) noexcept override
 

Private Attributes

QScopedPointer< Ui::LibraryListWidgetItem > mUi
 
FilePath mLibDir
 
bool mIsRemoteLibrary
 

Detailed Description

Constructor & Destructor Documentation

◆ LibraryListWidgetItem() [1/3]

LibraryListWidgetItem ( )
noexcept

◆ LibraryListWidgetItem() [2/3]

LibraryListWidgetItem ( const LibraryListWidgetItem other)
delete

◆ LibraryListWidgetItem() [3/3]

LibraryListWidgetItem ( workspace::Workspace ws,
const FilePath libDir,
const QString &  name = "",
const QString &  description = "",
const QPixmap &  icon = QPixmap() 
)
noexcept

◆ ~LibraryListWidgetItem()

~LibraryListWidgetItem ( )
noexcept

Member Function Documentation

◆ getLibraryFilePath()

const FilePath& getLibraryFilePath ( ) const
inlinenoexcept
+ Here is the caller graph for this function:

◆ getName()

QString getName ( ) const
noexcept

◆ isRemoteLibrary()

bool isRemoteLibrary ( ) const
inlinenoexcept

◆ operator=()

LibraryListWidgetItem& operator= ( const LibraryListWidgetItem rhs)
delete

◆ mouseDoubleClickEvent()

void mouseDoubleClickEvent ( QMouseEvent *  e)
overrideprotectednoexcept
+ Here is the call graph for this function:

◆ openLibraryEditorTriggered

void openLibraryEditorTriggered ( const FilePath libDir)
signal
+ Here is the caller graph for this function:

Member Data Documentation

◆ mUi

QScopedPointer<Ui::LibraryListWidgetItem> mUi
private

◆ mLibDir

FilePath mLibDir
private

◆ mIsRemoteLibrary

bool mIsRemoteLibrary
private

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