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 (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) noexceptoverride
 

Private Attributes

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

Detailed Description

Constructor & Destructor Documentation

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

Member Function Documentation

const FilePath& getLibraryFilePath ( ) const
inlinenoexcept

+ Here is the caller graph for this function:

QString getName ( ) const
noexcept
bool isRemoteLibrary ( ) const
inlinenoexcept
LibraryListWidgetItem& operator= ( const LibraryListWidgetItem rhs)
delete
void mouseDoubleClickEvent ( QMouseEvent *  e)
overrideprotectednoexcept
void openLibraryEditorTriggered ( const FilePath libDir)
signal

+ Here is the caller graph for this function:

Member Data Documentation

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

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